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.
10 years, 11 months ago.
How to use 2 UART in lpc11u24 with external power supply
I need to ask how can i use the serial port instead via usb port . ? i mean to say where i need to gine power supply and in which pin i need to configure serial port apart from pin 9, 10. cause i need 2 serial port at a time. thanks in advance Deepak
2 Answers
10 years, 11 months ago.
one is p9.p10 then another is with usb right? i am asking how to use USBRX,USBTX in pin mode
You cannot easily access those pins on the normal mbed. However more important, it actually only has one UART. That UART can be connected to p9/p10, or to USBTX, USBRX. But in the end it is one and the same UART, so you cannot use both at the same time.
Options are: Making an UART in software (not as efficient, but can be used with any pin), or use for example an I2C to UART converter IC.
posted by 21 Jan 2014