Audio Out And Mic In Test; Opengl Test - Advantech ROM-3420CD-MDA1E User Manual

Rom-3420 series risc-based rtx module with freescale i.mx6 arm cortex a9 processor
Table of Contents

Advertisement

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
3.1.11

OpenGL Test

Please follow below instructions to test OpenGL on ROM-3420 platform:
Step 1: Change path to /opt/viv_samples/vdk
#cd /opt/viv_samples/vdk
#ls tutorial*
tutorial1       tutorial2_es20  tutorial4       tutorial5_es20
tutorial1_es20  tutorial3       tutorial4_es20  tutorial6
tutorial2       tutorial3_es20  tutorial5       tutorial7
Step 2: Run tutorial7 for OpenGL ES 1.1
Using Vertex Buffer Objects (VBO) can substantially increase performance by reduc-
ing the bandwidth required to transmit geometry data. Information such vertex, nor-
ROM-3420 User Manual
16

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rom-3420wd-mda1eRom-3420cq-mda1eRom-3420wq-mda1e

Table of Contents