E1M-AEN
The E1M-AEN is an edge AI System-on-Module built around the Alif Semiconductor Ensemble family of processors. AEN modules use the 35 × 35 mm, 312-pad LGA E1M form factor and target low-power inference at the edge.
This page describes module hardware revision R3, as specified in the E1M-AEN Datasheet DS-AEN-001 revision 0.16 (status: Preliminary, October 2026). Differences that matter to existing R2 modules are labelled R2.
Module variants
All seven AEN SKUs share the common E1M footprint. Pick by Alif silicon tier: application-CPU (A32) count, NPU configuration, ISP / JPEG, on-die SRAM and external memory.
| SKU | Ensemble SoC (part) | A32 cores | NPUs | ISP / JPEG | On-die SRAM | External OSPI memory |
|---|---|---|---|---|---|---|
E1M-AEN301 | E3 (AE302F80F55D5LE) | — | 2 × U55 | — | 13.5 MB | assembly option |
E1M-AEN501 | E5 (AE512F80F55D5LS) | 1 × 800 MHz | 2 × U55 | — | 13.5 MB | assembly option |
E1M-AEN701 | E7 (AE722F80F55D5LS) | 2 × 800 MHz | 2 × U55 | — | 13.5 MB | assembly option |
E1M-AEN401 | E4 (AE402FA0E5597LE0) | — | 2 × U55 + 1 × U85 | Yes | 9.75 MB | assembly option |
E1M-AEN601 | E6 (AE612FA0E5597LS0) | 1 × 800 MHz | 2 × U55 + 1 × U85 | Yes | 9.75 MB | assembly option |
E1M-AEN801 | E8 (AE822FA0E5597LS0) | 2 × 800 MHz | 2 × U55 + 1 × U85 | Yes | 9.75 MB | not fitted |
E1M-AEN803 | E8 (AE822FA0E5597LS0) | 2 × 800 MHz | 2 × U55 + 1 × U85 | Yes | 9.75 MB | 512 Mbit HyperRAM + 256 Mbit NOR flash |
Every variant has 5.5 MB of on-die MRAM. The datasheet that specifies these variants (DS-AEN-001 0.16) is Preliminary.
E1M-AEN803 gained an SDK preset in alp-sdk v0.17.0. It uses the same E8 part as E1M-AEN801 (AE822FA0E5597LS0), with both external OSPI memories fitted (the AEN801 fits neither and runs from on-die MRAM). On AEN301 / 401 / 501 / 601 / 701 the external memories are an assembly option; the standard build has on-die memory only. Most AEN bench results since v0.17.0 were captured on an E1M-AEN803.
Alp SDK v0.17.0 supports E1M-AEN hardware revision R2. R3 support (power controller, switched supplies, self-off) follows in a later SDK release. On R3 the Wi-Fi / BLE module, the Ethernet PHY, the OSPI memories, the SD card supply and the camera LDOs are switched off until firmware enables them. The bench results on this page were captured on R2 modules.
At a glance
| Parameter | Value |
|---|---|
| Application CPU | Arm Cortex-A32: none (E3 / E4), 1 × 800 MHz (E5 / E6), 2 × 800 MHz (E7 / E8) |
| Real-time cores | 2 × Arm Cortex-M55: 1 × 160 MHz (HE) + 1 × 400 MHz (HP) |
| AI accelerators | 2 × Arm Ethos-U55 (all SKUs) + 1 × Arm Ethos-U85 (E4 / E6 / E8 only) |
| AI throughput | 250 GOPS (E3 / E5 / E7: 46 + 204 GOPS); 454 GOPS (E4 / E6 / E8: 46 + 204 + 204 GOPS) |
| ISP / JPEG encoder | On-die, E4 / E6 / E8 only |
| Memory | 13.5 MB (E3 / E5 / E7) or 9.75 MB (E4 / E6 / E8) on-die SRAM; 5.5 MB MRAM; external HyperRAM + NOR flash on one OSPI bus on E1M-AEN803 only |
| Wireless | 2.4 GHz Wi-Fi 6 + Bluetooth LE 5.4, on-module BDE-BW3501N (TI CC3501E) |
| Ethernet | 100 Mbit, TI DP83825 PHY on RMII |
| Supply | Single 5 V input (VDDIN), 4.75–5.25 V |
| Low-power standby | STOP ≈ 3.84 µA; self-off with RTC self-wake ≈ 1.14 µA (typical, calculated) |
| Operating temperature | −40 °C to +75 °C ambient |
| Form factor | E1M (35 × 35 mm), 312-pad LGA |
| OS targets | Zephyr · bare-metal on the Cortex-M55 cores; Linux on the A32 planned, not yet buildable |
| Hardware revision | R3 (datasheet DS-AEN-001 0.16, Preliminary) |
What's on the module
Figure: E1M-AEN block diagram (hardware revision R3, from DS-AEN-001 0.16). Dashed blocks are assembly options: CAN PHY, I-PEX MHF 4L RF connector; the OSPI memories are fitted on E1M-AEN803.
| Role | Part | Bus / address | Driver |
|---|---|---|---|
| Application SoC | Alif Ensemble E3..E8 | -- | (vendor HAL) |
| Wi-Fi 6 + BLE 5.4 (2.4 GHz) | BDE-BW3501N module (TI CC3501E) | inter-chip SPI + IRQ | <alp/chips/cc3501e.h> |
| RTC | Micro Crystal RV-3028-C7 | brd_i2c 0x52 (behind a level shifter, always-on 3.3 V side) | <alp/chips/rv3028c7.h>, or upstream Zephyr rtc_* (CONFIG_RTC_RV3028) |
| Temperature sensor | TI TMP112 | brd_i2c 0x40 | <alp/chips/tmp112.h>, or upstream Zephyr sensor API (CONFIG_TMP112) |
| EEPROM (SoM manifest) | onsemi N24S128C4DYT3G (128 Kbit) | e1m_i2c0 0x50 (+ 0x58 identity page) | <alp/chips/eeprom_24c128.h> |
| HyperRAM (AEN803 only) | 512 Mbit | OSPI0, chip select SS0 | — |
| NOR flash (AEN803 only) | 256 Mbit | OSPI0, chip select SS1 | — |
| Ethernet PHY | TI DP83825 | RMII + MDIO address 0 | none — see Ethernet |
There is no secure element on any R3 E1M-AEN.
On-module I2C topology — two buses, not one
The AEN SoM's I2C devices sit on two separate buses, both mastered by the Alif Ensemble SoC (DesignWare controllers on the upstream Zephyr i2c_dw driver). Don't assume a single shared bus when you plan a carrier-side extension:
| Bus | SoC controller | Devices |
|---|---|---|
brd_i2c | I2C0 | TMP112 (temperature) 0x40 · RV-3028-C7 (RTC) 0x52. On R3 the RTC and the on-module power controller sit behind a 1.8 V / 3.3 V level shifter on the always-on 3.3 V side. This bus is internal to the module. |
e1m_i2c0 | I2C2 | 24C128 EEPROM (SoM manifest) 0x50, plus 0x58 — the same EEPROM's identity page (Secure Data Page / Unique ID), not a second chip. This bus is the E1M I2C0 pads, I2C0_SDA (AD2) and I2C0_SCL (AE2), shared with the carrier. |
Those addresses are already occupied. A carrier device on I2C0 must not use 0x50 or 0x58: an address conflict corrupts reads of the module identity. The module has no pull-ups on I2C0: pull I2C0_SDA and I2C0_SCL up to VIO_OUT (1.8 V) on the carrier (for example 4.7 kΩ), never to 3.3 V or an always-on rail. The EEPROM runs from the module 1.8 V rail, so it answers only while VIO_OUT is high.
- TMP112 is at
0x40, not0x48. The fitted TMP112 package straps ADD0 to GND at0x40; bench-confirmed on three of three modules, with0x48silent. The earlier0x48is why the stock Zephyr TMP112 driver never bound. brd_i2cis mastered by the SoC's I2C0, not by the Secure Enclave as an earlier version of this page said.
RTC backup and wake
The RV-3028-C7 runs from the module's always-on 3.3 V rail whenever 5 V is present. Without 5 V it keeps time only from a backup store on the carrier, connected to the RTC backup input +S_CAP (AG15). The standard module has no backup element of its own. The carrier fits one of these (datasheet §4.2):
Backup on +S_CAP | RTC trickle charger | Notes |
|---|---|---|
| Coin cell: BR-type primary lithium, rated −40 °C to +85 °C, with a 100 Ω–1 kΩ series resistor | Disabled | Keeps time for years without 5 V. |
| Supercapacitor up to ≈ 100 mF, rated ≥ 3.3 V | Enabled by firmware, 15 kΩ only | The module charges it to about 3.05 V. Example: 47 mF keeps time for about 4.6 days at 25 °C. |
| Supercapacitor larger than ≈ 100 mF | Disabled | Needs a carrier charger: 1 kΩ from the carrier 3.3 V rail and a low-leakage silicon diode (not a Schottky). |
| None | Disabled | Tie +S_CAP to GND through 10 kΩ; do not leave it floating. Time is lost when 5 V is removed. |
Keep the total leakage on +S_CAP at or below 10 nA. The backup figures assume firmware sets the RTC backup switchover to Level Switching Mode: the RTC then runs from +S_CAP only while the store is above about 2.0 V (2.2 V worst case).
A primary lithium cell charged by the trickle charger can leak, vent or burst. Firmware must set the backup type to match the part on the carrier: charger off for a coin cell or no store, on (15 kΩ, never a lower value) only for a supercapacitor charged by the module. Never fit a carrier charger together with a coin cell. Alp SDK support for this setting follows R3 support in a later release; the v0.17.0 devicetree sets backup-switch-mode = "disabled" and enables no trickle charger. Until then, configure the RTC backup switchover and trickle charger in your own firmware to match the carrier's store. See aen-rtc-alarm.
RTC_WAKE_N (pad P3, E1M IO25) is an open-drain, active-low wake output to the carrier, new on R3. It goes low on an RTC alarm, timer or stand-by event and stays low until firmware clears the RTC flags, and it is valid in every power state while VDDIN is present. The module has no pull-up: fit one on the carrier to its always-on rail (≤ 5.5 V, ≥ 10 kΩ), or leave the pad floating if it is not used. The RTC clock output is on RTC_CLKOUT (AH16), buffered to 1.8 V and valid only while VIO_OUT is high.
R2 has no +S_CAP backup input and no backup supply fitted on the RTC: neither the time nor a pending alarm survives a power cycle, so every cold boot starts from an unset clock, and wall-clock time across a power cycle has to come from the network or the host. On R2 the pad P3 is not connected (no RTC_WAKE_N).
The SoC's own LPRTC — what the portable alp_rtc_set_time() / alp_rtc_get_time() calendar runs on — is not a precise substitute. The R2 AEN bench modules have no 32 kHz LFXO fitted (the Secure Enclave reports No LF XTAL on every boot), so the LPRTC runs permanently from the internal LFRC oscillator, about 5 % off — roughly 72 minutes per day of drift. Re-sync periodically from an external source if wall-clock accuracy matters.
Reset and brownout supervisor
R3 modules carry an on-module brownout supervisor: it watches the 3.4 V SoC supply with a 2.9 V threshold and holds PORn (W1) low when the supply falls, so the SoC reset is ordered (datasheet §1.4 and §4.1). An R3 carrier needs no brownout circuit. It has to:
- keep
VDDINwithin 4.75–5.25 V, and at or below the 5.5 V absolute maximum including transients. The module has no input protection onVDDIN: the carrier provides over-voltage protection (a TVS ahead of an eFuse with over-voltage cutoff; a 5 V TVS alone clamps well above 6 V) and inrush limiting; - fit hold-up capacitance close to
VDDIN: at least 50 µF effective per A of total load on theVDDINnode (for example ≥ 47 µF effective for the 834 mA module peak), plus 100 nF; - leave
PORnas it is on the module (100 kΩ pull-up to 1.8 V and 1 nF): no carrier pull-up, no capacitor, and never drive it high. To reset the SoC, pull it low for ≥ 2 ms with an open-drain output.
R2 modules have no reset or brownout supervisor (module erratum E-02, see the E1M-AEN Errata). Alif errata ER004 (E4, E6 and E8, all silicon revisions) requires the SoC to be held in reset while its supply is below 1.65 V, or the Ensemble SoC can be permanently damaged. On an R2 module that is the carrier's job: fit a brownout supervisor that holds PORn low before the SoC supply falls below 1.65 V. The R2 impact and workaround are in the errata.
Hardware revision R3: carrier-visible changes from R2
Carrier boards designed for R2 must be checked against this table before they carry an R3 module (datasheet §1.4).
| Item | R2 | R3 |
|---|---|---|
| USB 2.0 pads | I1 / J1 / I2 / J2 | B1 / C1 / C2 / D2 (I1, J1, I2, J2 not connected) |
| IO8, IO9, IO10, IO11 (AG33, AH34, AH33, A18) | Wi-Fi module GPIOs | SoC GPIOs P15_1, P15_7, P15_5, P7_5; IO8, IO9 and IO10 can wake the SoC from STOP |
| IO21–IO24 (L3, M3, N3, O3) | Not connected | Wi-Fi module GPIOs (valid only while Wi-Fi is powered) |
| IO25 (P3) | Not connected | RTC_WAKE_N open-drain wake output to the carrier |
MODULE_STBY (O2) | RTC event input only, 1.8 V (100 kΩ pull-up to 1.8 V on the module) | Sleep / wake / self-off control, 5 V tolerant |
MODULE_EN (O1) | Module enable | Module enable with a 1.0 ms glitch filter, 5 V tolerant |
| Reset and brownout supervisor | None on the module (erratum E-02) | On-module supervisor |
+S_CAP (AG15) | — | RTC backup input |
VIO_OUT (P1, P2) | 200 mA | 100 mA, ≤ 2.5 µF carrier load |
+V_CAM0 / +V_CAM1 | 0.6–3.3 V, 300 mA each | 0.6–3.1 V, 170 mA combined |
VDDIN operating range | 4.5–5.5 V | 4.75–5.25 V |
| Wi-Fi, Ethernet PHY, OSPI memory supply | Wi-Fi switched by a SoC GPIO; Ethernet PHY and OSPI memory always powered | All switched off by default; enabled by the Alp SDK on demand |
SD_VDD (AH10) | Supply input: the carrier powers the SD card | 3.4 V output from the module, switched by firmware, off by default |
| Self-off with RTC self-wake | — | Yes |
SD_VDD (AH10) is a module output on R3 — remove any carrier supply from AH10On R3, SD_VDD is a 3.4 V output of the module (up to 212 mA, switched by firmware, off by default) that powers the SD card. An R2 carrier powers the card through AH10; carrying an R3 module on such a carrier puts two supplies on the same net. Remove any carrier supply from AH10 before fitting an R3 module, and never connect a carrier supply to this pad. The module has no current limit on SD_VDD: protect the card socket on the carrier (a short on SD_VDD resets the module repeatedly). Pull SD_DET (AG14) up to VIO_OUT only, never to SD_VDD or 3.3 V.
The MIPI CSI-2 pad polarity in the datasheet (P33/P34, Q33/Q34, R33/R34) applies to R3. On R2 the P and N pads of each CSI-2 lane are swapped on the module.
CC3501E coprocessor
Wi-Fi 6 and BLE 5.4 ride an on-module BDE-BW3501N combo module, based on the TI CC3501E wireless MCU, rather than driver-level Wi-Fi on the Alif silicon. The radio is 2.4 GHz only (802.11ax, backward-compatible with 802.11 b/g/n; 20 MHz channels; application throughput up to 20 Mbps UDP). The Alif is master; the host driver speaks the documented inter-chip protocol over SPI + IRQ. There is no SDIO link to the wireless module.
The antenna feed is the ANT_2.4GHZ pad (AH1): route it as a 50 Ω trace to a carrier antenna or connector. ANT_5GHZ (AF1) and ANT_6GHZ (AD1) are not used on E1M-AEN. An on-module I-PEX MHF 4L RF connector is an assembly option. The E1M SPI1 pads (AG8, AG9, AG10, AH8, AH9) and the IO13, IO15–IO24 pads belong to the wireless module, not to the Ensemble SoC: they are valid only while Wi-Fi is powered, and must never be driven while Wi-Fi is off. The wireless certificate IDs (FCC Part 15, RED / CE, ISED RSS-247, MIC) are TBD in DS-AEN-001 0.16; the FCC modular grant is pending.
As of alp-sdk v0.17.0 the bridge firmware lives in its own repository, alplabai/cc3501e-bridge-firmware — it is no longer embedded in the SDK tree. alp-sdk keeps the host driver and the canonical wire-protocol header (<alp/protocol/cc3501e.h>), which the firmware compiles against. The bridge is silicon-validated on the E1M-AEN801 (Alif E8): beyond the META group (PING / GET_VERSION / GET_MAC / RESET), real-silicon Wi-Fi scan (with security decode), Wi-Fi STA connect (asynchronous, worker-routed), BLE scan (ble_gap_disc), and the GPIO proxy have all passed on the bench.
Wi-Fi + BLE now run concurrently. The earlier "use one radio at a time" limitation is resolved: wifi scan, ble enable, and an async WPA3 wifi connect all succeed together on the E1M-AEN801 EVK bench, and the link survives the combined radio load. The prior block traced to the closed NWP firmware's SoftGemini coexistence arbiter surfacing on the older chip-select-less transport; the current hardware-SS0 transport plus the worker-routed async path clears it. This is a bench result, not a production-certification claim — qualify concurrency on your own hardware before shipping.
alp-sdk v0.17.0 ships a set of diagnostic bench apps (see AEN bench + bring-up tools) for link wedges that are still open on the current bench modules: a WIFI_CONNECT_STA that wedges the bridge link, a WIFI_SCAN_START wedge, and repeated BLE advertise/stop cycles wedging the bridge (cc3501e_recover() clears that one). The concurrency and connect results above are bench results on earlier runs, not a production-certification claim — qualify Wi-Fi/BLE on your own hardware and firmware before shipping.
Prebuilt, signed firmware images now come from that repository's prebuilt/ directory: verify each against the .sha256 and .sig shipped beside it before flashing. The AEN SoM presets' cc3501e_otp helper entry deliberately carries no firmware_path any more — a stale in-tree path would be indistinguishable from a good one until someone tried to flash it.
Protocol 4.0 moves the success status off 0x00 and adds a CRC-16/CCITT-FALSE trailer to every frame, so a link that stopped shifting mid-reply can no longer read as a valid empty success. The alp-sdk v0.17.0 host is bilingual: cc3501e_reset() accepts a protocol-3 or protocol-4 coprocessor and decodes each with its own rules. Roll fleets in this order: first the host image (it lands through MCUboot and does not depend on the coprocessor), then OTA the coprocessors to 4.0 through that already-bilingual host. A host that refused protocol 3 would strand every board still on 3.x firmware, because OTA is the only way to move it to 4.0.
tan flash does not program the CC3501EEvery AEN SKU's cc3501e_otp helper entry carries flash_policy: recovery_only. Alp Lab programs this part in production; a customer flash is permitted only to recover a bricked device, using Alp Lab-supplied binaries. tan flash therefore declines the entry rather than driving it, and field updates arrive over update_channel: alp_ota_spi_otp — the OTA-over-bridge path described below.
flash_policy is now a required key on every helper_firmware[] entry (schema som-preset-v2.schema.json, helper_firmware_entry.required = ["name","chip","flash_policy"]). Its three values are customer / factory / recovery_only, and there is no absent-means-customer default — an entry without the key fails validation. flash_policy, flash_method and update_channel are three independent axes: the old mutual exclusion between flash_method and update_channel was deleted.
The inter-chip SPI link uses a hardware SS0 chip-select driven by the Alif SPI controller (the application passes ALP_SPI_NO_CS), not the CS-less 3-wire framing the firmware also supports. Per-phase READY gating is optional: it is opt-in and left unwired by default on the current module, and the gate can only add settle time, never shorten it. The bench examples run the link at 25 MHz.
alp_spi_t *bus = alp_spi_open(&(alp_spi_config_t){
.bus_id = ALP_E1M_SPI1,
.freq_hz = 25000000,
.mode = ALP_SPI_MODE_0,
.bits_per_word = 8,
.cs_pin_id = ALP_SPI_NO_CS, /* controller drives hardware SS0 */
});
cc3501e_t fw;
cc3501e_init(&fw, bus);
cc3501e_reset(&fw);
The full bridge protocol (defined in <alp/protocol/cc3501e.h>) covers Wi-Fi (scan / STA / AP / RSSI / IPv4), BLE (GAP + GATT), a GPIO proxy (configure / read / write / edge-interrupt CC3501E pins, plus the two camera-LDO enables), a power-policy request (cc3501e_power_policy() with PERFORMANCE / BALANCED / LOW_POWER / DEEP_SLEEP — ALP_OK means queued, not applied; the optional radio_ok_out flag reports whether the previous radio apply was realised), and OTA-over-bridge firmware update (PSA-FWU streaming, RAM-stage + flash-window recovery). On real E8 silicon the GPIO proxy is bench-validated (pass=8 / fail=0). The host chip driver header is <alp/chips/cc3501e.h>; see the aen-cc3501e-bringup example. For a long-idle node, cc3501e_power_off() cuts the coprocessor supply (calls then fail fast with ALP_ERR_NOT_READY rather than timing out) and cc3501e_reset() wakes it.
CC3501E OTA cold-swap
The full OTA cold-swap cycle is silicon-proven on the E1M-AEN801 EVK: a candidate image streams over the bridge → psa_fwu accepts it (STAGED) → the CC3501E's own psa_fwu_request_reboot() performs the swap (the bridge drops for ~2 s, then returns running the new image) → the swapped image self-accepts and persists across a true cold power-on reset, with no rollback.
Two rules follow from the bench campaign, and both matter for a fielded fleet:
- The candidate's version must be above the primary's. A downgrade is refused by
psa_fwuat install. The bootloader enforces version monotonicity against the last-seen version even when the rollback-protection fuses read zero — a lower-versioned image can stream cleanly and then simply never boot. - The swap is completed by the companion itself, not by a host power-cycle. A bare cold reset carries no swap request, so it leaves a staged image inert.
Protocol v4 adds OTA_PROMOTE (0x46) for exactly that case: it requests the swap-reboot for an image already committed to STAGED — for example one left pending by a reset that carried no swap request. It is the unjam path that OTA_FINISH cannot re-reach once the slot is occupied. The bump is additive: a v3 host never sends it, and v3 firmware rejects it.
Ethernet
The module carries a single 100 Mbit TI DP83825 PHY on RMII, with the 50 MHz reference clock from an on-module oscillator. Magnetics, connector and EMI / ESD protection go on the carrier. On R3 the PHY supply is switched off until firmware enables it. There is no <alp/ethernet.h> and no <alp/net.h> — Ethernet's data plane and its generic control plane sit deliberately outside the portable <alp/*> surface. What the SDK gives you instead is three layers:
| Layer | On AEN |
|---|---|
| Compile-time capability | ALP_CAP_HW_ETHERNET |
| Form-factor port identity | ALP_E1M_ETH0, with ALP_E1M_ETH_COUNT 1u |
| PHY chip driver | none on AEN |
Because AEN has no PHY chip driver, an AEN application drives Ethernet through plain Zephyr net_if / DHCPv4. (The V2N / V2N-M1 family does ship one — <alp/chips/rtl8211fdi.h>.)
Every Alif Ensemble SoC (E3..E8) reports an Ethernet controller count of 1.
PHY MDIO address is 0 (corrected)
The devicetree declared the PHY at MDIO address 1 — ethernet-phy@1 { compatible = "ti,dp83825"; reg = <1>; } — carried over from a fork reference with a self-flagged "verify" comment. Silicon answers at address 0. zephyr/dts/alif/ensemble_e8_peripherals.dtsi now declares ethernet-phy@0 { ... reg = <0>; }; the MDIO parent is compatible = "snps,designware-mdio". If you copied the old node into your own overlay, fix the reg — an MDIO scan at address 1 finds nothing.
Bench evidence, verbatim from examples/aen/aen-ethernet-link:
[eth] MDIO PHY@0 id=2000a140
2000a140 is the DP83825's published PHY identifier (PHYID1 + PHYID2).
The SDK now carries a chip manifest for the part at metadata/chips/dp83825.yaml:
| Field | Value |
|---|---|
phy_id_pattern | 0x2000a140 — PHYID1+PHYID2, bench-confirmed on real E8 silicon |
driver_status | none — no alp-sdk PHY chip driver exists (ADR 0023 layer-3 gap) |
verification.hil_silicon | verified — link + DHCP, examples/aen/aen-ethernet-link RESULT PASS on real E8 silicon |
kconfig.zephyr | n/a — there is no ALP_SDK_CHIP_DP83825 symbol |
mpn_population | ["DP83825"] — family only |
The exact order code is unresolved. mpn_population carries the family DP83825 only. The DP83825I label was dropped from the devicetree with the address fix and must not be promoted back — the bench-read id=2000a140 is die/OUI identity only and does not distinguish the DP83825's grade or package suffixes. Earlier revisions of this page named the part TI DP83825IRMQR; that suffix is not established by anything in the SDK or on the bench. Confirm against your own netlist/BOM before you order.
The managed-MDIO path is not proven end to end. MDIO_DWMAC_ALIF plus the upstream phy_ti_dp83825 driver has been exercised at the MDIO layer only (PHY-ID and register reads at address 0). Link and traffic over that path are still UNPROVEN. The bench PASS above reaches the PHY through the eth_dwmac_alif_ensemble MAC glue plus raw MDIO register reads in application code — not through a PHY driver.
All seven AEN SKUs declare on_module.ethernet_phy: dp83825 in their module presets.
Inference
AEN's NPUs are exposed through the SDK's <alp/inference.h> dispatcher. The TFLite-Micro library picks the right backend per SKU:
| SKU | Primary NPU | Kconfig |
|---|---|---|
| AEN301 / AEN501 / AEN701 (E3 / E5 / E7) | 2× Ethos-U55 | CONFIG_ALP_TFLM_ETHOS_U55=y |
| AEN401 / AEN601 / AEN801 / AEN803 (E4 / E6 / E8) | 1× Ethos-U85 (primary) + 2× Ethos-U55 (secondary) | CONFIG_ALP_TFLM_ETHOS_U85=y + CONFIG_ALP_TFLM_ETHOS_U55=y |
Models are Vela-compiled TFLite Micro programs. The SDK ships a complete reference at examples/aen/edgeai-vision-aen (camera → ISP → Ethos-U inference → OLED overlay).
On the E8 the NPU complex is 1× Ethos-U85 (256-MAC) + 2× Ethos-U55 (three accelerators, two devicetree nodes). Real person_detect MobileNet inference (int8, 100 % NPU) runs to completion on the U85 with the model resident in MRAM — bench-validated, see aen-npu-inference. Any DMA-master block on the E8 M55 (the NPU, GMAC, SDHC) must keep its DMA-visible buffers in global SRAM0/SRAM1 with CONFIG_DCACHE=n — never the M55 DTCM, which is off the DMA bus.
E1M-AEN801 (Alif E8) bench status
The bench results in this section were captured on hardware revision R2 modules, which is what Alp SDK v0.17.0 supports. v0.7 is the first full on-silicon bring-up of the E1M-AEN801 (Alif Ensemble E8). The default burn path is Flow D — J-Link direct MRAM flash, which activates with the part-number device profile AE822FA0E5597LS0_M55_HE (not the generic Cortex-M55 profile) and needs the J-Link V9.46+ DLL.
tan v0.7.0: a Flow D MRAM write needs --atoc-unqueryableA Flow D write replaces the whole ATOC — any other image the existing ATOC lists is delisted. As of tan v0.7.0 a confirmed Flow D write refuses until you acknowledge that with tan flash --atoc-unqueryable (or flash_args.atoc_unqueryable: true in the manifest) — --confirm alone is not enough, and there is deliberately no environment-variable form. --dry-run and unconfirmed runs still preview, and the preview now states the whole-ATOC replacement. A manifest with both an m55_he and an m55_hp Flow D slice is now written as one signed ATOC naming both cores (earlier tan releases signed one ATOC per slice, so the second write delisted the first core).
The part-number profile's reach has been re-established: on J-Link DLL V9.46+ it also connects to a live, running core (bench-confirmed 2026-06-16). The older "will not connect to a live/running secure core" restriction applies only to DLLs older than V9.46. The generic Cortex-M55 profile remains the documented choice for read / RAM-run regardless of DLL version.
Wrong-board guard: expect_dpidr
An AEN MRAM write previously had no wrong-board guard at all — the SW-DP IDR was published nowhere, so a flasher had nothing to check before it started writing. Flash the wrong board on a shared bench and you overwrite silicon you did not mean to touch.
The SoC spec schema now carries debug.expect_dpidr (type: string, pattern: "^0x[0-9A-Fa-f]{8}$"): the ADIv5 SW-DP IDR the variant's debug port answers, read before any write while the session is still read-only. It is consumed as flash_args.expect_dpidr and is paired with the variant's per-core debug.jlink_device. It is a property of the debug port, not of a core — one string per variant, not a per-core map.
Bench identities on the E1M-AEN801, unchanged:
| Value | Reading |
|---|---|
| CPUID | 0x411FD220 |
| SW-DP IDR | 0x4C013477 |
Populate expect_dpidr only from a measurement on your own silicon. An absent key is the correct way to publish "unknown" and simply leaves the guard unarmed; a guessed value is strictly worse than absent — if it happens to match another board on the same bench, the guard passes on exactly the board it exists to exclude.
15 of 17 aen-* apps PASS on real silicon:
| Status | Peripherals |
|---|---|
| ✅ PASS | GPIO, UART, PWM (UTIMER), SPI, Counter, I²C + EEPROM (24C128), Watchdog (CMSDK), ADC, DAC, Ethernet (GMAC), Ethos-U85 + Ethos-U55 NPU inference, PDM mics (48 kHz rate confirmed; acoustic capture verified on mic ch0/ch1 only), I²S TX (controller + clock path; i2s3 now ships disabled on EVK 2626-R2 — see below), CRC / DMA (PL330) / HWSEM / LPTIMER / LPRTC regchecks |
| ❌ NOT A DECODER (measured) | Quadrature encoder on the E8 UTIMER — see the warning below |
| ⛔ DISABLED on the E1M-EVK 2626-R2 | SD card — see the caution below |
Highlights:
-
Ethernet is BENCH-VERIFIED — DHCP lease acquired, server-side REACHABLE. The fix was placing the GMAC DMA descriptor rings + net_buf pool in global SRAM0, not the M55 DTCM, with
CONFIG_DCACHE=n. Since alp-sdk v0.17.0 only those Ethernet buffers move (the ethernet node'smemory-regionplusCONFIG_ETH_DWMAC_ALIF_NET_BUF_IN_DMA_REGION); main RAM stays on DTCM — seeaen-ethernet-link. -
Analog — DAC and ADC bench-confirmed with corrected references (DAC 0.750 V, ADC 1.8 V) via a DAC0 → ADC loopback.
-
Dual-core — both M55 cores (HE + HP) boot via the SE runtime boot service; HE↔HP IPC works over ARM MHUv2 (
alif,mhuv2-mbox): shared-memory round-trips, MHU-1 doorbell, and OpenAMP RPMsg pingpong all PASS. -
Security — SE-CryptoCell AES / SHA / AEAD compute is default-ON and bench-validated; the portable
<alp/security.h>PSA surface routes to the hardware accelerator transparently. -
Camera + vision (since v0.17.0, on E1M-AEN803) — Raspberry-Pi-style CSI-2 camera first light through the portable
<alp/camera.h>: OV9281 and OV5647 bench-verified (both due a re-bench after a shared CPI driver change), IMX296 and IMX335 raw capture bench-verified; real sensor frames through the ISP-Pico with AE/AWB; and continuous MJPEG streaming over Ethernet through the Hantro JPEG encoder. Colour calibration exists for the OV5647 only. An E1M-AEN hw_rev r2 (2626-R2) on the E1M-EVK swaps the P and N wires of all three CSI-2 differential pairs, so these modules need a short P/N-crossing adapter on the 15-pin camera connector — without one the sensor answers its I²C probe but no frame ever arrives. R3 modules have the datasheet CSI-2 polarity and need no adapter. -
Low power (since v0.17.0) —
alp_power_request_sleep()with the STOP mode passed 3 of 3 cycles on an E1M-AEN803, waking from the LPTIMER, an RV-3028-C7 countdown and an RV-3028-C7 alarm, on the M55-HE and on the M55-HP (the AEN801 HP build is unmeasured; STANDBY is untested). STOP wakes through a cold boot, so the image must run from MRAM. The SoM power-domain runtime (alp_power_domain_info(),alp_power_domain_policy_set(),alp_power_boot_wake_info()) is implemented for AEN; see<alp/power.h>.
Measured on an E1M-AEN803 (25 s of hand motion): the UTIMER QEC channel counts one input's rising edges up and the other's down with no qualification by the other phase — an undirected edge counter, not a quadrature decoder — so contact bounce accumulates as drift. The portable alp_qenc_open() / alp_qenc_get_position() backend resolves whatever device the alp-qenc0 devicetree alias names, so point that alias at a Zephyr gpio-qdec node (a debounced software Gray-code decoder over the same pads), as the qenc-readout example's AEN overlays do — never at the UTIMER QEC channel. Do not rely on hardware quadrature decoding on AEN today.
The EVK's SDIO 74LVC157 mux has no high-impedance state: whenever it is powered it holds the SoC-facing SDIO nets low, regardless of its enable input. Enabling the SoC's SD host controller would put the SoC's own CLK/CMD drivers in a fight with those held-low outputs, so the SDK keeps sdhc0 disabled on this board revision. This is a hardware defect pending a component change, not a firmware workaround — do not re-enable sdhc0 in your own overlay on a 2626-R2 EVK. (Earlier SDK docs described the mux's disabled state as isolating; that was wrong.)
The EVK's I²S0 mux has the same no-Hi-Z part and is wired backwards for audio out — its outputs drive the SoC's own I²S pads — so the SDK's audio examples (aen-i2s-amp-alif, aen-evk-demo) keep their i2s3 node status = "disabled" by default; re-enabling it takes an explicit -DEXTRA_DTC_OVERLAY_FILE=i2s3-enable-post-u46-rework.overlay, which is only safe on a reworked EVK. See Evaluation Kits — known board issues.
See the AEN examples for the per-peripheral bench apps.
New portable classes: I3C and JPEG
Two portable classes are new to the surface AEN supports:
<alp/i3c.h>— I3C controller. Per-tier instance counts: E3 = 1, E4 = 2, E5 = 1, E6 = 2, E7 = 1, E8 = 2.<alp/jpeg.h>— JPEG encoder. The on-die ISP and JPEG encoder exist on the E4 / E6 / E8 tiers only. The SDK's hardware backend is the Alif E8 Hantro VC9000E encoder, bench-verified on real E1M-AEN801 silicon (API marked experimental); bench verification so far covers the E8 only. Without a hardware backend the SDK falls back to a portable software encoder.
Application MRAM partition map
Alp SDK v0.17.0 uses the same partition map on all seven E1M-AEN variants. Both M55 cores boot from the same physical App MRAM, so each core gets a disjoint slot0 window.
| Region | Base | Size | Accessible from |
|---|---|---|---|
mcuboot | 0x80000000 | 64 KiB | m55_he, m55_hp |
he_slot0 | 0x80010000 | 2688 KiB | m55_he |
hp_slot0 | 0x802b0000 | 2688 KiB | m55_hp |
reserved | 0x80550000 | 64 KiB | m55_he, m55_hp |
storage | 0x80560000 | 96 KiB | m55_he, m55_hp |
atoc | 0x80578000 | 32 KiB | m55_he, m55_hp |
64 + 2688 + 2688 + 64 + 96 + 32 = 5632 KiB — the full 5.5 MiB App MRAM.
New atoc region — storage shrank from 128 KiB to 96 KiB
storage, re-check itstorage was 128 KiB and is now 96 KiB. The 32 KiB that came off it became the new atoc region at 0x80578000. No other region moved — every image geometry above is byte-identical to the previous layout.
atoc is an SE-owned band at the very top of the App MRAM. Alif's SETOOLS top-anchors the generated ATOC application package at 0x80580000 and grows it DOWNWARD, sized to the package — placement happens at provisioning time, not link time, so there is no fixed address to carve around, only a band to reserve. Before this fix every AEN board handed applications a writable partition sitting directly on top of the SE boot table: an app erasing inside storage could take the boot table with it.
Sizing evidence, all measured against the window top 0x80580000:
| Observed size | Source |
|---|---|
| 5552 B | bench-observed 2026-08-08 — ATOC magic ckBS (0x53426B63) read intact at 0x8057EA50 |
| 13552 B | E7 SETOOLS transcript |
| 23696 B | worst case from the SETOOLS package-map sizing rule at the 8-image maximum |
32 KiB leaves 9072 B spare at 8 images. The 8-image maximum is an assumption — no documented maximum TOC entry count was found. If a larger configuration turns up, widen the band; never narrow it.
AEN401 / AEN601 board wrappers (pre-silicon)
The E1M-AEN801 (Alif E8) is the silicon-validated member of the family. v0.9.0 adds two more Zephyr board wrappers — for the E4 and E6 Ensemble tiers — that build against real Alif device-tree sources but have not yet been on a bench. They are compile-verified and pre-silicon: each produces a real zephyr.bin, but live bring-up is gated until hardware is in hand.
| SKU / silicon | Board target | State |
|---|---|---|
E1M-AEN401 — Alif Ensemble E4 (AE402FA0E5597LE0) | alp_e1m_aen401_m55_hp/ae402fa0e5597le0/rtss_hp | Compile-verified, bench-gated |
E1M-AEN601 — Alif Ensemble E6 (AE612FA0E5597LS0) | alp_e1m_aen601_m55_hp/ae612fa0e5597ls0/rtss_hp | Compile-verified, bench-gated |
Both mirror the AEN801 M55-HP baseline: the E1M-EVK debug console on Alif UART5, the on-die MRAM flash controller, and an MCUboot-compatible 5632 KiB partition map (64 KiB mcuboot + two 2688 KiB image slots + scratch + storage). Take the exact region table — the disjoint dual-core layout with the atoc band, the same on every AEN SKU — from the partition map above, not from these wrappers.
- AEN401 (E4) — 2× Cortex-M55 + 2× Ethos-U55 + 1× Ethos-U85 (no Cortex-A32 / Linux core). Beyond the baseline it wires a USB host controller node (xHCI USB-2.0 dual-role,
alif,xhci-uhc) for USB-host workloads (see<alp/usb.h>). - AEN601 (E6) — carries an A32 alongside the M55 pair, but this wrapper is the M55-HP subsystem only; the A32/Linux core is out of scope for the Zephyr baseline. It boots console + storage from on-die MRAM; the on-module buses (GPIO / I²C / SPI / Ethernet / USB) and inter-core IPC are added once grounded and benched on E6 silicon.
Treat these as engineering pre-enablement, not production targets — only the E8 (AEN801 / AEN803) has passed on-silicon bring-up. The E3/E5/E7 (AEN301/AEN501/AEN701) tiers do not yet carry a dedicated AEN board wrapper in the SDK.
Debug console
The E1M-AEN (hardware revision R3) brings the Secure Enclave UART (SE-UART) of the Ensemble SoC out on two dedicated E1M pads:
| E1M pad | Signal |
|---|---|
AD3 | DBG_TX |
AE3 | DBG_RX |
These are dedicated SoC pins at 1.8 V, not GPIOs. The SE-UART is the path for programming MRAM with the Alif Security Toolkit and carries the Secure Enclave console: expose it on development and production carriers. DBG_TX has a 33 Ω series resistor; DBG_RX has 1 kΩ in series and a 1 MΩ pull-up to 1.8 V on the module. Drive DBG_RX only while VIO_OUT is high.
The application console of the SDK board targets (Alif UART5) is on the E1M UART0 pads: UART0_TX (F2, SoC P3_5) and UART0_RX (G2, SoC P3_4).
Boot + identification
AEN follows the standard two-stage SoM-ID flow used by every Alp Lab module family:
- EEPROM manifest — 128-byte block on the on-module 24C128 EEPROM carrying family / SKU / hw_rev / serial / mfg date. Read via
alp_hw_info_read(). - BOARD_ID ADC — per-rev resistor divider sampled by the SDK at boot to confirm the running firmware matches the hardware revision.
See <alp/hw_info.h>.
Getting started
- Mount the E1M-AEN on a compatible board (E1M-EVK or custom) using the E1M LGA pads.
- Install the Alp SDK.
- Drop a
board.yamlat your app root withsom.sku: E1M-AEN801(or your SKU) andpreset: e1m-evk. - Build and flash with
tan build && tan flash. See the Quick Start.
Board targets
Six AEN board targets exist in the SDK's Zephyr board tree today. Alif Ensemble parts are multi-core, so a bare west build -b needs the fully-qualified identifier; tan build derives it from your board.yaml.
| SKU / silicon | Board target | Qualified identifier |
|---|---|---|
E1M-AEN801 (E8), HP core | alp_e1m_aen801_m55_hp | alp_e1m_aen801_m55_hp/ae822fa0e5597ls0/rtss_hp |
E1M-AEN801 (E8), HE core | alp_e1m_aen801_m55_he | alp_e1m_aen801_m55_he/ae822fa0e5597ls0/rtss_he |
E1M-AEN803 (E8), HP core | alp_e1m_aen803_m55_hp | alp_e1m_aen803_m55_hp/ae822fa0e5597ls0/rtss_hp |
E1M-AEN803 (E8), HE core | alp_e1m_aen803_m55_he | alp_e1m_aen803_m55_he/ae822fa0e5597ls0/rtss_he |
E1M-AEN401 (E4), HP core | alp_e1m_aen401_m55_hp | alp_e1m_aen401_m55_hp/ae402fa0e5597le0/rtss_hp |
E1M-AEN601 (E6), HP core | alp_e1m_aen601_m55_hp | alp_e1m_aen601_m55_hp/ae612fa0e5597ls0/rtss_hp |
Documents
- E1M-AEN Datasheet — DS-AEN-001 0.16 (Preliminary), hardware revision R3
- E1M-AEN Errata — including erratum E-02 (no brownout supervisor on R2)
Resources
- Firmware quickstart — AEN-specific patterns
<alp/inference.h>— Ethos-U dispatcher- Chip catalogue — every on-module driver
- Industrial inquiries

