Advantech SG-1103 User Manual Page 24

  • Download
  • Add to my manuals
  • Print
  • Page
    / 54
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 23
ROM-5420 User Manual 16
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
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
Note! Bitrate is supported from 1 to 1M.
Page view 23
1 2 ... 19 20 21 22 23 24 25 26 27 28 29 ... 53 54

Comments to this Manuals

No comments