AnsweredAssumed Answered

USB_OTG device debugging issues

Question asked by chunhua lu on Jan 8, 2020
Latest reply on Jan 22, 2020 by Peter Vlna

In debugging the USB device, I encountered the following problems:
1, the first time i receive the setup package, there is no UI interruption, even though I have configured the ios in dQH, and enabled the UE bit  in the UOTG_USBINTR. So I can only handle it by queryating at the moment.
2, in response to the host's first request (get the length bit 64 bytes of device descriptor), when I configure dQH and dTD and prime endpoint 0, will always enter the system error interrupt.
Please solve the problem for me, thank you!

Outcomes