Does it work USB ROM API with USB HS on LPC54xxx?
05-19-2020
02:11 AM
692 Views
mikebo
Contributor I
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1 Reply
05-19-2020
06:20 PM
622 Views
ZhangJennie
NXP TechSupport
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For LPC54xxx, we only have USB demo code enclosed in MCUXpresso SDK.
https://mcuxpresso.nxp.com/en/builder
By default that USB demo code is for FS USB0. If you need HS USB1, you need enable high speed mode with below code:
/*! @brief LPC USB IP3511 FS instance count */
#define USB_DEVICE_CONFIG_LPCIP3511FS (0U)
/*! @brief LPC USB IP3511 HS instance count */
#define USB_DEVICE_CONFIG_LPCIP3511HS (1U)
rebuild project.
Make sure you have external power supply to the board when use HS USB.
Have a nice day.
Jun Zhang