USB Host and USB Devices in lpc1788

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

USB Host and USB Devices in lpc1788

885件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by allanzyx on Wed Jul 02 04:46:54 MST 2014
ChipSet: lpc1788
I have worked couple days for running USB Host and USB Device at same time. USB port1 used as USB Device working as vitual com port, USB Port2 used as USB Host to connecting a USB disk. Now these 2 parts code is running well separately. when I merge them into one. Of Course, I do some changes. These 2 parts code both used USB_IRQHandle to deal with interrupt. I added VCOM USB interrupt routine and USB Host interrupt routine into one IRQHandle routine.
but after USB devices initialize routine and USB Hos initialize routine, my code hang in the interrupt routine, cann't step out.
could you please let me know to how to deal USB routine when USB host and USB device running at same time.it will be better if you can send me a sample code.
If this chip can NOT support USB Host and USB device running as same time. please let me know.
Thanks a lot.
Allan
ラベル(1)
0 件の賞賛
返信
1 返信

766件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by allanzyx on Wed Jul 09 06:46:03 MST 2014
does USB host and USB device can work in lpc1788 at same time.
0 件の賞賛
返信