1 Reply Latest reply on May 17, 2016 9:21 PM by Madhu Lakshmipathy

    CyU3PDmaChannelGetBuffer () function returns the error 69 at super speed

    content.librarian

      Below code works well at High speed, but return error 69 at super speed:

         

         dmaCfg1.size = 64;
         dmaCfg1.count = 2;
         dmaCfg1.prodSckId = CY_U3P_CPU_SOCKET_PROD;
         dmaCfg1.consSckId = CY_U3P_UIB_SOCKET_CONS_5;
         dmaCfg1.dmaMode = CY_U3P_DMA_MODE_BYTE;
         dmaCfg1.notification = CY_U3P_DMA_CB_CONS_EVENT;   
         dmaCfg1.cb = CyFxHIDDmaCallback;
         dmaCfg1.prodHeader = 0;
         dmaCfg1.prodFooter = 0;
         dmaCfg1.consHeader = 0;
         dmaCfg1.prodAvailCount = 0;   

         

         CyU3PDmaChannelCreate (&glChHandleHID, CY_U3P_DMA_TYPE_MANUAL_OUT, &dmaCfg1);    
         CyU3PDmaChannelSetXfer (&glChHandleHID, 0);
          ......

         

         status = CyU3PDmaChannelGetBuffer (&glChHandleHID, &buf_p, 2000);

         


          Why this happen? How can I make it work well at supper speed?