All Forums
Browse the Community
USB
Universal Serial Bus (USB) forums have discussions regarding Low-Full & High Speed Peripherals, Superspeed Peripherals, USB Hosts Hubs Transceivers, and USB EZ-PD Type C product solutions for PCs and consumer device topics.
Wireless Connectivity
Power
Sensors
Memories
Memory Discussion Forums discussions regarding NOR Flash, SRAM, nvSRAM and F-RAM - performance and reliability with discrete memory densities ranging from 4K-bit to 2G-bit topics.
Other Technologies
Discussion forum regarding Other Technologies including Power Management and Clocks topics.
Security & Smart Card
Radio Frequency (RF)
Software
Software including ModusToolbox, PSoC Creator, WICED Studios and Wi-Fi Bluetooth for Linux .
Applications
Battery Management ICs
Infineon's TLE9012DQU is a multi channel battery monitoring and balancing IC for various lithium-ion battery applications, with integral functions like voltage and temperature measurement, cell balancing, and isolated communication with the main battery controller, including self-diagnosis features. The TLE9015DQU iso UART Transceiver IC is used in battery systems for enabling the communication between the main microcontroller and multiple TLE9012DQU units in a daisy-chain configuration. This forum welcomes discussions, queries, and insights on battery management systems and devices.
Featured Discussions
text.format{('custom.tabs.no.results')}
I see that my device wakes up from sleep before the WDT interrupt.
how can i determine the source of the interrupt that caused the wakeup?
I used CyBle_Stop(); before entering sleep. So i guess it is not BLE, or can psoc fail enetering sleep even if BLE has stopped?
thanks.
Show LessAN54908 calculation shows 65nm having a lower LSBU factor. In past experience smaller die have greater error. Are there improvements that accounts for the lower LSBU in the 65nm versus 90nm?
Show LessDear all I'm using CY15B104Q memory controlled using a pearl gecko and I have noticed that in order to properly write the info on the memory some times I have to retry the procedure many times.
The SPI driver is configured in mode 0 and the clock frequency of the processor is set @38 MHz and the clock speed of the SPI is set @5MHz.
This is the code of the function that I use to write the data on to the F-RAM:
int SHM_FRAM_WriteData(SPIDRV_Handle_t handle, uint32_t addr,uint16_t data)
{
uint8_t bufferTx[10] = {};
bufferTx[0] = FRAM_WREN;
SHM_Config_FRAM_SPI_CS_Enable(false);
SPIDRV_MTransmitB(handle,bufferTx,1);
SHM_Config_FRAM_SPI_CS_Enable(true);
bufferTx[0]= FRAM_WRITE;
bufferTx[1]=(addr&0x00070000)>>16;
bufferTx[2]=(addr&0x0000FF00)>>8;
bufferTx[3]=(addr&0x000000FF);
bufferTx[4]=(data&0xFF00)>>8;
bufferTx[5]=(data&0x00FF);
SHM_Config_FRAM_SPI_CS_Enable(false);
SPIDRV_MTransmitB(handle, bufferTx,6);
SHM_Config_FRAM_SPI_CS_Enable(true);
return 0;
}
Using this function if i try to read back immediately the data written what I read is different so in order to avoid this I have implemented a function that force the write operation until when I read back the data I got what I have wrote previously.
This is the code of the function:
int SHM_FRAM_WWriteData(SPIDRV_Handle_t handle, uint32_t addr,uint16_t data)
{
uint16_t rData;
SHM_FRAM_WriteData(handle,addr,data);
SHM_FRAM_ReadData(handle,addr,&rData);
while(data!=rData)
{
SHM_FRAM_WriteData(handle,addr,data);
SHM_FRAM_ReadData(handle,addr,&rData);
}
return 0;
}
With the SPI @5MHz I have measured that the 70% of the write attempt fail at first instance and the situation get worst if I try to increase the speed of the SPI.
Any suggestion on the possible cause of this behavior?
Show LessHello everyone,
I have a project where it is nessesary to know the start-up time. Meant is the time between connection to a power supply and reaching the main loop in active mode.
Does any body know how long this takes?
Try to avoid the super cap.
Thanks and best regards
Philipp
Show LessHi I am a newbie and wanted to understand if it is possible to advertise the data on some value change to the bonded device.
I am creating the android app which connects to my ble device and pairs it. Now on some button press on the device, I want it to be notified to the mobile app. As far as I understand, once the device is paired and bonded, its not possible to advertise the data from the ble device.
How should i handle this scenario?
Appreciate the help. e.pratt_1639216
Show LessGood morning, could someone pass me the CE test report for the BCM20736S (CYW20736S) updated to the new RED directive? (I have the old CE test report but that include the old R&TTE directive, that is obsolete now).
Last year I spoke with someone in Broadcom that told me CE test report would be updated on july 2016.
Can someone give it to me please?
Thank you so much.
Show LessHi,
I am trying to use CARKIT interface of FX3s. There are some example
codes in "001-76074_EZ-USB_FX3_Technical_Reference_Manual.pdf"
as given below.
/* Enable the USB PHY connections. */
GCTLAON->control &= ~CY_U3P_GCTL_ANALOG_SWITCH;
/* Enable and set the EPM clock to bus clock (100MHz). */
GCTL->uib_core_clk = (CY_U3P_GCTL_UIBCLK_CLK_EN | CY_U3P_GCTL_UIB_CORE_CLK_DEFAULT);
GCTLAON->control |= CY_U3P_GCTL_USB_POWER_EN;
CyU3PBusyWait (100);
CyU3PUsbPowerOn ();
UIB->otg_ctrl = CY_U3P_UIB_OTG_CTRL_DEFAULT;
GCTL->iomatrix |= CY_U3P_CARKIT;
UIB->chgdet_ctrl = CY_U3P_UIB_CARKIT;
But where those definitions such as "CY_U3P_GCTL_ANALOG_SWITCH" are given?
I searched in Linux files but could not find anything.
Can you please share the whole project? I will also appreciate an example code to set
FX3S in CARKIT mode using CTL11 and CTL12 pins.
Thank you.
Cengiz
Show LessI would like to use a multiplexed bus to communicate with an FPGA.
Thanks! Show Less
I have constant array: const uint8_t test[10] = {1,2,3,4,5,6,7,8,9,10}.
If I changed only one number inside the array, for example: const uint8_t test[10] = {1,2,3,4,5,6,7,8,9,11}, hex file changes on two positions:
Project type is Bootloader Project. I find out that this is the reason why hex file has changed on two different places. Looks like that the "second place" is bootloader "checksum".
I couldn't find any info about "bootloader checksum", is it possible to get any details about it (checksum calculation, location in hex file...)?
Regards,
Tomi
Show LessI am developing a project with CY8CKIT-059. This project required to run up to 1 year.
I try to put the microcontroller into Sleep mode to reduce current consumption but until now, there is no luck.
When I put the CY8CKIT-059 into Sleep mode, the current I measured is always around 1mA.
However, the datasheet stated that the IC can consume only several uA during Sleep mode.
I try to slow down the CPU clock speed as well as turn off all other components, but the whole kit still takes 1mA of current.
Any idea how to get that mysterious value of several uA?
Show Less-
TraveoII
UART buadrate Setting
by chandan1995 Jun 19, 2023