The attached FX3 SlaveFifosync project has COM Port interface also.
search for the text "mady" across the project files to see the places where changes have been made to the original slavefifosync project.
Hey thanks for the needed info.
I have a doubt.. If i need to send debug print from FX3 can i use this COM interface..The port is listed as /dev/ttyACM0. May sound pretty dumb but im just learning.
This is actually a good question.
Yes, you can send Debug messages using this COM Port interface, But in the firmware you cannot use CyU3PDebugPrint API for sending the Debug Print.
In this COM Port interface, two DMA Channel are created. (i) From USB to UART Interface (ii) From UART to USB Interface
Now if you want to send the Debug Message (which the CPU sends), you shoould reset the UART to USB Channel using CyU3PDmaChannelReset API, and now fill the debug data in a buffer and send this custom buffer over the channel (ii) using CyU3PDmaChannelSetupSendBuffer API. This API is used for sending custom data over any DMA Channel, by intervening its transfer and imposing our own data.
- Madhu Sudhan
The firmware has an invalid configuration descriptor. Have you had a chance to fix it?