LPC1343 USB Examples

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

LPC1343 USB Examples

1,896 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by embedded_guy on Tue Jun 05 15:40:57 MST 2012
I have been trying to get the USB examples (CDC, HID, MSD) working on my LPCXpresso 1343 board but have been unable to do so.  I can build the examples and have gotten other examples working (ADC, blinky, etc.), but not the USB device examples.  When I run the USB examples, I cannot get the HID Demonstration executable to identify the board or the VCOM to be recognized by Windows to connect and get serial output.  I've searched the forum and have been digging in on the CodeRed Wiki but haven't found anything yet.  Any help is appreciated.  Thanks.
0 Kudos
Reply
12 Replies

1,649 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by serge on Mon Jun 11 23:24:52 MST 2012
I think i know now why NXP, with all respect, doesn't put more work in the UM's. Nobody cares to read them anymore nor do they look at schematics:(. It is a pitty because it would keep this forum cleaner.
Is it just a lack of time? A matter of deadlines??
Or....
are developpers becomming lazy ...

Serge
0 Kudos
Reply

1,649 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by embedded_guy on Mon Jun 11 21:48:38 MST 2012
True.  I think the one thing that is missing is the blatant text (either in the document or with each readme example) that states these USB examples require another USB connector as shown in section 7.3.  Clearly I missed that because I was thinking the debug USB (albeit not connected directly to the LPC1343) could be used to transfer the LPC1343's data (via USB).  Clearly I was wrong.
0 Kudos
Reply

1,649 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Rob65 on Mon Jun 11 21:01:38 MST 2012

Quote: embedded_guy
That is what it looks like from the getting started guide.


That is what is clearly stated in the getting started guide :eek:
0 Kudos
Reply

1,649 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by embedded_guy on Mon Jun 11 15:32:11 MST 2012
That is what it looks like from the getting started guide.
0 Kudos
Reply

1,649 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by deadlus on Mon Jun 11 15:31:03 MST 2012
I'm having the exact same problem.

So I actually need to add second USB connector (solder it to the board) to get those examples to work?
0 Kudos
Reply

1,649 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by embedded_guy on Wed Jun 06 09:27:43 MST 2012
Thanks for the responses.  Greatly appreciated.
0 Kudos
Reply

1,649 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Wed Jun 06 00:52:45 MST 2012

Quote: embedded_guy
I have read that a different USB port needs to be added to the board for the vcom, msd, and hid examples. Just confused.



Schematic: http://flic.kr/p/9eHZfj

Board: http://flic.kr/p/9eHZhd
0 Kudos
Reply

1,649 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Rob65 on Tue Jun 05 23:57:23 MST 2012

Quote: embedded_guy
I have read that a different USB port needs to be added to the board for the vcom, msd, and hid examples. Just confused.



As am I ...
Did you read the "Getting Started" manual ?
Also section 7.3 "Enabling USB connectivity “to LPC1343 target”" ?

No? The do so right now and get unconfused.
0 Kudos
Reply

1,649 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by embedded_guy on Tue Jun 05 22:02:09 MST 2012
I've just read so many different posts on here but haven't found a difinitive answer. I was trying to add a bit more detail, in case it helped. I have read that a different USB port needs to be added to the board for the vcom, msd, and hid examples. Just confused.
0 Kudos
Reply

1,649 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Rob65 on Tue Jun 05 21:49:44 MST 2012

Quote: embedded_guy
I see the code debugger appears to be stopped at the line:

  while (!USB_Configuration) ;              // wait until USB is configured


and you would be very surprised to see that I'm telling you that my example does not stop here ?
0 Kudos
Reply

1,649 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by embedded_guy on Tue Jun 05 17:56:38 MST 2012
I see the code debugger appears to be stopped at the line:

  while (!USB_Configuration) ;              // wait until USB is configured
0 Kudos
Reply

1,649 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Tue Jun 05 16:12:18 MST 2012

Quote: embedded_guy
  I've searched the forum ....



...and found a dozen threads about non working USB hardware ?
0 Kudos
Reply