IAC-IMX6-Kit Linux Function and Test Manual
Any question, please send E-mail
Page 64 of 66
Sales E-mail
:trade@qiyangtech.com
sales@qiyangtech.com
Website
:http://www.qiytech.com
©2014 Qiyangtech
Copyright
2.
Power on, when in Uboot, press [Enter], input the following
command:
set bootargs_base 'setenv bootargs console=ttymxc0,115200 imx6_feature=rs485:2'
saveenv;boot
3.
After system boots, Board 1 as RS485 receiving end, input:
/usr/test/rs485_test /dev/ttymxc3 115200 0
4
、
Board 2 as RS485 transmitting end, input:
/usr/test/rs485_test /dev/ttymxc3 115200 1
5.Check the printed information from Board 1, you can see the below
information after every one second.
receive 28 datas: "/dev/ttymxc2" test string!
6.
Exchange the command in Step 3 and Step 4 to test, to see the
Board 2 transmitting and receiving date.