Mini Pcie (Wifi) Test; Can Test; Audio Out And Mic In Test - Advantech ROM-5420 User Manual

Risc-based smarc module with freescale i.mx6 arm cortex a9 processor
Table of Contents

Advertisement

3.1.8

Mini PCIe (Wifi) Test

The command used to test 3G module is as follows, the supported module P/N is
EWM-C106FT01E.
#ifconfig wlan0 up
#wpa_passphrase "$ESSID" "$PASS" > /tmp/wpa.conf
(note: put $ESSID and $PASS with exact essid and pass phrase)
#wpa_supplicant -BDwext -iwlan0 -c/tmp/wpa.conf
#dhclient wlan0
3.1.9

CAN Test

Step 1: Check CAN network device
#dmesg | grep can
vcan: Virtual CAN interface driver
flexcan netdevice driver
flexcan imx6q-flexcan.0: device registered (reg_base=c09b8000, irq=142)
flexcan imx6q-flexcan.1: device registered (reg_base=c09e8000, irq=143)
can: controller area network core (rev 20090105 abi 8)
can: raw protocol (rev 20090105)
can: broadcast manager protocol (rev 20090105 t)
Step 2: Activate CAN device
#ip link set can0 up type can bitrate 125000
flexcan imx6q-flexcan.0: writing ctrl=0x0e312005
#ip link set can1 up type can bitrate 125000
flexcan imx6q-flexcan.1: writing ctrl=0x0e312005
Note!
Bitrate is supported from 1 to 1M.
Step 3: Send and Receive CAN frames
Receive CAN frames:
#cantest can0 &
Send CAN frames
#cantest can1 12345678#123412341234
read 16 bytes
12345678
[6] 12 34 12 34 12 34
3.1.10

Audio Out and MIC In Test

MIC IN command is as follows:
#arecord -t wav -c 1 -r 44100 -d 5 2.wav
Audio out command is as follows:
#aplay 2.wav
ROM-5420 User Manual
16

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rom-5420cd-mda1e

Table of Contents