Hi,
We have been using K-60 controller with MQX 4.0 USB stack. The data transmission architecture says,Send data to USB-FS and wait for USB token done interrupt from USB module then stack passes this event to app layer about successful transmission of data. Now here is my problem after some transactions suddenly i am not getting USB token done interrupt after that any transactions over that endpoint is unsuccessful. Is there any way to transmit the data by resetting endpoint or any other way?. Because i have seen still USB functionality works fine because the data transmission happens with other endpoints without any issue. Please suggest
regards,
Shivaji
Hello Shivaji,
Have you ensured that the endpoint with troubles isn’t stalled? Did you configure the endpoint inside valid packet size ranges (for example, 64 bytes as maximum packet size for Interrupt transfers on USB Full Speed)?
If it is a STALL condition, the Host should send the “Clear_Feature(Endpoint_Stall)” command, in order to release the endpoint.
Hope this will be useful for you.
Best regards!
/Carlos