6. Android Application
6.1 Display
Connect the board and monitor, then start up. EM3568 supports both lvds and HDMI dual-display. Audio output priority: Headset > HDMI > Speaker.
6.2 SD Card
EM3568 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.
USB3.0
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. If two network ports are used at the same time, eth0 is connected to Internet, and eth1 is connected to LAN.
ifconfig
ping -I eth0 www.boardcon.com
ping -I eth1 192.168.0.2
6.6 Record
Step 1, plug the Microphone into the 3.5mm audio jack.
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.
6.7 RTC
If the network is connected, the RTC can synchronize with the network time. Execute the command hwclock at CRT terminal
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 CAN
Step 1, Connect the CAN ports of Board A and B with the test line.
Step 2, execute the commands on the serial terminal of board A and board B respectively.
ip link set can0 down
ip link set can0 type can bitrate 1000000 dbitrate 3000000 fd on
ip link set can0 up
candump can0 //Set CAN0 as receive
cansend can0 123#DEADBEEF //CAN0 send characters 0xDE 0xAD 0xBE 0xEF
6.12 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/ttyS7 115200 8 0 1
Step 4, input character to test RS485 communication.
6.13 SATA
Connect the SATA0(6Gb/s) or SATA2(3Gb/s) and the SATA power before power on.
6.14 4G
Step 1, Insert 4G module to PCIe slot (4G model: EC20).
Step 2, Connect antenna and insert SIM card.
Step 3, Power on.
The default network connection is 4G LTE.
6.15 UART
The UART 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 of file *com*
adb shell
chmod 777 /system/com //Modify com properties
Step 2, connect the transmit(TX) pin to the receive(RX) pin of UART.
Step 3, after executes the command, input character to test UART.
./system/com /dev/ttyS3 115200 8 0 1 //Test UART3
Press Ctrl+C to exit UART3 testing, execute the command to test UART4.
./system/com /dev/ttyS4 115200 8 0 1 //Test UART4
./system/com /dev/ttyS5 115200 8 0 1 //Test UART5