6. Android Application

6.1 Display

Idea3588 supports DP, HDMI and LCD display sync.

Idea3588_Android_Display

6.2 HDMI IN

❶ Connect the HDMI_OUT on the output device to the HDMI_IN on the Idea3588, HDMI_OUT on the Idea3588 to the HDMI monitor, then power on.

❷ Open Live TV application on Idea3588.

_images/Idea3588_HDMI_IN.jpg _images/Live_TV.jpg

Double-Click the Back icon will quit the HDMI IN.

_images/esc.png

6.3 USB Type-C

6.3.1 ADB

ADB is the command-line debugging tool for Android, and it can use for system logs, uploading and downloading the files, installing the applications, etc. Connect the board and PC host with Type-C cable, install the adb driver and commands on the windows system. Execute the follow commands to enable ADB.

adb root
adb remount
adb shell
_images/adb.png

6.3.2 Type-C to HDMI/USB

Idea3588 supports Type-C to HDMI or USB. The device can use directly without install any driver.

_images/docking-station.jpg
HDMI display for example.

Connect the HDMI monitor to the HDMI Port on the docking station.
Connect the docking station to Idea3588 Type-C port and power on.

Note

Hot-plug is not supported. Audio is output via headphone when using Type-C to HDMI.

6.4 SD Card

Idea3588 supports SD Hot-plug.

_images/Explorer.jpg _images/SD_Card_test.png

6.5 USB Host

The USB Host can be used to connect USB mouse, USB keyboard, U-Disk or other USB devices.

_images/USB_Host_test.jpg

The USB3.0 default supports Superspeed.

_images/USB3.0.png

6.6 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.

_images/Video_Player_test_1.jpg

Note

Headset priority over HDMI on the Audio output.

6.7 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
_images/Ethernet_test.png _images/Ethernet_test2.jpg

6.8 Record

❶ Plug the Microphone into the appropriate port.

❷ Open the APP Sound Recorder in Android.

_images/Record_test_1.jpg

❸ Click Start button to start recording.

_images/Record_test_2.jpg

❹ After finish recording, click Stop and Save to store file.

The default storage path is Internal Memory/Recordings

storage path

6.9 RTC

Execute the command hwclock at CRT terminal

hwclock

Wait a moment, run hwclock again, it can be seen the time has changed.

_images/RTC.png

RTC battery allows the RTC to operate even when the main digital supply is turned off.

6.10 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.

_images/WiFi_test_1.jpg _images/WiFi_test_2.png

6.11 Bluetooth

Click Settings -> Connected devices -> Pair new device

Select the available device in the list to pair.

_images/Bluetooth_test_1.jpg _images/Bluetooth_test_2.jpg

After pairing, devices can connect with each other automatically.

6.12 Camera

Connect the camera module (DC-IM415-1214V1) to the development board CON3 (MIPI_CSI1 is front Camera) and CON2 (MIPI_CSI0 is back camera) before power on, then click the camera APP to test.

_images/Camera_test_1.jpg

Click the button to switch the camera.

_images/Camera_test_2.jpg

6.13 CAN

Connect CAN ports of Board A and Board B with the test line.

CAN connect

For Board A, execute the follow commands at Serial terminal A to set CAN_A as Receiver.

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

For Board B, execute the follow commands at Serial terminal B to set CAN_B as Transmitter.

ip link set can0 down
ip link set can0 type can bitrate 1000000 dbitrate 3000000 fd on
ip link set can0 up
cansend can0 123#DEADBEEF      // CAN0 send characters 0xDE 0xAD 0xBE 0xEF

The Transmitter and receiver can be converted by execute the command

candump can0                   // Receiver

or

cansend can0 123#DEADBEEF     // Transmitter

6.14 RS485

Connect the RS485 ports of Board A and B with the test line.

_images/RS485.png

Open Test/cmd.exe of PC. After power on, the PC will report that found new hardware if it never install the usb adb driver tools/adb. At this time user need to click InstallADB(x64).bat or InstallADB(x86).bat to install.

After install driver execute the commands at cmd:

adb root
adb remount
adb push com /system    // Before execute need copy com to windows C:\Users\Administrator
adb shell
chmod 777 /system/com   // Modify com properties
_images/RS485_Test.png

For Board A, execute the follow commands at Serial terminal A to set RS485 as Receiver or send.

./system/com /dev/ttyS7 115200 8 0 1

For Board B, execute the follow commands at Serial terminal B to set RS485 as Receiver or send.

./system/com /dev/ttyS7 115200 8 0 1

6.15 RS232

Connect the RS232 RX and TX(UART7 Pin2&Pin3 or UART3 Pin2&Pin3) with the test line. Execute the follow command to test.

For UART7(J2)

./system/com /dev/ttyS0 115200 8 0 1

For UART3(J5)

./system/com /dev/ttyS3 115200 8 0 1
_images/RS232_Test.png

6.16 M.2 NVME SSD

Idea3588 SSD only supports ext4 format. Connect the SSD to the development board before power on. Then execute follow command to format SSD and mount.

busybox lspci                       // check device
ls /dev/block/nvme0n1               // view the SSD path
mke2fs -t ext4 /dev/block/nvme0n1   // If SSD is not in ext4 format, format it to an ext4 file system
mkdir /data/ssd
mount -t ext4 /dev/block/nvme0n1 /data/ssd       // Mount to a new directory
ls /data/ssd
_images/SSD_test.png

6.17 SATA

Connect SATA and SATA power to the board. Automatically mount SATA after system boot.

_images/SATA_Test.png

Warning

Idea3588 does not support Sata Hot-plug.

6.18 4G

❶ Insert 4G module to PCIe slot (4G model: EC20).

❷ Connect antenna and insert SIM card.

The default connection is 4G network after power on.

_images/android_4G.jpg

6.19 IR

You can view the received signals by execute commands on the terminal.

echo 1 > /sys/module/rockchip_pwm_remotectl/parameters/code_print
IR test