How to get USB1 working (LPCXpresso43xx)

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

How to get USB1 working (LPCXpresso43xx)

Jump to solution
947 Views
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!

Labels (2)
0 Kudos
Reply
1 Solution
944 Views
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.

View solution in original post

0 Kudos
Reply
1 Reply
945 Views
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 Kudos
Reply