How to use Lpc4330 as usb cdc host

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

How to use Lpc4330 as usb cdc host

657 Views
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
Labels (1)
0 Kudos
2 Replies

504 Views
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 Kudos

504 Views
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 Kudos