Hi,
There are two usb ports available on the MXRT1050-EVK, J9 is the OTG port, and J10 is the usb host port according to the EVK user guide.
The usb examples provided in the SDK, even the usb host example, for example, the host_cdc_bm, all use the J9, i.e. the OTG port.
How could I modify the examples to use J10 as to connect to my own USB device?
解決済! 解決策の投稿を見る。
Hi Jay Yeh,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
To select alternative CONTROLLER ID: kUSB_ControllerEhci1.
Please give a try.
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Jay Yeh,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
To select alternative CONTROLLER ID: kUSB_ControllerEhci1.
Please give a try.
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
In both the source code and the USB stack documentation, the following comment exists:
/*!< EHCI 1U, Currently, there are no platforms which have two EHCI IPs, this is reserved
to be used in the future. */
I assume that this comment is out of date and that the RT1050 does use both kUSB_ControllerEhci0 and kUSB_ControllerEhci1. The comment and documentation should be updated to reflect this.
Hi Jeremy,
Thanks for the reply. Your solution works perfectly.