QY-IMX6S Linux Function And Test Manual
Any question, please send E-mail
Page 69 of 72
Sales E-mail
Website
:http://www.qiytech.com
©2012 Qiyangtech
Copyright
2.21. RS485 Test
On QY-I.MX6S development board, it has reserved 2-ch RS485,
multiplex with RS232.
If using RS485, it needs to remove RS232 chipset on hardware, and
solder RS485 circuit.
RS485 and Hardware Relation Chart:
UART
Hardware Location
Device Node
COM1
J31
(
A
、
B TO Pin11, Pin13
)
/dev/ttymxc1
COM2
J31
(
A
、
B TO Pin12, Pin14
)
/dev/ttymxc2
Test Principle:
Test program can achieve RS485 transmitting and receiving signal,
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
J31 by Dupont Line separately.
2. Power on, when in Uboot, press [Enter], input the following