eclipse-threadx / usbx

Eclipse ThreadX - USBX is a high-performance USB host, device, and on-the-go (OTG) embedded stack, that is fully integrated with Eclipse ThreadX RTOS
https://github.com/eclipse-threadx/rtos-docs/blob/main/rtos-docs/usbx/index.md
MIT License
154 stars 89 forks source link

OHCI controller for full speed usb host #41

Closed s-bruce13 closed 1 year ago

s-bruce13 commented 2 years ago

Hello, I'm trying to get the example available running at full speed instead of high-speed. The example is the usbx_host_hid_keyboard for the LPC5528. The keyboard enumerates correctly, but it doesn't respond to any key inputs. The only changes I saw were necessary in board_setup.c/.h which sets up the appropriate USB0, clocks, and interrupts.

I added the ohci drivers in the project. However when calling _ux_host_class_hid_keyboard_key_get, I do not get any information.

Are there any other changes required for full-speed to work?

I'd like to add that these changes are fine, for host_mass_storage example. I can switch between high speed and full speed without a problem.

xiaocq2001 commented 2 years ago

Thanks for the feedback, we will check that.

xiuwencai commented 2 years ago

There is an issue in the OHCI driver. The fix will be in the next USBX release and also in MCUXpresso SDK.