FX3: Debug Serial Tracing When UART Is Occupied

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi there,

We want to get a serial logging stream from the FX3 for use with CyU3PDebugPrint(), but in our device we're already using the UART for other purposes.   We'd prefer not to use a USB debugging stream for this (as in the USBDebug example) because it will affect USB traffic patterns for our high bandwidth application.

So we're wondering is there another way without external hardware to get a serial debugging stream from the FX3?  Any way to repurpose GPIO pins into a second UART and redirect output there?

Other ideas appreciated.

Thank you,

pv

0 Likes
1 Solution
SrinathS_16
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

Hello Pv,

You can use any of the hardware blocks of FX3 for debugging using the CyU3PDebugPrint() API. Please refer to the DualConsoleExample project that comes with the FX3 SuperSpeed Explorer Kit Design Examples​. This project implements debugging over the I2C interface.

Kindly, let me know if this would suit your application.

Best regards,

Srinath S

View solution in original post

0 Likes
1 Reply