Skip to content

Hardware Reference Edge AI Pinout And Interfaces

Alex J Lennon edited this page Oct 7, 2025 · 1 revision

Edge AI Board (imx8mm-jaguar-sentai) - Hardware Reference

Quick Specs: i.MX8MM Cortex-A53 Quad-Core | 2GB RAM | WiFi 6 + BT 5.4 + 802.15.4 | TAS2563 Audio

🔌 Connector Pinouts

Main Expansion Connector (J1)

Pin | Function    | GPIO      | Notes
----|-------------|-----------|------------------
1   | 3V3         | -         | 3.3V Power Output
2   | GND         | -         | Ground
3   | UART2_TX    | GPIO5_25  | Debug/Console TX
4   | UART2_RX    | GPIO5_24  | Debug/Console RX
5   | I2C1_SDA    | GPIO5_15  | I2C Bus 1 Data
6   | I2C1_SCL    | GPIO5_14  | I2C Bus 1 Clock
7   | SPI1_MOSI   | GPIO5_7   | SPI Bus 1 MOSI
8   | SPI1_MISO   | GPIO5_8   | SPI Bus 1 MISO
9   | SPI1_CLK    | GPIO5_6   | SPI Bus 1 Clock
10  | SPI1_CS     | GPIO5_9   | SPI Bus 1 CS
11  | GPIO_USER1  | GPIO4_6   | User GPIO (Button)
12  | GPIO_USER2  | GPIO1_8   | User GPIO

USB-C Connector (J2)

  • Power Input: 5V 2A minimum (USB PD supported)
  • Data: USB 2.0 Device mode (programming/debug)
  • Serial Console: Available via USB-to-UART bridge

📡 Wireless Module (Quectel FGS060N)

WiFi Configuration

# Interface: wlan0
# Standards: 802.11ax (WiFi 6), 802.11ac, 802.11n
# Bands: 2.4GHz + 5GHz dual-band
# Antenna: Internal PCB antenna + external connector option

# Power management GPIOs:
# WiFi Power: GPIO4_26 (634 on i.MX93 numbering)
# WiFi Wake:  GPIO4_25 (633 on i.MX93 numbering)

Bluetooth Configuration

# Interface: hci0
# Standard: Bluetooth 5.4 + BLE
# UART: LPUART2 (115200 baud default)
# Control GPIO: GPIO4_24 (632 on i.MX93 numbering)

802.15.4 Configuration

# Protocol: Zigbee, Thread, Matter
# Interface: wpan0 (when configured)
# Frequency: 2.4GHz ISM band

🎵 Audio System

TAS2563 Audio Codec (I2C: 0x4C)

# Interface: SAI3 (Serial Audio Interface)
# Format: I2S, TDM
# Sample Rates: 8kHz - 192kHz
# Bit Depth: 16/24/32-bit
# Channels: Mono (configurable for stereo)

# Control GPIOs:
# Reset: GPIO5_4 (Active High)
# IRQ:   GPIO5_5 (Active Low)

Microphone Configuration

# Type: Dual PDM microphones
# Interface: MICFIL (PDM Interface)
# Sample Rate: 48kHz typical
# Channels: 2 (Left/Right)
# Sensitivity: -26dBFS typical

Audio Routing

# Playback Path: SAI3 → TAS2563 → Speaker/Headphone
# Capture Path: PDM Mics → MICFIL → SAI3 → CPU
# ALSA Card: "tas2563audio" (playback), "micfilaudio" (capture)

🌡️ Sensor Interfaces

I2C Bus 1 (400kHz)

Address | Device              | Function
--------|---------------------|------------------------
0x19    | LIS2DH12           | 3-axis Accelerometer
0x28    | LP5024             | 6x RGBW LED Driver  
0x3F    | STTS22H            | Precision Temperature
0x44    | SHT40-AD1F-R2      | Temperature + Humidity
0x4C    | TAS2563            | Audio Codec

SPI Bus 2 (10MHz)

CS  | Device        | Function           | GPIO CS
----|---------------|--------------------|--------
0   | BGT60TR13C    | 60GHz Radar Sensor | GPIO5_13

⚡ Power Specifications

Power Input Requirements

Input Voltage:    5V ±5% (4.75V - 5.25V)
Current Draw:     
  - Idle:         ~200mA @ 5V
  - Active WiFi:  ~400mA @ 5V  
  - Peak (Audio): ~600mA @ 5V
  - Absolute Max: 2A @ 5V

Connector: USB-C (supports USB PD negotiation)

Power Rails

Rail    | Voltage | Max Current | Function
--------|---------|-------------|------------------
VDD_5V  | 5.0V    | 2A         | Main input power
VDD_3V3 | 3.3V    | 1A         | Digital logic
VDD_1V8 | 1.8V    | 500mA      | I/O and analog
VDD_1V2 | 1.2V    | 800mA      | CPU core
VDDA    | 1.8V    | 100mA      | Analog supplies

🔧 Boot Configuration

Boot Sources (Boot Mode Switches)

# Default: eMMC boot (switches in default position)
# Recovery: USB Serial Download mode
#   - Hold BOOT button during power-on
#   - Board appears as USB device for programming

U-Boot Environment

# Default boot order:
# 1. eMMC (mmcblk2)
# 2. USB (if no eMMC image)

# Console: UART2 @ 115200,8,n,1
# Ethernet: Not available (WiFi-only design)

📋 Quick Reference Commands

Hardware Detection

# I2C device scan
i2cdetect -y 1

# GPIO status  
cat /sys/kernel/debug/gpio

# Audio devices
aplay -l && arecord -l

# Network interfaces
ip link show

# USB devices
lsusb

# Kernel modules
lsmod | grep -E "(snd|wifi|bt)"

Performance Monitoring

# CPU frequency
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq

# Temperature
cat /sys/class/thermal/thermal_zone*/temp

# Power consumption (if available)
cat /sys/class/power_supply/*/current_now

🚨 Hardware Limitations

Known Constraints

  • No Ethernet: WiFi-only connectivity
  • Single Audio Output: Mono TAS2563 (stereo possible with modification)
  • Limited GPIO: Most pins used for onboard peripherals
  • Power Sensitive: Requires stable 5V supply for reliable operation
  • Thermal: CPU throttling may occur >85°C ambient

Design Considerations

  • Antenna Placement: Keep WiFi/BT antennas clear of metal objects
  • Power Supply: Use quality USB-C cable and power adapter
  • EMI: Board includes proper grounding and filtering
  • Mechanical: PCB designed for standard mounting holes

💡 Pro Tip: Use i2cdetect -y 1 to quickly verify all sensors are responding after boot!

Clone this wiki locally