27
ROM-5620 User Manual
C
ha
pte
r 4
So
ftw
are
F
un
ctio
na
lity
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
Содержание ROM-5620
Страница 1: ...User Manual ROM 5620 NXP i MX8X Cortex A35 SMARC 2 0 2 1 Computer on Module...
Страница 6: ...ROM 5620 User Manual vi...
Страница 14: ...ROM 5620 User Manual 6...
Страница 19: ...11 ROM 5620 User Manual Chapter 2 H W Installation...
Страница 20: ...ROM 5620 User Manual 12...
Страница 21: ...Chapter 3 3 Pin Definition and Quick Start Guide This chapter details pin defini tions and a quick start guide...
Страница 27: ...Chapter 4 4 Software Functionality This chapter details the software programs on the ROM 5620 plat form...
Страница 41: ...Chapter 5 5 Embedded OS This chapter introduces Linux systems instructions...
Страница 43: ...Chapter 6 6 System Recovery This chapter details system recov ery for damaged Linux os...
Страница 46: ...ROM 5620 User Manual 38...
Страница 55: ...47 ROM 5620 User Manual Chapter 7 Advantech Services...