Skip to main content

Hardware interfaces

Start with the connector map, check the electrical requirements, then use the 40-pin table to find the signal and Linux GPIO line. For runnable GPIO, UART and PWM examples, continue with GPIO & peripherals.

Disconnect power before wiring

Header signals use 3.3 V logic. Do not apply 5 V to a GPIO, connect two outputs together, or assume that a mechanically compatible HAT has compatible signals and software. Locate physical pin 1 on your board before connecting anything.

Connector map​

The component-side reference below uses the standard Mo62A product image, with the 40-pin header along the top edge and USB/Ethernet on the right. Numbers run clockwise from J6 at the top. They are location markers, not electrical pin numbers. The image retains its original perspective; it is not an orthographic drawing or a dimensional reference.

Mo62A standard component-side image with large aligned location markers 01 to 14 running clockwise from the 40-pin header; electrical pin numbering is shown separately in the J6 section

MarkerConnector or controlPurpose and next check
01J6 — 40-pin expansion3.3 V signals plus separate power/ground pins; see J6 orientation and pin assignments
02J1 — fan4-pin fan connector; match the pinout and cable below
03USB Type-AFour USB 2.0 ports in two stacked pairs; shared upstream link and power budget
04EthernetGigabit RJ45; PoE conversion is not built into the board
05J5 — transformer tapsRequires a matching external PoE PD/converter; not a regulated 5 V output
06JP1 — CSI camera22-pin, 0.5 mm FPC; verify cable pinout and contact orientation
073.5 mm audioOn-board analogue audio connection
08J4 — debug UART3.3 V TTL console, not RS-232; 115200 8N1
09micro HDMIDisplay output; use a matching cable
10J2 — RTC battery2-pin backup-battery connector; verify battery type and polarity
11USB-C — power input5 V supply; see Power & thermal
12Status indicatorLinux exposes red/green LED devices; see Controls and board identification
13S1 — power buttonPMIC power-button input; behaviour depends on the configured software
14CON1 — antennaShared Wi-Fi/BLE antenna connection

Open the image to enlarge it. Check the connector shape, silkscreen and pin-1 mark on your own board before connecting anything. J5 is a transformer-tap header, not a 5 V supply; see Other connectors.

Other connectors​

InterfaceBoard connectionIntegration note
PowerUSB Type-C, 5 VSee Power & thermal
EthernetGigabit RJ45, DP83867 PHYTransformer centre taps are brought out on J5 for an external PoE PD/converter
PoE header J52 × 2, 2.54 mm, next to the RJ45Transformer taps: 1 TR1_TAP, 2 TR0_TAP, 3 TR3_TAP, 4 TR2_TAP (schematic sheet 18). These are not GPIO or a regulated 5 V output
USBFour USB 2.0 Type-A ports through a hubShare the upstream link and power budget
Displaymicro HDMI through SiI9022AUse the tested display setup
Audio3.5 mm jack with TLV320AIC3106Distinct from an optional header audio HAT
AntennaCON1, U.FL-style RF connectorShared Wi-Fi/BLE antenna; follow the connection guide
J5 is not a 5 V power header

J5 requires a matching external PoE powered-device (PD) and power-conversion board. Its regulated 5 V output and ground connect to the corresponding J6 power and ground pins; never wire J5 directly to the 5 V rail or GPIO. Confirm the add-on's pinout, polarity, PoE class, output rating, protection and mechanical clearance. Four pins alone do not establish compatibility, and USB-C and HAT power must not be connected as competing supplies.

InHand reports a successful PoE HAT power-up, but this review did not reproduce it or record a specific HAT model, IEEE PoE class or delivered power. This is not a qualification of arbitrary PoE HATs; obtain the approved accessory details before integration.

Camera and display​

The CSI camera connector JP1 is a 22-pin, 0.5 mm FPC connector. MIPI CSI-2 support alone does not establish FPC pinout or cable compatibility; verify the wiring and contact orientation. The tested sensor is IMX219. Disconnect power before handling the ribbon and use the camera connection guide and JPEG capture test.

Display uses micro HDMI. See Display & audio for software configuration.

Expansion header​

The published schematic, sheet 17, identifies the expansion header as J6 and the fan connector as J1. The older SDK README calls them J9 and J6 respectively. This page follows the schematic references; also check the USER EXPN marking, connector shape and pin-1 indication on your actual board. Do not select a connector by a conflicting reference alone.

Confirm the physical orientation​

Orient the component side as in the connector map, with J6 along the top edge and USB/Ethernet on the right. This separate diagram shows physical pin numbers, not the map's location markers:

J6 physical numbering viewed from the component side: outer row 2 to 40, inner row 1 to 39; pins 1 and 2 are the leftmost column, pins 39 and 40 the rightmost

Position in this viewPhysical numberingHow to read it
Upper row, toward the outside edge2, 4, 6, …, 40Left to right
Lower row, toward the board centre1, 3, 5, …, 39Left to right
Leftmost column2 above 1Pin 1 is below pin 2
Rightmost column40 above 39Pin 39 is below pin 40

These directions apply to the component side only. Turning the board over reverses the apparent left/right orientation. Disconnect power and confirm the actual pin-1 marking before attaching jumpers or a HAT.

Signal reference​

Use physical pin numbers when wiring and SoC controller names when programming. A BCM-style HAT label such as GPIO17 is not Linux GPIO line 17 on Mo62A. The table applies to the tested microSD-default configuration: pins 27/28 remain reserved for camera I²C, and power/ground pins are not GPIO. A peripheral overlay takes ownership of its associated signal pins.

For a compact standalone lookup, open the logical pin map. It shows the same pin assignments, not the physical viewing direction. A printable 40-pin pinout PDF combines this table with the orientation diagram.

Physical pinPower or SoC signalGPIO chip / offsetAlternate function
13.3 V—Power
25 V—Power
3MCU_GPIO0_20gpiochip0 / 20WKUP_I2C0 SDA
45 V—Power
5MCU_GPIO0_19gpiochip0 / 19WKUP_I2C0 SCL
6GND—Ground
7GPIO0_39gpiochip1 / 39GPIO
8GPIO1_25gpiochip2 / 25UART5 TX
9GND—Ground
10GPIO1_24gpiochip2 / 24UART5 RX
11GPIO1_23gpiochip2 / 23GPIO
12GPIO1_0gpiochip2 / 0MCASP2 ACLKX
13GPIO0_42gpiochip1 / 42GPIO
14GND—Ground
15GPIO1_22gpiochip2 / 22GPIO
16GPIO0_38gpiochip1 / 38GPIO
173.3 V—Power
18GPIO0_40gpiochip1 / 40GPIO
19GPIO1_18gpiochip2 / 18SPI0 MOSI
20GND—Ground
21GPIO1_19gpiochip2 / 19SPI0 MISO
22GPIO0_14gpiochip1 / 14GPIO
23GPIO1_17gpiochip2 / 17SPI0 CLK
24GPIO1_15gpiochip2 / 15SPI0 CS0
25GND—Ground
26GPIO1_16gpiochip2 / 16SPI0 CS1
27I2C2 SDAReservedCamera bus
28I2C2 SCLReservedCamera bus
29GPIO0_36gpiochip1 / 36GPIO
30GND—Ground
31GPIO0_33gpiochip1 / 33GPIO
32GPIO1_14gpiochip2 / 14EHRPWM0 B
33GPIO1_13gpiochip2 / 13EHRPWM0 A
34GND—Ground
35GPIO0_91gpiochip1 / 91MCASP2 AFSX
36GPIO1_9gpiochip2 / 9EHRPWM1 A; controller shared with fan
37GPIO0_41gpiochip1 / 41GPIO
38GPIO1_5gpiochip2 / 5MCASP2 AXR0
39GND—Ground
40GPIO1_2gpiochip2 / 2MCASP2 AXR1

Linux names and observed state​

On the tested image, gpiochip0 is 4201000.gpio (MCU GPIO0), gpiochip1 is 600000.gpio (main GPIO0), and gpiochip2 is 601000.gpio (main GPIO1). Confirm the names on another image instead of assuming chip indices are stable.

bootcfg show
sudo gpiodetect
sudo gpioinfo -c gpiochip2

Live Mo62A inspection showing the default boot entry, GPIO controller names, three RTC devices and ttyS2 console configuration

For driven GPIO, edge monitoring and cleanup, use the tested GPIO & peripherals procedures. In libgpiod v2, gpioset --hold-period=2s specifies a minimum hold period; it does not by itself mean that the process exits after two seconds. A GPIO output is held while the request remains open.

Fan, debug UART and RTC​

The small fan, debug and battery connectors are separate interfaces, not interchangeable power sockets:

ConnectorSchematic pin assignmentBefore connecting
J1 fan, SH1.0-4p1: 5 V; 2: PWM; 3: GND; 4: tachometerUse a matching fan and cable; do not rely on wire colours
J4 debug, SH1.0-3p1: board RX; 2: GND; 3: board TX3.3 V TTL USB-UART; 115200 baud, 8N1
J2 RTC battery, SH1.0-2p1: GND; 2: VBATVerify approved battery type and plug polarity

The debug UART is ttyS2, not the header's UART5 /dev/ttyS3. Cross adapter TX to board RX and adapter RX to board TX, and connect ground. Do not connect an RS-232 voltage interface or use the adapter's power wire to power the board. See First boot.

J2 is a battery connector, not a CR1220 coin-cell holder. The schematic labels the external RTC as PCF85263ATL; Linux reports the compatible driver name pcf85363. Driver naming alone does not establish a board revision. Battery retention was not tested in this review.

Controls and board identification​

  • S1: the SDK documents a power-button connection to the PMIC's NPWRON input, consistent with the power-button label in Datasheet V1.5. A short-press/long-press behaviour test was not performed for this page; do not infer an unconditional reset action.
  • Indicator: Linux exposes /sys/class/leds/red and /sys/class/leds/green. Read brightness and trigger for the software state; those values alone do not verify the observed colour or every boot/shutdown indication. See First boot for the documented startup sequence.
  • Board identity: the reference image shows a model/revision silkscreen below J6. Record your own marking and assembly label; the image does not identify your board revision. See Hardware revisions.

Software configuration​

Choose a supplied entry with bootcfg; changing the default reboots the board. Confirm the live device-tree status after reboot. Do not enable the audio overlay with the GPIO/PWM loopback jumpers still attached.

FunctionPhysical pinsBoot entryVerification boundary
GPIOUnreserved signal pinsmicroSD-defaultThree pairs tested in both directions
UART58 TX, 10 RXmicroSD-uart5/dev/ttyS3; 115200 8N1 loopback passed
EHRPWM033 A, 32 BmicroSD-ehrpwm0Pin 33 measured at 50 Hz / 25%; pin 32 not measured
WKUP_I2C03 SDA, 5 SCLmicroSD-i2c0No external I²C peripheral tested in this review
SPI019, 21, 23, 24, 26microSD-spi0No SPI loopback tested in this review
MCASP2 audio12, 35, 38, 40; 3/5 controlmicroSD-audioRequires the matching WM8960 hardware and driver

The combined exp-periph overlay is present in the SDK but is not a supplied microSD-periph boot entry in the tested image. Follow Device tree overlays for the supported entries, pin conflicts and recovery.

Resolve PWM controllers through /sys/class/pwm/pwmchip*/device: EHRPWM0 is 23000000.pwm; the fan uses 23010000.pwm. Do not hard-code pwmchip0. Header pin 36 shares the fan's EHRPWM1 controller, so it is not an independent, already-tested PWM output.

Downloads​

DocumentVersionDownload
Component placementV1.1PDF
40-pin header pinoutV1.1PDF

Verify downloads against SHA-256 checksums.

Sources and validation scope​

The physical-pin mapping was cross-checked against the SDK README, the per-pad device-tree definitions, the individual overlays and the published schematics. The diagram's logical mapping was checked for all 40 pins. Only the GPIO, UART5 and pin-33 PWM loopbacks linked above are electrical tests; the remaining entries are design references.

Inspect J6, J1, J4 and J2 in the original sheet 17 preview, or download the full PDF from that page. The annotated product image identifies locations; it does not replace circuit pin assignments.

Source: inhandnet/mo-docs · 7ba0dc46