How to get USB1 working (LPCXpresso43xx)

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

How to get USB1 working (LPCXpresso43xx)

跳至解决方案
950 次查看
wut
Contributor II

Hello,

I use the LPCXpresso43xx Board an want to get USB1 working. For this I use the software example "usbd_rom_msc_ram" and changed the entry "#define USE_USB0" to  "#define USE_USB1" in file "app_usbd_cfg.h".

Mabey I should mention that I first try the example for USB0 and everything works perfect. For testing USB1 I connect USB1_DP (green), USB1_DM (white), GND and VCC_from_usb -> 5V. But this is not working. Does anybody have any idea why it is not working?

Thank you for your help!

标签 (2)
0 项奖励
回复
1 解答
947 次查看
wut
Contributor II

I found the solution by myself! In file "chip_18xx_43xx.c" there is a function "Chip_USB1_Init(void)". In this function the Register "SFSUSB" is set to "0x12" but it must be "0x32" for enable USB1.

在原帖中查看解决方案

0 项奖励
回复
1 回复
948 次查看
wut
Contributor II

I found the solution by myself! In file "chip_18xx_43xx.c" there is a function "Chip_USB1_Init(void)". In this function the Register "SFSUSB" is set to "0x12" but it must be "0x32" for enable USB1.

0 项奖励
回复