How to use Lpc4330 as usb cdc host

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

How to use Lpc4330 as usb cdc host

1,161 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by JoeM on Thu Apr 09 13:36:33 MST 2015
Used hardware:

[list]
  [*]    Ngx Xplorer with Lpc4330Fet100
  [*]    currently focused on the Cortex-M4 core
[/list]

Used software:

[list]
  [*]    Lpcxpresso 7.6.2
  [*]    Lpcopen 2.12
  [*]        http://www.lpcware.com/system/files/lpcopen_2_12_lpcxpresso_ngx_xplorer_4330.zip
  [*]    FreeRtos 8.0.1 (from the Lpcopen examples)
  [*]    Development host: Several (linux, mac, ...; desktop & CI server)
[/list]


Hey there,

I'm using a Lpc4330 (Cortex-M4 core), see info above.
We want to use the Lpc4330 as a Usb cdc host.
Could you provide some example code for that?
(The Lpcopen package contains usb cdc device and some other usb host examples, but no cdc host.)

Cheers,
    Joe Merten
标签 (1)
0 项奖励
回复
2 回复数

1,008 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by JoeM on Wed Apr 22 23:42:18 MST 2015
Thanks for your reply. After receiving the NXP's statement, that the lpcopen usb code (neither lpcusblib nor usbd) was made as ready to use / productivity purpose, I'd switched to Segger emUSB (they have ported their Usb host to Lpc4330 recently and testet a.o. with lpcxpresso 7.7.2 on the NGX Xplorer board).
0 项奖励
回复

1,008 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by PeterZos on Sat Apr 18 03:07:12 MST 2015
Download:
http://www.lpcware.com/system/files/lpcopen_2_16_keil_iar_nxp_lpcxpresso_4337.zip

Take a look at:
software/LPCUSBLib/Drivers/USB/Class/Host/CDCClassHost.c
applications/LPCUSBlib/lpcusblib_SerialHost/SerialHost.c


Regards,
Peter Žos
0 项奖励
回复