Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob

Clear STALL in SL811HS

Clear STALL in SL811HS

Anonymous
Not applicable
Question: For the SL811HS how do we clear the STALL?

 

Answer:

If the condition causing a halt has been removed, clearing the Halt feature via a ClearFeature(ENDPOINT_HALT) request results in the endpoint no longer returning a STALL. For endpoints using data toggle, regardless of whether an endpoint has the Halt feature set, a ClearFeature(ENDPOINT_HALT) request always results in the data toggle being reinitialized to DATA0. The Halt feature is reset to zero after either a SetConfiguration() or SetInterface() request even if the requested configuration or interface is the same as the current configuration or interface. You can find more information on the ClearFeature in section 9.4.1 of the USB 2.0 specification.

0 Likes
523 Views
Contributors