Question: Why am I getting return value "ADI_SPORT_BUFFERS_NOT_SUBMITTED (# 6) during validation of my application which uses SPORT APIs
Answer: The description of ADI_SPORT_BUFFERS_NOT_SUBMITTED is "Failed to submit the buffer to the DMA due to non availability of the free DMA descriptor".Please note that the low level drivers are designed to have a minimal footprint and minimal latency. The low level drivers do not maintain read or write buffer queues.The drivers support two outstanding transactions at a time. If more than two transactions are requested, this API returns an error. We need to check the event (which indicates whether the buffer has processed or an error) inside the callback and then submit the next buffer.