cancel
Showing results for 
Search instead for 
Did you mean: 

USB Superspeed Peripherals

New Contributor II

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
Reply
1 Solution
Moderator
Moderator

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
Moderator
Moderator

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
Reply
New Contributor II

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
Reply
Moderator
Moderator

Hello,

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

Best regards,

Srinath S

0 Likes
Reply
New Contributor II

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

0 Likes
Reply
Moderator
Moderator

Hello,

Are you using the SuperSpeed Explorer Kit from Cypress?

Best regards,

Srinath S

0 Likes
Reply
New Contributor II

yes i am using super speed kit

0 Likes
Reply
Moderator
Moderator

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

New Contributor II

I did the changes and it solved uart problem

thanks

0 Likes
Reply