IAC-IMX6-Kit Linux Function and Test Manual
Any question, please send E-mail
Page 63 of 66
Sales E-mail
:trade@qiyangtech.com
sales@qiyangtech.com
Website
:http://www.qiytech.com
©2014 Qiyangtech
Copyright
2.20
、
RS485 Test
On IAC-I.MX6S development board, it has reserved 2-ch RS485,
multiplex with RS232.
RS485, RS232 exists at same time.
Relation Chart Between RS485 and Hardware:
UART
Hardware Location
Device Node
COM1
J6
(
A
、
B TO Pin7, Pin8
)
/dev/ttymxc3
COM2
J6
(
A
、
B TO Pin9, Pin10
)
/dev/ttymxc4
Test Principle:
Test program can achieve RS485 transmitting and receiving function,
need to use two boards. Take RS485 as receiving end, another RS485 as
transmitting end. Check the date whether it is correct.
Test Process & Result:
Here, we take example of testing RS485 on COM1:
1.
Use 2 boards, Board 1 and Board 2. Connect PIN A, PINB on J6
by Dupont Line separately.