I'm working using atmel studio 7.0, the code which i'm using is USB Communication Device Class (CDC) for ATSAMD21. My application is to read the command from the host to the device and perform the operation suggested by the host and send acknowledgement back to the host from device.
1.Device Waiting for second request from host for sending response for first request.
1st request ---->No acknowledgement received from device.
2nd request---->Host received acknowledgement for 1st request .
3rd request----->Host received acknowledgement 2nd request.
--->Why this issue is happening? How can i resolve this issue i'm stuck with this any help will be appreciated.