QY-IMX6S Linux Function And Test Manual
Any question, please send E-mail
Page 31 of 72
Sales E-mail
Website
:http://www.qiytech.com
©2012 Qiyangtech
Copyright
The file system provides the method to test CAN, use CAN tool to
test.
Test Process & Result
1.Need to use 2-ch CAN to test, connect the current CAN to another
CAN interface. You could open two IMX6 boards, then connect the two
UART terminal to PC . When entering into the system, then configure and
open CAN.
ip link set can0 type can bitrate 125000
ifconfig can0 up
The Debug UART print the following information:
2.Connect J2(PIN16) on board to J2(PIN16) on another board.
J2(PIN14) on board to connect another J2(PIN14). So one CAN as
transmitting terminal ,and the another CAN as the receiving terminal,
then exchange to test.
3.Use [CAN] test program to test:
#
./can_test