RS422
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-08-03 1:35 AM
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
Solved! Go to Solution.
- Labels:
-
STM32F1 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-08-03 1:45 AM
> 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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-08-03 1:45 AM
> 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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-08-04 5:19 AM
Why did you created a duplicate topic?
https://community.st.com/t5/other-hardware/rs422/td-p/579334
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-08-04 1:19 PM
How do you test your board? What kind of MCU is on it? Are you able to make the ethernet work as such?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-08 12:11 AM
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.
