USB CDC demo for lpc11u14 demo board

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

USB CDC demo for lpc11u14 demo board

508 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jonb on Wed Oct 03 15:48:09 MST 2012
Is there a demo project that has a functional usb cdc demo for the lpc11u14 demo board?

I see the CDC+Audio demo and I've found AN11232 which is Keil code but I was hoping for something a little more focused.

Thanks -
0 Kudos
4 Replies

399 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Tsuneo on Thu Oct 04 19:08:01 MST 2012
> I see. The lpc11u14 doesn't have the ROM

Au sorry, you are right.

In this Keil example, there is "USBCDC" example and "USBDriver" device library.
To compile this example on CodeRed, you'll need to port them.

Sample Code Bundle for LPC11Uxx Peripherals using Keil's MDK-ARM
http://www.lpcware.com/content/nxpfile/sample-code-bundle-lpc11uxx-peripherals-using-keils-mdk-arm-0

The files of "USBDriver", which has been ported, are included in this example.

LPCXpresso USB HID Example Project for LPC11U14 V1.0 (Apr 7, 2011)
http://ics.nxp.com/support/documents/microcontrollers/zip/lpcxpresso.examples.usb.hid.lpc11u14.zip

Tsuneo
0 Kudos

399 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jonb on Thu Oct 04 14:49:59 MST 2012
I see.  The lpc11u14 doesn't have the ROM, only the lpc11u2x has the ROM.

The demo isn't for u14 parts.

Are there any other CDC demo options for the lpc11u14 part?
0 Kudos

399 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jonb on Thu Oct 04 12:02:30 MST 2012
Thank you for the help.

I've installed the sample code into LPCxpresso but it doesn't build.

When I compile ROM_USB_cdc I get:

../src/main.c:382:50: error: 'ROM' has no member named 'pUSBD'

So that seems to point to

USBROMD_PRESENT

being undefined.

That datasheet for the lpc11u14 shows ROM - was I supposed to define USBROMD_PRESENT?

I assume I've done something wrong at an earlier level.
0 Kudos

399 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Tsuneo on Thu Oct 04 09:49:06 MST 2012
USB ROM Driver examples using LPCXpresso for LPC11Uxx
http://www.lpcware.com/content/nxpfile/usb-rom-driver-examples-using-lpcxpresso-lpc11uxx

The ROM_USB_cdc example in above zip file also has the same problem as discussed on this thread, when UART_BRIDGE is not defined.
http://knowledgebase.nxp.com/showthread.php?t=3688

Tsuneo
0 Kudos