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
Dear Forum:
I know that
The Hex file generated by the Modus Tool box IDE follows the Intel Hex File format which is supported by the Cypress Programmer.
from the following title.
https://community.infineon.com/t5/PSoC-6/PSoC-programmer-parsing-failure/td-p/716946
I want to confirm that
Which IDE can generate hex file used by PSoC programmer?
Thank you.
Show LessHello,
I want to read the 1YN Bluetooth transmit power and write to it. How can I do this with the `hcitool`?
I'm using CYW4343A2_001.003.016.0031.0000.1YN.hcd firmware.
As far as I know CYW43439 has a maximum TX power of 8dB. If so is the following output wrong?
# hcitool -i hci0 cmd 0x08 0x004b
LE Read Transmit Power (0x08|0x004b) ncmd 1
Status: Success (0x00)
Min Tx power: -16 dBm
Max Tx power: 12 dBm
Thanks for all the help,
Mesih
Show LessHi All,
I have a question related to SCR_XRam and SCR_IRam.
The question: How to know whether the SCR_XRam and SCR_IRam are initialized or are not initialized in startup code?
Thanks.
Show LessFrom a linux system, I want to read back the configured program image from a CYC65215 part and check that its CRC is correct -- assuming it has an appended CRC. Does the image have a CRC? Is the CRC generated using a known algorithm with a standard polynomial? If so, which polynomial?
Show LessAre there available instructions or guidance on connecting the BGT60TR13C development kit to a jetson orin nano? Or a way to compile the sdk for the jetson? Following the "Building SDK from source code" in the RFS SDK Documentation in the radar_sdk didn't work for compile or install using python wheel.
Show LessHi
I am building a BLE remote controller. It should respond to user entry and send a command via BLE to the receiver, both are PSOc6.
What is the best practice to reduce power consumption ?
I read the PSoC design documents for low power, but there is still some confusion. The options are to put in deep sleep either CM0+ and/or CM4 until a user entry is detected using GPIO ISR, then it wakes up to resume the connection and send the BLE packet.
What is the best practice ?
Thanks
Show Less
Hello. I have an IRQ for my serial device that looks similar this:
CY_ISR(uart_isr) {
if (h_UART_CHECK_INTR_RX_MASKED(h_UART_INTR_RX_NOT_EMPTY))
{
uint32_t data = h_UART_UartGetByte();
uint8_t byte = data & 0xFF;
// Ignore any errors.
if ((data & 0xFFFFFF00) != 0) {
return;
}
queue_data(&queue, byte);
h_UART_ClearRxInterruptSource(h_UART_INTR_RX_NOT_EMPTY);
}
}
But I get an issue where I will occasionally get an underflow error. Which is to say on the `((data & 0xFFFFFF00) != 0` will be true. It is not a framing or parity error, but the underflow error. But I don't understand how that could happen since I am specifically checking for the FIFO not being empty. Alright, so I made an alternative.
CY_ISR(uart_isr) {
if (h_UART_CHECK_INTR_RX_MASKED(h_UART_INTR_RX_NOT_EMPTY))
{
for (uint32_t count = h_UART_SpiUartGetRxBufferSize; count > 0; count--) {
uint32_t data = h_UART_UartGetByte();
uint8_t byte = data & 0xFF;
// Skip errors
if ((data & 0xFFFFFF00) != 0) {
continue;
}
queue_data(&queue, byte);
}
h_UART_ClearRxInterruptSource(h_UART_INTR_RX_NOT_EMPTY);
}
}
And this ends up being even worse somehow. Count will be a positive number, but then it will skip each byte received.
Basically what I'm asking if, how can it be possible for
h_UART_CHECK_INTR_RX_MASKED(h_UART_INTR_RX_NOT_EMPTY)
to be true, but then there be an underflow error in the byte read? I did a test and every error it received was an underflow. If I inspect the values that get received upon this underflow, some are actual data sent (aka not an underflow) and some are just junk.
This has been a thorn in my side for months but so far my solution has been "about one in fifty messages fail for some reason," but that is getting old.
Show LessI'm trying to understand the USB setup. I have a board that has a USB connector connected to the DP and DM pins on the PSOC5. I copied the code from the USBFS example and it runs, but hangs when trying to check the configuration. That appears to be because the Windows 10 computer does not recognize the USB device. It shows up in device manager under "Universal Serial Bus controllers", as "Unknown USB device (Device Descriptor Request Failed)". I am not sure if this is a hardware or software issue. The various documents seem to indicate that I have to find and install a special Windows device driver for the USBFS. I followed the instructions to install it but when I selected the .inf file, I got a message that a compatible file was not found. (That was when trying to install the driver from the unknown USB device entry in device manager.)
In general, why should I need a special device driver? I want to produce a product that creates a com port for anyone who installs it into windows. Why won't the Ftdi drivers work? Is there any path to making them work?
But, from reading, I am not at all sure that this is a driver problem.
Help please.
Thanks Russ
Show Less-
TraveoII
UART buadrate Setting
by chandan1995 Jun 19, 2023