in my FX3-firmware I set up the DMA-channels at USB-side to use external DMA-buffers. This works fine so far!
Now I'm looking for a possibility to get signaled new USB-transfers arriving in FX3 while my firmware is handling the data of one received DMA-buffer. The dma-callback doesn't help here since it's only possible to let it raise in case of the event CY_U3P_DMA_CB_RECV_CPLT which occurres only if a DMA-buffer is received by firmware calling CyU3PDmaChannelWaitForRecvBuffer().
Has anybody an idea how can I catch completed USB-transfers in the FX3-firmware?
It depends on the DMA mode. If you use auto with signalling, you do not have to move buffers, but you will be notified in a callback of the event.
I use manual DMA mode and the CY_USB_DMA_CB_PROD_EVENT and CY_USB_DMA_CB_CONS_EVENT (depending on the direction of the data) events in the callbacks.