Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Can I connect 2 UARTs of the same microcontroller, for testing purposes?

Status
Not open for further replies.

Doiri

Newbie level 1
Newbie level 1
Joined
Oct 29, 2013
Messages
0
Helped
0
Reputation
0
Reaction score
0
Trophy points
0
Activity points
16
Hello,

I want to test the board of my project, which uses the LPC1768 microcontroller. To test the UART circuits on the board I need to transmit some messages through a UART module (for example UART1) and receive back a response through another UART module (for example through UART3). For that I have this question: Can I connect 2 UARTs of the same microcontroller, send some signals on the Tx of one UART module and receive the same signals on the Rx of the other UART module, in the same time? Is there sufficient time to catch the incoming data on the Rx, to compare it with the data I have sent on the Tx?

I would really appreciate your answer.
Thank you,
Doiri
 

I'm not familiar with that processor, but as long as you read data as fast as you send it, it should work. The receiver probably (but not necessarily) has a buffer, so that will give you some flexibility. As long as you only send a byte after you've read a byte, you should be fine even without a buffer.
 

Thank you for the answer. I'll try testing.
Thank you,
Doiri
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top