6. Android Application
6.1 Display
Connect the board and monitor with a HDMI cable, then start up.
Note
The Boardcon factory default HDMI display. If change to LVDS/MIPI LCD, please reflash the corresponding boot.img.
10.1” LVDS LCD: boot_10.1inch_lvds.img
10.1” MIPI LCD: boot_10.1inch_mipi.img
7” LVDS LCD: boot_7inch_lvds.img
HDMI: boot_hdmi.img
Change the size of app icons in Android12:
wm density 240 //10.1-inch LVDS
wm density 180 //7-inch LVDS
6.2 SD Card
EM3566 supports SD Hot-plug.
6.3 USB Host
The USB2.0/3.0 Host can be used to connect USB mouse, USB keyboard, U-Disk or other USB devices.
6.4 Video&Audio Player
Copy video file to SD_card/U-disk then insert it to the board. After system boot open SD_card/U-disk and click video file to play.
6.5 Ethernet
Connect the board and router with an Ethernet cable (default DHCP=Yes). User can ping URL/IP at terminal, or open the browser to test Network.
ifconfig
ping www.boardcon.com
6.6 Record
Step 1, plug the Microphone into the appropriate port.
Step 2, open the APP Sound Recorder in Android.
Step 3, click Start button to start recording.
After finish recording, click Stop and Save to store file.
The default storage path is Internal Memory/Recordings
Play priority: Headphone output greater than HDMI out.
6.7 RTC
Execute the command hwclock at CRT terminal
date “2024-01-25 12:00:00”
hwclock -w
hwclock
6.8 WiFi
Connect the WiFi antenna, then click Settings -> Network&internet -> Wi-Fi -> turn on, select the SSID from the list of available networks and enter the password.
After connected, user can ping URL/IP at terminal, or open the browser to test Network.
6.9 Bluetooth
Click Settings -> Connected devices -> Pair new device
Select the available device in the list to pair.
6.10 Camera
Connect the camera module (OV13850) to the development board camera0 before power on, then click the camera APP to test.
Click the button to switch the camera.
6.11 RS485
This test method is for reference only.
Step 1, Connect the RS485 ports of Board A and B with the test line.
Step 2, push the file com
into board A and board B via ADB.
adb root
adb remount
adb push \xx\com /system //\xx\ is the absolute path to store com
adb shell
chmod 777 /system/com //Modify com properties
Step 3, execute the command on the terminal serial ports of board A and board B respectively.
./system/com /dev/ttyS3 115200 8 0 1
Step 4, input character to test RS485 communication.
6.12 RS232
The RS232 loopback test is for reference only.
Step 1, push the file com
to the test board via ADB
adb root
adb remount
adb push \xx\com /system //\xx\ is the absolute path to store com
adb shell
chmod 777 /system/com //Modify com properties
Step 2, connect the transmit (TX) pin to the receive (RX) pin of RS232
Step 3, after executes the command, input character to test RS232.
./system/com /dev/ttyS4 115200 8 0 1 //Test UART4
Press Ctrl+C to exit UART4 testing, execute the command to test UART5.
./system/com /dev/ttyS5 115200 8 0 1 //Test UART5
6.13 M.2 NVMe SSD
EM3566 only supports ext4 format. Format SSD to ext4 file system on ubuntu system
Step 1, view the SSD device name
ls /dev/block
Step 2, format SSD on ubuntu system.
mke2fs -t ext4 /dev/block/nvme0n1
Step 3, mount SSD
mkdir /data/ssd
mount -t ext4 /dev/block/nvme0n1 /data/ssd
ls /data/ssd
If the SSD is auto-mounted, execute the command to test:
ls /run/media/nvme0n1
6.14 IR
Connect IR receiver to the IR port. Operate the IR controller and view the received data after execute the command.
echo 1 > /sys/module/rockchip_pwm_remotectl/parameters/code_print
6.15 ADC
Test SARADC_VIN2
cat /sys/devices/platform/fe720000.saradc/iio:device0/in_voltage2_raw
Connect SARADC_VIN2 to VDDIO_18 execute command again
cat /sys/devices/platform/fe720000.saradc/iio:device0/in_voltage2_raw
Connect SARADC_VIN2 to GND, then execute command
cat /sys/devices/platform/fe720000.saradc/iio:device0/in_voltage2_raw
Test SARADC_VIN3
cat /sys/devices/platform/fe720000.saradc/iio:device0/in_voltage3_raw
6.16 4G
Step 1, Insert 4G module to PCIe slot (4G model: EC20).
Step 2, Connect antenna and insert SIM card.
Step 3, The default network connection is 4G LTE after power on.