LPC54608 usb_device_msc_sdcard_lite in the usb_examples has some questions

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC54608 usb_device_msc_sdcard_lite in the usb_examples has some questions

1,799 Views
zhixiangzeng
Contributor II
Hi,friends。when I running the usb examples --usb_device_msc_sdcard_lite.In the  "usb_device_config.h" , there  are some configuration definitions of  USB  device config are not very clear.
1. what does the " LPCIP3511  "mean?
#define USB_DEVICE_CONFIG_KHCI (0U)
#define USB_DEVICE_CONFIG_EHCI (0U)
#define USB_DEVICE_CONFIG_LPCIP3511FS (1U)
#define USB_DEVICE_CONFIG_LPCIP3511HS (0U)

2.in the usb_device_msc_sdcard_lite  demo  ,about the  sd clk config is 
CLOCK_SetClkDiv(kCLOCK_DivSdioClk, 2U, true);
BOARD_BootClockFROHF96M();
but in the sd_fatfs demo  about the sd clk config  is
CLOCK_SetClkDiv(kCLOCK_DivSdioClk, 1U, true);
BOARD_BootClockFROHF48M();
I think this is all about SD card reading and writing, why is the clock configuration different?
Labels (1)
4 Replies

1,194 Views
soledad
NXP Employee
NXP Employee

Hi,

The USB controller driver implements the real send/receive function. Implementations are different
for different controllers. The supported controller drivers are KHCI, EHCI, IP3511HS and IP3511FS.

You can find more information about these controller drivers in the USB Stack Host Reference Manual and USB Stack Device Reference Manual, these document are located, after install MCUXpresso SDK at the path:

<LPCXpresso54608>\docs\usb

pastedImage_1.png


Have a great day,
Sol

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

1,194 Views
arno1
Contributor II

Does anyone know where I can find the latest version of this document (USB Stack Device Reference Manual)?
I can't seem to find it in the MCUXpresso SDK I downloaded.

0 Kudos

1,194 Views
soledad
NXP Employee
NXP Employee

Hello,

There is a separate folder that you need to download from the SDK link,

pastedImage_1.png

1,194 Views
arno1
Contributor II

Thanks. I totally skipped that link because the SDK downloaded automatically.

0 Kudos