we are working on a project which required to use usb cdc acm. compare with normal serial, the usb cdc acm always lost some packages when chip start and reboot. do anyone knows how could I fix it?
we are working on a project which required to use usb cdc acm. compare with normal serial, the usb cdc acm always lost some packages when chip start and reboot. do anyone knows how could I fix it?
I assume the easiest would be to wait for data received from the PC then, before you start sending data to the PC. Then you know the CDC driver and PC app have loaded on the PC is running before you start sending data. Could that work?
Else I think you just have to have a fixed delay after USB have enumerated before you start sending data to the PC.
I assume the easiest would be to wait for data received from the PC then, before you start sending data to the PC. Then you know the CDC driver and PC app have loaded on the PC is running before you start sending data. Could that work?
Else I think you just have to have a fixed delay after USB have enumerated before you start sending data to the PC.