Have found this place!
"Schedule buffer for receive".
It seems that after each received USB message the function "USB_DeviceCdcAcmRecv" mus be called.
Then the whole thing works ...
Is that right, can someone confirm that?
Hi Johann Zimmermann
Sorry for the late response. Regarding your question, Yes, you have to call "USB_DeviceCdcAcmRecv" to schedule the buffer to receive data, so next time that the USB HOST send something to the USB DEVICE, the device will be prepared for this data.
You normally change this in the callback of the CDC events, but it is also called one time in the setup of the device, so it is application depended to place those APIs.
Have a great day,
TIC
-------------------------------------------------------------------------------
- If this post answers your question, please click the "Mark Correct" button. Thank you!
-------------------------------------------------------------------------------