AnsweredAssumed Answered

Way to be notified on CDC transmit complete?

Question asked by sturmer.ryan.002 on Mar 31, 2016
Latest reply on Apr 21, 2016 by hermansson.mikael
I have observed in all of the USB-CDC examples I've seen with the STM32Cube libraries, that the transmit buffer is managed with a timer that polls the USB to see if the previous transmission was complete (or rather if the USB is busy) before setting the next chunk of transmit buffer and calling USBD_CDC_TransmitPacket - Is there a way around having to poll this?  Is there an interrupt available that indicates with a transmit is complete so I know as soon as possible when I can send the next packet?  Or do I have to poll?  If I have to poll, what is a good polling interval to get the best possible performance (FS USB, not HS)

Outcomes