I am working on a design that uses a USB isolator chip (ADuM4160) which does not support hi-speed USB.
I would like to use the KHCI configuration for USB, but it seems that only the EHCI included files are configured properly for the IMXRT UsbType. The KHCI includes are packaged in the latest MCUXpresso SDK.
Are there some examples for the IMXRT that use USB full-speed instead of hi-speed, or an easy way to convert them?
Thanks
Hi Jack
for configuring USB as only full-speed one can set bit 24 PFSC register PORTSC1 described in
sect.41.7.31 Port Status & Control (USB_nPORTSC1) i.MX RT1050 Reference Manual
https://www.nxp.com/docs/en/reference-manual/IMXRT1050RM.pdf
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Igor,
Thanks for your response.
I confirmed the operation to change the speed from High to Full.
For this, I just set the PFSC bit as "1".
For Detailed, refer to the below contents.
> Test Board : i.MXRT1050-EVK
> Test Project : evkbimxrt1050_dev_msc_sdcard_lite_bm
> Modified Register :
- USB_nPORTSC1 register / PFSC bit
- 0, High-Speed (default) / 1, Full-Speed
> Test Result, for High-/Full-Speed
-
> Modified Source / Contents
- source/disk_sdcard.c
int main(void) |
Best Regards,
Eric.
This solution worked for me on i.MX RT 1020. Thanks!
Before:
After: