03-Functional_Testing

LED

The development board is equipped with two LEDs:

  • Green LED: Power indicator (stays on when powered).

  • Blue LED: Heartbeat indicator (blinks continuously after the kernel boots).

User-Level LED Control

By default, the LED trigger mode is set to heartbeat, which prevents manual control. To enable command-based control, use the following commands:

$ echo none > /sys/class/leds/sysled/trigger
$ echo 1 > /sys/class/leds/sysled/brightness  # Turn on
$ echo 0 > /sys/class/leds/sysled/brightness  # Turn off

WiFi / Bluetooth

The K5C board integrates the AW859A high-performance WiFi module.

WiFi Operations

# List network devices
sudo nmcli dev

# Enable WiFi
sudo nmcli r wifi on

# Disable WiFi
sudo nmcli r wifi off

# Scan for nearby hotspots
sudo nmcli dev wifi

# Connect to a hotspot (replace SSID and PASSWORD)
sudo nmcli dev wifi connect "SSID" password "PASSWORD" ifname wlan0

Bluetooth Operations Install dependencies:

Control commands:

Bluetooth Audio Playback Note: Only works on desktop terminals, not serial terminals.


Key Functions

The K5C board has three buttons:

  • POWER: Controls screen on/off (Android) or opens logout screen (Ubuntu).

  • RESET: System reset button.

  • RECOVERY: Enters firmware flashing mode.


RTC Testing

Power-Off Time Retention Test Steps:

  1. Connect the board to the network for automatic time synchronization.

  2. Disconnect network and power.

  3. Wait for a period, then reconnect power.

  4. If the system time matches the current time, RTC functions properly.

Note: Ensure a CR2032 battery is installed and charged.


IR (Infrared) Testing

Check input devices:

image-20250517110612748

Test IR receiver:

image-20250517110644728

LCD Testing

Supports Single LVDS, Dual LVDS, and MIPI displays. For details, see LCD.

Backlight Control


Fan Control

The board includes a GPIO-controlled fan (enabled by default).


Speaker/Headphone Testing

Speaker Control

Audio Playback Ubuntu:

Android:


MIC Testing

Ubuntu

Android


Ethernet Testing

Supports Gigabit Ethernet. Speed test results:

  • Upload: 783 Mbits/sec

  • Download: 898 Mbits/sec


4G Module Testing

Prerequisites

  • Verify USB module detection:

  • Insert SIM card and ensure antennas are connected.

Dial-Up Test


SD Card Testing


Touchscreen Testing


USB/SD Card Detection

Last updated