LPC54608 usb_device_msc_sdcard_lite in the usb_examples has some questions

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC54608 usb_device_msc_sdcard_lite in the usb_examples has some questions

2,220 次查看
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?
标签 (1)
4 回复数

1,615 次查看
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 项奖励
回复

1,615 次查看
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 项奖励
回复

1,615 次查看
soledad
NXP Employee
NXP Employee

Hello,

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

pastedImage_1.png

1,615 次查看
arno1
Contributor II

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

0 项奖励
回复