AN75779 commit buffer error 71 | Cypress Semiconductor
AN75779 commit buffer error 71
I am using the cypress example AN75779 with some modifications by using a 8 bit instead of 32 bit . But whether the mode of transmission be BULK or ISOCH using 3 transaction , i get an error while committing the producer buffer. The error code is 71 meaning CY_U3P_ERROR_INVALID_SEQUENCE .
When i checked the api document for CyU3PDmaMultiChannelCommitBuffer i found this,
It should be called only when the consumer socket is in the suspended state. In all other cases this will return
Now i tried getting the status of the dma channel when this error occurs using CyU3PDmaMultiChannelGetStatus, to this i get i get CY_U3P_DMA_ACTIVE.
How to solve this issue, is there anyway to suspend the consumer socket ???