ROM-3420 User Manual
16
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
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-
Note!
Bitrate is supported from 1 to 1M.
Содержание ROM-3420CD-MDA1E
Страница 2: ...User Manual ROM 3420 RISC based RTX Module with Freescale i MX6 ARM Cortex A9 Processor...
Страница 18: ...Chapter 3 3 Software Functionality This chapter details the software programs on the ROM 3420 plat form...
Страница 45: ...ROM 3420 User Manual 36...
Страница 54: ...45 ROM 3420 User Manual Chapter 5 Advantech Services...