Forums

LPC USB capability

Started by RW Concepts - enquiries December 17, 2012
Im new to embedded USB and am looking at a design thatll have to take input from a USB mouse. Looking at the NXP data, Im a bit confused.

Am I right in thinking that Ill need USB Host capability?

In which case, whats the smallest NXP ARM uC that can implement this?

I thought Id be able to take advantage of the USB ROM drivers in an LPC11U00 but this seems to be USB Device only. Similarly the LPC1300. It looks like itll need to be a LPC1700 with everything in the software.

If anyone has any comments, Id be happy to hear them. Thanks,

Rog.



An Engineer's Guide to the LPC2100 Series

On Mon, Dec 17, 2012 at 11:09 PM, RW Concepts - enquiries
wrote:
> I’m new to embedded USB and am looking at a design that’ll have to take input from a USB mouse. Looking at the NXP data, I’m a bit confused.
>
> Am I right in thinking that I’ll need USB Host capability?

yes. The mouse is a device. USB is host<->device only, the peer to
peer mode ("OTG") is a hack which requires at least one end to be able
to become the host.

> I thought I’d be able to take advantage of the USB ROM drivers in an LPC11U00 but this seems to be USB Device only. Similarly the LPC1300. It looks like it’ll need to be a LPC1700 with everything in the software.

I'm not familiar with which chips have usb host capability, but I do
know that 17xx has it since that's the chip I've been working with
lately and I keep scrolling past the usb host section in the
datasheet.
--- In l..., "RW Concepts - enquiries" wrote:
>
> I'm new to embedded USB and am looking at a design that'll have to take input from a USB mouse. Looking at the NXP data, I'm a bit confused.
>
> Am I right in thinking that I'll need USB Host capability?
>

Yes, you will need host capability. Here is an interesting implementation and perhaps it can get you started:

http://mbed.org/users/igorsk/notebook/interfacing-usb-mass-storage-devices-aka-usb-flash/

Richard

Thanks everyone for taking the time to reply.

Rog.

From: rtstofer
Sent: Tuesday, December 18, 2012 12:58 AM
To: l...
Subject: [lpc2000] Re: LPC USB capability

--- In mailto:lpc2000%40yahoogroups.com, "RW Concepts - enquiries" wrote:
>
> I'm new to embedded USB and am looking at a design that'll have to take input from a USB mouse. Looking at the NXP data, I'm a bit confused.
>
> Am I right in thinking that I'll need USB Host capability?
>

Yes, you will need host capability. Here is an interesting implementation and perhaps it can get you started:

http://mbed.org/users/igorsk/notebook/interfacing-usb-mass-storage-devices-aka-usb-flash/

Richard