5 Replies Latest reply on Jul 14, 2020 11:57 PM by JayakrishnaT_76

    FX3 start and stop streaming and DMA operation




      My application is non-uvc and I'm based on the FW from this post:

      FX3 non-uvc camera streamer


      I'm using Cypress's streamer as a test tool.. and sending vendor commands with USB Control Center - 0x99 to start steam and 0x88 to stop it.

      Everything works great during streaming.. but when I stop and start again I get commit failures..

      It looks like it fails to execute CyU3PDmaMultiChannelCommitBuffer (chHandle, (dmaBuffer.count + CY_FX_UVC_MAX_HEADER), 0);

      But why? Do I need to reset somehow the DMA components?

      How should I manage the start/stop mechanism properly?