7 years, 4 months ago.

LPC4088 USB device pin configuration

Apologies if this is the wrong forum for this question, but I hope the mbed developers will know the answer!

I'm using an LPC4088 Quickstart Board for my project, but I'm programming it from scratch (without the mbed library). I'd like to use the board's USB Device controller, but there seems to be an omission in the user manual.

As far as I can tell, in the manual this is referred to as "USB port 2" (where "port 1" is the USB Host controller).

Configuring the pins is problematic: I can see that Port 0, pin 31 can be configured as "USB port 2 bidirectional D+ line", but there is no corresponding 'D-' line to be found in the documentation. Which port and pin is responsible for "USB port 2 D-", and do you have any information on how to configure it?

Many thanks in advance!

Question relating to:

mbed Development team

1 Answer

7 years, 4 months ago.

According to page 119 of the user manual USB_D-2 is a dedicated pin and isn't multiplexed onto any of the port pins. Which physical pin this relates to (if any) will depend on the package you are using.

Accepted Answer

You sir, are a gentleman and a scholar. Thanks!

posted by Chris Hunt 08 Jan 2015