Advantech ROM-5720 handleiding

46 pagina's
PDF beschikbaar

Handleiding

Je bekijkt pagina 28 van 46
ROM-5720 User Manual 20
Test Bluetooth (EWM-W163M201E USB signal)
4.1.5 RS-232 test
Loopback test (eg. ttymxc1)
Before loopback test, we should connect tx and rx
4.1.6 I²C test
Check I²C Device (audio codec: 2-000a)
I²C set and get
$ 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
ROM-5720(iMX8M) ROM-DB5901 Carrier Board COM Port Name
ttymxc0 COM3 (debug port)
ttymxc1 COM2
ttymxc2 COM0
ttymxc3 COM1
#stty -F /dev/ttymxc1 115200
#stty -F /dev/ttymxc1 ?echo
#cat /dev/ttymxc1 &
#echo test > /dev/ttymxc1
root@imx8mqrom5720a1 : ~# I²Cdetect -y 2
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- 08 -- UU -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- UU -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
root@imx8mqrom5720a1 : ~# I²Cset -f -y 2 0x0a 0 0xff00 w
root@imx8mqrom5720a1 : ~# I²Cget -f -y 2 0x0a w
0x11a0

Bekijk gratis de handleiding van Advantech ROM-5720, stel vragen en lees de antwoorden op veelvoorkomende problemen, of gebruik onze assistent om sneller informatie in de handleiding te vinden of uitleg te krijgen over specifieke functies.

Productinformatie

MerkAdvantech
ModelROM-5720
CategorieNiet gecategoriseerd
TaalNederlands
Grootte5875 MB