4 years, 10 months ago.

Can I use Ethernet and USB Pins as DigitalOut or DigitalIn on mbed LPC1768 ?

I already use p5p30 Pins. But I need more Pins. Can I use Ethernet and USB Pins as DigitalOut or DigitalIn on mbed LPC1768 ?

1 Answer

4 years, 9 months ago.

Ethernet - no. Those pins aren't connected to the LPC 1768, they are connected to an Ethernet Phy.

The two USB pins you should be able to use. You should be able to select them using the names P0_29 (D+) and P0_30 (D-). They do however have the standard USB termination fitted (series resistors and caps to ground). D+ also has a 1k5 pull down resistor which is enabled when P2_9 is low.