AnsweredAssumed Answered

Bare Metal USB Stack - USB_Class_Audio_Send_Data not ready

Question asked by deek on Sep 17, 2014
Latest reply on Sep 23, 2014 by Kan_Li

I’m implementing a KL25 USB device based on the following example:



The example waits for enumeration, then calls USB_Class_Audio_Send_Data() in a loop.  This appears to work fine unless the stack is not ready for the next packet (this depends on the host latency).  I cannot find a callback or a method to poll that tells me it is safe to call USB_Class_Audio_Send_Data().  I think I can poll the OWN bit in the BDT, is there an easier way?