EasyManua.ls Logo

Advantech ROM-5620 - I2 C Test

Advantech ROM-5620
56 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
27 ROM-5620 User Manual
Chapter 4 Software Functionality
UART 1: Change CN27~CN30 jumper to (1-2 short)
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.
4.1.6 I
2
C Test
Check I
2
C Device (audio codec: 3-000a)
I
2
C set and get
#stty -F /dev/ttyLP1 -echo -onlcr 115200
#cat /dev/ttyLP1 &
#echo test > /dev/ttyLP1
#./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
root@imx8qxprom5620a1:~# i2cdetect -y 3
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: - - - - - - - - - - - - - - UU - - - - - - - - - -
10: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
20: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
30: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
40: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
50: - - - - - - - - - - - - - - UU - - - - - - - - - - - - - - - -
60: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
70: UU - - - - - - - - - - - - - -
root@imx8qxprom5620a1:~# i2cset -f -y 3 0x0a 0 0xff00 w
root@imx8qxprom5620a1:~# i2cget -f -y 3 0x0a 0 w
0x11a0

Related product manuals