UART debug messages are not working?

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

cross mob
lock attach
Attachments are accessible only for community members.
SaLa_1789541
Level 3
Level 3
5 likes given First like given

Hi Everyone,

I have made a uvc project by taking reference from AN5779 example, my project is not working and there is no output in vlc. i want to check where is the problem so i have put debug messages in the routines but i am not getting debug messages in terminal. I have initialised and configured the UART and i am using from gpio 0 to 15 for input. Can you please tell me why i am not getting debug messages?

Thanks

0 Likes
1 Solution

Hello,

The UART pins on the SuperSpeed explorer kit are present on GPIO[53:56]. This gets enabled when GPIF II interface is configured for 32 bits or when the GPIF II interface is configured for 16 bit with the LPP mode set as UART_ONLY. This can be found in the Pin Descriptions section of the FX3 datasheet.

Kindly, modify the IO configuration matrix as below:

io_cfg.isDQ32Bit = CyFalse;

io_cfg.lppMode  = CY_U3P_IO_MATRIX_LPP_UART_ONLY;

or

io_cfg.isDQ32Bit = CyTrue;

io_cfg.lppMode  = CY_U3P_IO_MATRIX_LPP_DEFAULT;

Best regards,

Srinath S

View solution in original post

8 Replies
SrinathS_16
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

Hello,

- Please let know the connections of the FX3 UART pins on your hardware setup.

- Also, please share the entire project file along with the state machine.

Best regards,

Srinath S

0 Likes

I am using gpio from 0 to 15 and one pin for DE signal and one for PCLK

i am using default uart init function to initialize

0 Likes

Hello,

Please let know which pin of FX3 is connected to the UART interface.

Best regards,

Srinath S

0 Likes

i am using fx3's built in usb mini port for serial debugging, i have not configured any other pin for uart.

0 Likes

Hello,

Are you using the SuperSpeed Explorer Kit from Cypress?

Best regards,

Srinath S

0 Likes

yes i am using super speed kit

0 Likes

Hello,

The UART pins on the SuperSpeed explorer kit are present on GPIO[53:56]. This gets enabled when GPIF II interface is configured for 32 bits or when the GPIF II interface is configured for 16 bit with the LPP mode set as UART_ONLY. This can be found in the Pin Descriptions section of the FX3 datasheet.

Kindly, modify the IO configuration matrix as below:

io_cfg.isDQ32Bit = CyFalse;

io_cfg.lppMode  = CY_U3P_IO_MATRIX_LPP_UART_ONLY;

or

io_cfg.isDQ32Bit = CyTrue;

io_cfg.lppMode  = CY_U3P_IO_MATRIX_LPP_DEFAULT;

Best regards,

Srinath S

I did the changes and it solved uart problem

thanks

0 Likes