
31
ROM-5620 User Manual
C
ha
pte
r 4
So
ftw
are
F
un
ctio
na
lity
Step 4: Read value and set output value then check
4.1.12
Watchdog Test
System will reboot after 1 sec
4.1.13
Camera Test
Please connect MIPI-CSI2 camera (OV5640) to CN39 FPC connector.
Preview
Capture
4.1.14
CANbus Test
Step 1: Connect to and CAN0_D- to CAN1_D-
Step 2: Set CAN0 and CAN1 up
Step 3: candump can0
root@imx8qxprom5620a1 : ~# cat /sys/class/gpio/gpio2/value
0
root@imx8qxprom5620a1 : ~# echo 1 > /sys/class/gpio/gpio1/value
root@imx8qxprom5620a1 : ~# cat /sys/class/gpio/gpio2/value
1
root@imx8qxprom5620a1 : ~# /unit_tests/Watchdog/wdt_driver_test.out 1 2 0
- - - - Running < /unit_tests/watchdog/wdt_driver_test.out > test - -
Starting wdt_driver (timeout: 1, sleep: 2, test: ioct1)
Trying to set time out value=1 seconds
Uboot 2018.03-5620A1AIM20Lg5ebc362 (Jan 10 2020 - 17:39:04 +0000)
CPU: Freescale i.MX8QXP revB A35 at 1200 MHz at 33C
Model: Freescale i.MX8QXP ROM-5620 A1
# gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-
raw,width=640,height=480 ! waylandsink
# gst-launch-1.0 v4l2src num-buffers=1 device=/dev/video0 ! video/x-
raw,width=640,height=480 ! jpegenc ! filesink location=sample.jpeg
root@imx8qxprom5620a1:~# ip link set can0 up type can bitrate 125000
[ 314.402318] IPv6: ADDRCONF(NETDEV_CHANGE): can0: link becomes ready
root@imx8qxprom5620a1:~# ifconfig can0 up
root@imx8qxprom5620a1:~# ip link set can1 up type can bitrate 125000
[ 322.355701] IPv6: ADDRCONF(NETDEV_CHANGE): can1: link becomes ready
root@imx8qxprom5620a1:~# ifconfig can1 up
root@imx8qxprom5620a1:~# candump can0 &
[1] 3909
Summary of Contents for ROM-5620
Page 1: ...User Manual ROM 5620 NXP i MX8X Cortex A35 SMARC 2 0 2 1 Computer on Module...
Page 6: ...ROM 5620 User Manual vi...
Page 14: ...ROM 5620 User Manual 6...
Page 19: ...11 ROM 5620 User Manual Chapter 2 H W Installation...
Page 20: ...ROM 5620 User Manual 12...
Page 41: ...Chapter 5 5 Embedded OS This chapter introduces Linux systems instructions...
Page 43: ...Chapter 6 6 System Recovery This chapter details system recov ery for damaged Linux os...
Page 46: ...ROM 5620 User Manual 38...
Page 55: ...47 ROM 5620 User Manual Chapter 7 Advantech Services...