Wifi/Bt Test; Uart Test - Advantech ROM-5620 User Manual

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

Advertisement

4.1.4

WIFI/BT Test

Test WiFi card (EWM-W163M201E PCIe signal)
# killall wpa_supplicant
# ifconfig wlan0 up
# wpa_passphrase
# wpa_supplicant -BDwext -iwlan0 -c/tmp/wpa.conf
# udhcpc -b -i wlan0
Ping network
ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=54 time=2.10 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=54 time=2.10 ms
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

UART Test

ROM-5620 (i.MX8X)
/dev/ttyLP0
/dev/ttyLP1
/dev/ttyLP2
-
A. RS-232 Test:
Loopback Test (eg. ttyLP1)
UART 1: Change SW7 jumper to switch modes. (1ON 2OFF: RS-232)
ROM-5620 User Manual
"SSID" "PASSWORD"
> /tmp/wpa.conf
ROM-DB5901 Carrier Board COM Port Name
COM3 (Default as Debug Console, 2-wire, can be used as normal
UART by SW1 setting on ROM-5620)
COM0 or M.2 (by CN27,CN28, CN29, CN30 jumper setting, 4-wire)
COM1 (2-wire)
COM2 (2-wire, for SCU message only)
26

Advertisement

Table of Contents
loading

Table of Contents