LPC1769 LPCXpresso and USB example

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

LPC1769 LPCXpresso and USB example

2,081件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by JojoS on Sat May 21 08:01:58 MST 2011
dear LPC users, I'm new to the LPC's and still checking some examples. I use the Board from EmbeddedArtists together with their BaseBoard to connect Ethernet, USB and other. Some examples are running, but I got also some that were written for other hardware from CodeRed or Keil.
I was able to run the current FreeRTos 7.0.1 version by changing the code for the different phy hardware. Now I want to get a USB host running and found the Keil example 'usbmem'. But here I'm not successfull. The code compiles and I've set different breakpoints, but I get only an USB_Reset_Event when connecting an USB memory stick, no other events.
What is missing? I checked the hardware drawings and set jumpers for terminating the USB lines, but then I get not even the reset event. I use only the USB host connector, the parallel USB device Interface is disconnected. The EA board has an output connected to a transistor to turn 3.3 V on the DP line, what should be done with this output? Keeping this line low changes nothing.
What else can I check?
0 件の賞賛
返信
3 返答(返信)

1,785件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by JojoS on Sat May 21 08:50:54 MST 2011
thanks Rob,
yes power is supplied thru -x3 and nothing is connected to -x1. I had the other samples already and found the usbhostlite also. Now it reads my memory stick and reports FAT ok. This is really great stuff!
0 件の賞賛
返信

1,784件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Rob65 on Sat May 21 08:41:18 MST 2011
Another way of getting 5V to your board is by soldering a wire between the SB-VBUS line of the LPC-Link and the Vin pin of the board - see attached photo.

Please note that this will also power the LPC-link when you connect the board through the USB-Uart or USB-Device connector, something you may not want to ...

Regards,

Rob
0 件の賞賛
返信

1,784件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Rob65 on Sat May 21 08:26:00 MST 2011
Did you connect an external 5V supply?
You need to connect a 5V supply to Vin - a convenient way to do this is through the USB-UART bridge - I made the same problem when playing with the RGB LED, some peripherals need external 5V which is not supplied through the LPC-Link part of the board.

Also do not forget to insert the jumpers in J61 and do not use the USB device connector (X1, next to the USB-A connector) since these share the same USB signals.

Next thing to do is to use the correct program; usbmem is a memory device, not a host. Please download the lpc1768 sample applications from the Embedded Artists support site (link) there you will find the usbhostlite application ready for the LPCXpresso environment.
That should work.

Regards,

Rob
0 件の賞賛
返信