Rs-232 Test; I2C Test - Advantech ROM-5720 User Manual

Arm-based smarc 2.0 module with nxp i.mx8m arm cortex a53 processor
Table of Contents

Advertisement

Test Bluetooth (EWM-W163M201E USB signal)
$ hciconfig hci0 up
$ bluetoothctl
$ discoverable on
$ pairable on
$ scan on
[NEW] FC:18:3C:8D:75:F4 myphone
$ scan off
$ pair FC:18:3C:8D:75:F4
$ connect FC:18:3C:8D:75:F4
4.1.5

RS-232 test

ROM-5720(iMX8M)
ttymxc0
ttymxc1
ttymxc2
ttymxc3
Loopback test (eg. ttymxc1)
Before loopback test, we should connect tx and rx
#stty -F /dev/ttymxc1 115200
#stty -F /dev/ttymxc1 ?echo
#cat /dev/ttymxc1 &
#echo test > /dev/ttymxc1
2
4.1.6
I
C test
2
Check I
C Device (audio codec: 2-000a)
root@imx8mqrom5720a1 : ~#
0
1
2
3
00:
10:
--
--
20:
--
--
30:
--
--
40:
--
--
50:
--
--
60:
--
--
70:
UU
--
2
I
C set and get
root@imx8mqrom5720a1 : ~#
root@imx8mqrom5720a1 : ~#
0x11a0
ROM-5720 User Manual
ROM-DB5901 Carrier Board COM Port Name
COM3 (debug port)
COM2
COM0
COM1
i2cdetect
4
5
6
7
8
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
UU
--
--
--
--
--
--
--
--
--
--
--
--
i2cset
i2cget
-y 2
9
a
b
c
d
08
--
UU
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
-f
-y
2
0x0a
0
0xff00
-f
-y
2
0x0a
w
20
e
f
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
--
w

Advertisement

Table of Contents
loading

Table of Contents