How to get USB1 working (LPCXpresso43xx)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to get USB1 working (LPCXpresso43xx)

ソリューションへジャンプ
946件の閲覧回数
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 解決策
943件の閲覧回数
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 返信
944件の閲覧回数
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 件の賞賛
返信