1 of 1 people found this helpful
To implement this, I would advice you to refer two examples:
1) To implement the button press interrupt:
Please refer Gpioapp example code in "C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\firmware\serialif_examples\cyfxgpioapp"
2) To manually send your data to USB Serial port: You need to create a Manual Out DMA Channel between CPU (producer) and UART (consumer)
To create a manual out channel, please refer the C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\firmware\dma_examples\cyfxbulklpmaninout code.