![Advantech RSB-4220 User Manual Download Page 32](http://html1.mh-extra.com/html/advantech/rsb-4220/rsb-4220_user-manual_2857962032.webp)
RSB-4220 User Manual
26
2.5.5
I
2
C Test
1.
Power on RSB-4220 and boot into OS.
2.
System should detect all devices with I
2
C interface controlled.
root@am335x
‐
adv:/unit_tests#
./AutoRun_i2c.sh
0
1
2
3
4
5
6
7
8
9
a
b
c
d
e
f
00:
‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐
10:
‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐
20:
‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐
UU
‐‐ ‐‐
30:
UU
UU
UU
UU
UU
UU
UU
UU
‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐
40:
‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐
50:
UU
‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐
60:
‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐ ‐‐
70:
‐‐ ‐‐ ‐‐
UU
‐‐ ‐‐ ‐‐ ‐‐
=====I2C
test
Pass!=====
2.5.6
CAN Test
1.
Connect one RSB-4220 CAN Port /CAN1_D- and GND with another
RSB-4220.
2.
Run program to transmit data between two RSB-4220 CAN ports.
root@am335x
‐
adv:/unit_tests#
./AutoRun_CAN.sh
Sun Sep 14 01:48:57 UTC 2014
interface = can0, family = 29, type = 3, proto = 1
wait for data
interface = can0, family = 29, type = 3, proto = 1
======CAN Pass=======
Sun Sep 14 01:49:01 UTC 2014
interface = can0, family = 29, type = 3, proto = 1
wait for data
interface = can0, family = 29, type = 3, proto = 1
======CAN Pass=======