I2C Test - Advantech ROM-5620 User Manual

Nxp i.mx8x cortex-a35 smarc 2.0/2.1 computer-on-module
Table of Contents

Advertisement

UART 1: Change CN27~CN30 jumper to (1-2 short)
#stty -F /dev/ttyLP1 -echo -onlcr 115200
#cat /dev/ttyLP1 &
#echo test > /dev/ttyLP1
B. RS-422 & RS-485 Test:
Change SW7 jumper to switch modes: (1ON 2ON: RS-422, 1OFF 2 ON: RS-485)
Change CN27~CN30 jumper to (1-2 short)
Test RS-485 with RS-485 device or ADAM-4520.
#./enable485 /dev/ttyLP1
#stty -F /dev/ttyLP1 speed 115200 ignbrk -brkint -icrnl -imaxbel -opost -
onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke
#cat /dev/ttyLP1 &
#echo test > /dev/ttyLP1
2
4.1.6
I
C Test
2
Check I
C Device (audio codec: 3-000a)
root@imx8qxprom5620a1:~# i2cdetect -y 3
0
1
00:
- -
- -
10:
- -
- -
20:
- -
- -
30:
- -
- -
40:
- -
- -
50:
- -
- -
60:
- -
70:
UU
2
I
C set and get
root@imx8qxprom5620a1:~# i2cset -f -y 3 0x0a 0 0xff00 w
root@imx8qxprom5620a1:~# i2cget -f -y 3 0x0a 0 w
0x11a0
2
3
4
5
6
- -
- -
- -
- -
- - - -
- -
- -
- -
- - - -
- -
- -
- -
- - - -
- -
- -
- -
- - - -
- -
- -
- -
- - - -
- -
- -
- -
- - - -
- -
- -
- -
- - - -
- -
- -
- -
7
8
9
a
b
- -
- -
- -
- -
UU
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
UU
- -
- -
- -
- -
- -
- -
27
ROM-5620 User Manual
c
d
e
f
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -
- -

Advertisement

Table of Contents
loading

Table of Contents