Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
5 years, 4 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
5 years, 4 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.