Author Topic: USART confusion  (Read 2938 times)

0 Members and 1 Guest are viewing this topic.

Offline allanwTopic starter

  • Frequent Contributor
  • **
  • Posts: 343
    • Electronoblog
USART confusion
« on: November 06, 2010, 01:21:19 am »
I'm a little confused by how USART works. I'm trying to interface an ARM Cortex-M3 with an XPort Pro for serial->ethernet.

Do I only need to connect the RX and TX lines? There's also a clock line which I'm guessing is for synchronous mode. And CTS and RTS. What's the best way to hook up these two devices together? They're on the same board, not discretely wired.

I ask because the docs for the Xport Pro seem to imply that CTS/RTS/DTR are optional (and there is no clock signal)

http://www.lantronix.com/pdf/XPort-Pro_IG.pdf page 8
« Last Edit: November 06, 2010, 01:23:59 am by allanw »
 

Online EEVblog

  • Administrator
  • *****
  • Posts: 38624
  • Country: au
    • EEVblog
Re: USART confusion
« Reply #1 on: November 06, 2010, 02:31:06 am »
I ask because the docs for the Xport Pro seem to imply that CTS/RTS/DTR are optional (and there is no clock signal)

Correct. You only need TX, RX and GND to implement what's called a software handshake null modem interface. This is very common (the most common these days?)
The other lines are used for what's called hardware handshaking between the two devices.

Maybe some more info here:
http://www.beyondlogic.org/serial/serial.htm

Dave.
« Last Edit: November 06, 2010, 02:33:33 am by EEVblog »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf