AnsweredAssumed Answered

uframeInterval in USB_HostEhciOpenInterrupt

Question asked by Jay Yeh on Feb 13, 2019
Latest reply on Feb 24, 2019 by Jing Pan

In the RT1050 SDK, the function USB_HostEhciOpenInterrupt in usb_host_ehci.c,

there's a for loop to add QH to frame.

I uses RT1050 to connect to one USB HID device, which has 1 microframe interval in the descriptor.

In line 3173, the ehciPipePointer->uframeInterval / 8 equals to 0 if the USB device is with 1 microframe interval and it would result in the endless loop of this for loop.

How should I properly modify the code for the USB devices with 1 microframe interval?

Outcomes