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
Hello dear infineon frends,
I currently have a problem with the Tricore from Infineon. The controller is currently being used in series production. Some controllers do not start after a reset. When I connect to the debugger/JTAG and execute the debug software reset, the application starts normally. If I do a hardware reset, the controller hangs.
I have compared working controller with the faulty controller. Working controller starts after "Idle mode" → "Normal mode". Faulty controller starts after "Idle mode" → "Sleep mode". Can you perhaps give me a tip on what I should look for? What is the reason for this problem?
Many thanks in advance
Greetings
Alexander
Dear Mr\Mrs,
I tried to create a project starting of Modustoolbox for IAR embedded. Compiling is failing with this issue:
"Error[Li005]: no definition for "__iar_Initlocks" [referenced from C:\Users\emanuelebelpanno\mtw\Empty_PSoC4_App\Debug\Obj\TOOLCHAIN_IAR_13573725619442129044.dir\cy_clib_support_iar.o]"
I've tried to look for this function and it isn't present in the project. How Cam I solve this issue?
I'm using Windows 10, IAR embedded ARM 9.50.2.
Kind Regards,
EB
Show LessHello, I'm trying to achieve a simple direct GPIF to USB data transfer with a CYUSB3KIT-003. I started with the GpifToUSB example that can be found in C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\firmware\basic_examples\cyfxgpiftousb and that is mentioned in AN86947 Optimizing USB 3.0 Throughput with EZ-USB® FX3™
The problem is/was that I lose data when the DMA buffer switches. I learned that the solution to this is to implement two or more threads and switch between those. A modified GpifToUSB example implementing exactly that can be found in https://community.infineon.com/t5/USB-superspeed-peripherals/EZ-USB-FX3-Explorer-kit-as-16-channel-logic-analyzers-gt-dropped-samples-after/m-p/635888#M35636
I used the source code there and slightly changed it to use an external clock.
Unfortunately it does not solve my problem, I still lose data every ~16 KB (which is the configured DMA buffer size).
I've attached my source code. It's mostly the example from the forum post above, changed to an external clock.
Also, I'm not quite sure what the reasoning behind the size of the counter in the state machine is. Why is it 1/4th of the DMA buffer size and not 1/2?
Any help would be greatly appreciated!
Here's the UART debug log, from the point where I flash the .img into RAM. Afterwards I shortly start and stop a data transfer using the CollectData.exe from CYUSB3KIT\SuperSpeed Design Examples V1.2.1\PC Utilities\
debug initialized
Prod:0 , Cons:0
USB event: 11 0
About to connect to USB host
USB event: 0 1
CY_U3P_USB_EVENT_CONNECT detected
CyFxApplnInit complete
USB event: 8 0
USB event: 5 1
Using GPIF:cyfxgpif2config
Prod:6 , Cons:0
Prod:2 , Cons:0
Vendor Command Received: 0xA0
Vendor Command Received: 0xA0
Vendor Command Received: 0xA0
Vendor Command Received: 0xB5
Prod:2 , Cons:0
Prod:2 , Cons:0
Prod:2 , Cons:0
Prod:2 , Cons:0
Prod:2 , Cons:0
Prod:1 , Cons:0
Prod:2 , Cons:0
Prod:2 , Cons:0
Prod:1 , Cons:0
Prod:1 , Cons:0
Prod:2 , Cons:0
Prod:1 , Cons:0
Prod:2 , Cons:0
Prod:2 , Cons:0
Prod:1 , Cons:0
Prod:1 , Cons:0
...
[shortened]
...
Prod:2 , Cons:0
Prod:2 , Cons:0
Prod:1 , Cons:0
Prod:1 , Cons:0
Prod:2 , Cons:0
Prod:2 , Cons:0
Prod:2 , Cons:0
Prod:2 , Cons:0
Prod:2 , Cons:0
Prod:2 , Cons:0
Prod:1 , Cons:0
Vendor Command Received: 0xB5
Prod:1 , Cons:0
Prod:2 , Cons:0
Prod:2 , Cons:0
Prod:1 , Cons:0
Prod:1 , Cons:0
Prod:2 , Cons:0
Here is my state machine:
Edit: I've attached a binary file of about 130 KB of transferred data. It can be easily viewed in a hex editor for example. The transferred data is a 7 bit monotonically rising number. On addresses 0x4000, 0x8000, 0xC000, ... (multiples of 16384 bytes, the configured DMA buffer size) you can see data loss. For convenience I also added a screenshot showing the loss:
And here is a trace of the incoming data (non-shown lines are kept at logic low). I've marked a random sampling edge to show that data is sampled on the rising edge:
Show Less
Hello Infineon Community,
We are unable to identify the MAC-ID of Infineon Aurix Tc397xx having transceiver ID as RTL8211F with connected RJ45 cable controller to the Canoe for my project activities.
Please help in this regard how to connect the MAC-ID of the specific chi set to Canoe
Thanks in advance
Show LessHello, I would like to know what are TSN standards does the Aurix TC399 microcontroller supports?
Hello,
We are currently working with the BGT60LTR11AIPE6327XUMA2,
We'd like to know if there's some high-level driver or some code examples that can help us to program this component
Best Regards,
Show Less
I have installed ModusToolbox 3.2 and wanted to create my first application using the USB on a XMC4500.
But I did not get far as the USB (device or host) is not in the list of peripherials. Why does Infineon not support the USB?
Does anyone have a working USB example for the XMC4500? I have tried using the USB driver supplied in the ARM/Keil µVision pack, but that does not work correctly and after 6 months the Infineon support has given up and closed my support case.
Can anyone help?
Show LessI would like to build the MOSFET's two-resistance model for thermal simulation. Basically, we need the power dispation,Theta JC, Theta-JB.
1. How could we understand the thermal resistance under Q1, Q2? For thermal simulation, could we use the bigger data for worst case consideration?
2. For the mentioned "junction-case" in your file, does the "case" mean the top case (away the board )or bottom case(near the board)?
3. We need thermal resistance for both junction-case and junction- board. Could you help provide it?
4. For the power data, there are two datas in your file based on different PCB design. Does it mean that the better PCB thermal design, the lower power dispation?
Show Less
In the end, the target array is still all zeros
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/TRAVEO-T2G/cyt4fbb7-%E4%BD%BF%E7%94%A8mdma%E5%A4%8D%E5%88%B6%E6%95%B0%E7%BB%84%E6%B2%A1%E6%9C%89%E6%88%90%E5%8A%9F%E6%98%AF%E4%B8%BA%E4%BB%80%E4%B9%88/td-p/724114
Show LessI am currently trying to get the openocd debugger to work on windows 11 on the superspeed explorer devkit, and i've followed what the guide showed, but i'm getting some halt related errors:
```log
Open On-Chip Debugger 0.8.0 (2014-12-03-15:43)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.sourceforge.net/doc/doxygen/bugs.html
Warn : Adapter driver 'cy7c65215' did not declare which transports it allows; assuming legacy JTAG-only
Info : only one transport option; autoselect 'jtag'
adapter_nsrst_delay: 200
jtag_ntrst_delay: 200
adapter speed: 1000 kHz
trst_and_srst srst_pulls_trst srst_gates_jtag trst_push_pull srst_open_drain connect_deassert_srst
RCLK - adaptive
adapter speed: 1000 kHz
Error: CyGetDeviceInfo failed
Info : clock speed 1000 kHz
Error: CyJTAGRead returned: 6
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: JTAG scan chain interrogation failed: all ones
Error: Check JTAG interface, timings, target power, etc.
Error: Trying to use configured scan chain anyway...
Error: CyJTAGRead returned: 11
Error: fx3.cpu: IR capture error; saw 0x0f not 0x01
Error: CyJTAGRead returned: 11
Warn : Bypassing JTAG setup events due to errors
Error: CyJTAGRead returned: 11
Info : Embedded ICE version 0
Error: unknown EmbeddedICE version (comms ctrl: 0x00000000)
Info : fx3.cpu: hardware has 2 breakpoint/watchpoint units
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Info : accepting 'gdb' connection from 3333
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
undefined debug reason 7 - target needs reset
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: Target not halted
Error: Target not halted
Error: Target not halted
Error: Target not halted
Error: Target not halted
Error: Target not halted
Error: Target not halted
Error: Target not halted
Error: Target not halted
Error: Target not halted
Error: Target not halted
Error: Target not halted
Error: Target not halted
Error: Target not halted
Error: Target not halted
Error: Target not halted
Error: Target not halted
Error: CyJTAGRead returned: 11
Warn : target not halted
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: JTAG scan chain interrogation failed: all ones
Error: Check JTAG interface, timings, target power, etc.
Error: Trying to use configured scan chain anyway...
Error: CyJTAGRead returned: 11
Error: fx3.cpu: IR capture error; saw 0x0f not 0x01
Error: CyJTAGRead returned: 11
Warn : Bypassing JTAG setup events due to errors
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Warn : srst pulls trst - can not reset into halted mode. Issuing halt after reset.
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: timed out while waiting for target halted
TARGET: fx3.cpu - Not halted
in procedure 'reset'
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Info : Halt timed out, wake up GDB.
Error: CyJTAGRead returned: 11
Error: timed out while waiting for target halted
in procedure 'halt'
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Warn : target not halted
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
Error: CyJTAGRead returned: 11
```
it never goes into my breakpoints (which are on the main function) and terminates the process.
My config:
The required devices are indeed visible in the usb control center:
Any idea on what i might've missed? I've followed this guide:
https://www.infineon.com/dgdl/Infineon-SuperSpeed_Explorer_Kit_User_Guide-UserManual-v01_00-EN.pdf
-
TraveoII
UART buadrate Setting
by chandan1995 Jun 19, 2023