Pinout
All Alp Lab modules conform to the E1M open standard, which fixes the pad-to-signal assignments at the default-function level plus GPIO as a universal secondary on every digital pad.
| Form factor | Outline | Pad count | Pad pitch | Pad |
|---|---|---|---|---|
| E1M | 35 × 35 mm | 312 | 1.0 mm | 0.40 mm round |
| E1M-X | 45 × 65 mm | 496 | 1.0 mm | 0.40 mm round |
The outline of E1M-X is 65 mm across and 45 mm down in the top view (E1M-STD-1.0 §4.2, §5.1).
Reference drawings
All drawings are top views. Pad A1 is the top-left pad, marked by the copper pin-1 triangle. Letters name the rows, top to bottom; numbers name the columns, left to right. E1M and E1M-X are independent coordinate spaces: A1 on E1M is not A1 on E1M-X. The footprint drawings and the full pad tables are in the E1M specification.
E1M pad map (35 × 35 mm, 312 pads)
E1M-X pad map (45 × 65 mm, 496 pads)
Machine-readable pinout
The canonical pinout is published as JSON in alplabai/e1m-spec:
| File | Description |
|---|---|
pinout/v1.json | E1M (35 × 35 mm) pinout, every pad's coordinate + signals |
pinout/x-v1.json | E1M-X (45 × 65 mm) pinout |
pinout/schema/loom-v1.schema.json | JSON Schema validating both pinouts |
Consume the JSON directly in EDA tools, schematic generators, or the Alp SDK's orchestrator (the Python package scripts/alp_orchestrate/, run as PYTHONPATH=scripts python3 -m alp_orchestrate). The schema is named Loom v1.
The E1M-X pad map changed in the June 2026 Altium export (18 pads): the ETH0/ETH1 MDI differential-pair rows were re-ordered (DA↔DD, DB↔DC, both _P/_N rows of each group), and AC62/AD62 left the reserved pool to become the dedicated DBG_TX/DBG_RX debug UART. If you cached pinout/x-v1.json or based a carrier layout on the earlier export, re-sync before routing — Ethernet MDI pairs land on different pads. The E1M (35 × 35) pinout is unaffected. See the e1m-spec CHANGELOG for the authoritative record.
Signal groups
The E1M interface carries the following classes (every pad declares a default function plus the alt-functions it can carry):
Power
VDD_5V_IN— the single 5 V supply input, 4.75–5.25 V at the pads (silkscreenVDDon E1M)VIO_OUT— 1.8 V I/O reference output of the SoM; carrier pull-ups and level translators on the 1.8 V pads use itSD_VDD(E1M) /SD_VDD_OUT(E1M-X) — SD-card supply output of the SoM (3.4 V on E1M-AEN hardware R3, padAH10)+V_CAM0..+V_CAM3— camera supply outputs (+V_CAM2/+V_CAM3on E1M-X only)+S_CAP— RTC backup storeGND— ground reference (49 pads on E1M, 105 on E1M-X)
The SoM supply outputs must not be driven, back-fed or connected to another supply by the carrier.
Communication
Interface counts per form factor (E1M / E1M-X), from the specification's interface count overview:
- SPI — 2 / 3
- I²C — 2 / 4; I³C — 1 / 1
- UART — 2 / 2
- Debug UART —
DBG_TX/DBG_RX, a dedicated debug-console channel separate from the numbered UARTs, on both form factors: E1M padsAD3/AE3, E1M-X padsAC62/AD62 - CAN — 1 / 2; bus-level (
CANxH/CANxL) or, where the SoM declares it, logic-level (CANx_TX/CANx_RX) - USB — USB 2.0 1 / 1 and USB 3.x 1 / 2
- SDIO / SD card (4-bit) — 1 / 1
High-speed
- Ethernet — 2 / 2 ports, carried as pre-magnetics differential MDI pairs from the on-module PHYs (the carrier fits magnetics and RJ-45, not a PHY)
- PCIe 4-lane — 1 / 2
- MIPI CSI-2 4-lane — 2 / 4
- MIPI DSI 4-lane — 2 / 2
- Parallel camera — 8-bit on E1M, 16-bit on E1M-X
- Parallel LCD (24-bit RGB) — E1M-X only
A SoM routes a subset of these; the module datasheet lists what each SKU routes.
Audio
- I²S — 2 / 2
- PDM microphone — 2 / 2
- Audio master clock — 1 / 1
Analog
- ADC — 8 / 8
- DAC — 2 / 2
- Quadrature encoder — 4 / 4
Control / system
- PWM — 8 / 8
- GPIO — 23 / 34 default-function GPIO pads, plus GPIO as the universal secondary on every digital pad
- SWD / JTAG — debug interface
MODULE_EN,MODULE_STBY,PORn— module enable, standby request and power-on resetBOOT0..BOOT3— boot strapRTC_CLKOUT— RTC clock output;RTC_WAKE_N— active-low RTC wake output, an alternate function ofIO25(E1MP3, E1M-XF63)
Default-function vs alt-function
Each pad has exactly one default function that every conformant SoM shall carry on that pad. The default is what a generic carrier should wire if it wants vendor-portable behaviour.
Beyond default + GPIO, pads may carry alt-functions chosen by the SoM vendor. These are declared in the per-SoM manifest (metadata/e1m_modules/<MPN>.yaml in the Alp SDK). Alt-functions are not part of E1M conformance — relying on them locks you to a specific SoM family.
Naming convention
Pad identifiers follow the BGA-style convention <row-letter(s)><column-number> in the coordinate space of the form factor, in the top view: the letters name the rows (top to bottom), the numbers name the columns (left to right), and A1 is the top-left pad. A2 is directly right of A1, B1 directly below it.
A1,B2, … on E1M (35 × 35)A1, …,AQ15on E1M-X (45 × 65)
Signal names match the silkscreen field of the corresponding pad in the JSON pinout.
Alp SDK access
In firmware, address peripheral instances through the portable IDs in the pinout header for your form factor:
| Form factor | Header | Namespace |
|---|---|---|
| E1M (35 × 35) | <alp/e1m_pinout.h> | ALP_E1M_* |
| E1M-X (45 × 65) | <alp/e1m_x_pinout.h> | ALP_E1M_X_* |
// On an E1M (35 x 35) SoM:
alp_i2c_t *bus = alp_i2c_open(&(alp_i2c_config_t){
.bus_id = ALP_E1M_I2C0,
.bitrate_hz = 400000u,
});
// The same bus on an E1M-X (45 x 65) SoM — different namespace:
alp_i2c_t *bus = alp_i2c_open(&(alp_i2c_config_t){
.bus_id = ALP_E1M_X_I2C0,
.bitrate_hz = 400000u,
});
The two namespaces are deliberately separate, not interchangeable aliases. E1M-X reserves more instances than E1M (for example ALP_E1M_X_GPIO_IO0..IO35 against E1M's 26), so an app written against one form factor is not source-portable to the other — the split makes that a compile error rather than a silent mis-binding. Pick the namespace that matches the form factor you are targeting.
ALP_E1M_<CLASS>_COUNT and ALP_E1M_X_<CLASS>_COUNT document the portable instance count per class within their own form-factor family. An app that uses <CLASS><N> with N below the count works across every conformant SoM in that family; higher indices are vendor-specific extensions that the runtime accepts up to the SoC's own count, but using them forfeits the "swap the SoM, no software changes" property. See the <alp/peripheral.h> reference.
The ALP_ prefix belongs to the C API only. Connector pad names in board.yaml and in the SDK's carrier presets stay unprefixed — E1M_X_I2C2, E1M_X_GPIO_IO9, and so on. The SDK's board-header generator turns those route declarations into per-board macros that pull the matching prefixed pinout header.
Carrier-board design
For routing rules, decoupling, and footprint guidance, see the Design Guide.