Skip to main content
Associate
August 3, 2023
Solved

RS422

I need to capture 8 x RS422 data and send them to abother unit via TCP/IP. We have designed a custom board for this. My questions are:

 

1. In terms of software programming side there is no difference between RS232 and RS422 right?

2. Which example sample source code would be useful for me? UART or USART?

thanks in advance

 

This topic has been closed for replies.
TDK
TDKBest answer
August 3, 2023

> 1. In terms of software programming side there is no difference between RS232 and RS422 right?

Yes, unless the flow control of RS232 is used, which is not common.

> 2. Which example sample source code would be useful for me? UART or USART?

They don't use a clock line, so UART is appropriate.

"If you feel a post has answered your question, please click ""Accept as Solution""."

4 replies

TDK
TDKBest answer
August 3, 2023

> 1. In terms of software programming side there is no difference between RS232 and RS422 right?

Yes, unless the flow control of RS232 is used, which is not common.

> 2. Which example sample source code would be useful for me? UART or USART?

They don't use a clock line, so UART is appropriate.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Piranha
Principal III
August 4, 2023
Johi
Senior II
August 4, 2023

How do you test your board? What kind of MCU is on it? Are you able to make the ethernet work as such?

ozhanAuthor
Associate
September 8, 2023

I use a usb-rs422 converter plugged into my PC. I use Hercules program to send RS422 data to my custom board. I managed ethernet to work without any problem.