- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please let know which pin of FX3 is connected to the UART interface.
Best regards,
Srinath S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i am using fx3's built in usb mini port for serial debugging, i have not configured any other pin for uart.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Are you using the SuperSpeed Explorer Kit from Cypress?
Best regards,
Srinath S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yes i am using super speed kit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I did the changes and it solved uart problem
thanks