You are here

Is there an event "USB-transfer completed"? | Cypress Semiconductor

Is there an event "USB-transfer completed"?

Summary: 1 Reply, Latest post by dreitz on 07 Jun 2012 04:20 PM PDT
Verified Answers: 0
Last post
Log in to post new comments.
RobK's picture
81 posts


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?


Best regards,



dreitz's picture
70 posts

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.

Log in to post new comments.