IAC-IMX6-Kit Linux Function and Test Manual
Any question, please send E-mail
Page 18 of 66
Sales E-mail
:trade@qiyangtech.com
sales@qiyangtech.com
Website
:http://www.qiytech.com
©2014 Qiyangtech
Copyright
Please check the following items:
(1)Whether there is [/dev/qiyang_imx6_gpio] node in [/dev] directory
(2)Whether the kernel configuration select [ <*> IMX6 GPIO TEST
FOR QIYANG BOARD]option.
2.5. Serial Port Test
There are 3-ch serial ports on IAC-IMX6-KIT mainboard: 1-ch serial
port is used for debug port(J6), other 2-ch serial port are regarded as
common RS232 port or RS485.
This test program only aims at testing of common RS232.
Serial Port and hardware relations:
Serial Port
Hardware Position
Device Node
DBG
(
Debug
UART
)
J7 (Rx, Tx,GND To Pin
1,Pin2,Pin3)
/dev/ttymxc0
COM1
J6(Rx,Tx,GND To Pin1,Pin2,Pin5)
/dev/ttymxc3
COM2
J31(Rx,Tx,GND To
Pin3,Pin4,Pin6)
/dev/ttymxc4
Test Principle:
Test program realized that one serial port send character data
[
/dev/ttymxcx
" test string!
] every one second, [X ]is actual testing port number,