CDC device (KL25Z) - How can I tell when the data has gone out so that I can reload the send buffer without overwriting data that hasn't gone out yet?
Hi Bruce,
The USB Stack 4.1.1 provide the USB_Class_CDC_Interface_CIC_Send_Data() function to implement send data from CDC class over send endpoints.
It can return the parameter to reflect the executing status of the function and the return parameter can remind you to reload the send buffer properly.
Have a great day,
Ping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------