Skip to main content

aen-rpc-pingpong

OpenAMP RPMsg ping/pong between the two E8 M55 cores via Zephyr ipc_service over the ARM MHUv2 mailbox + a shared-SRAM0 vring. RESULT PASS — pongs = 16/16.

Source: examples/aen/aen-rpc-pingpong/.

What it does

  1. HP boots HE, then both endpoints bind over alif,mhuv2-mbox (the SDK's own MBOX driver, distinct compatible to stay collision-free against the vendor fork's arm,mhuv2).
  2. HP sends 16 pings; HE pongs each back; the count is verified.

The sibling aen-alp-rpc wraps the same transport behind the portable <alp/rpc.h> framed-RPC surface (16/16 PASS). With the AEN mailbox controller wired (mailbox.controller = alif_mhuv2, was TBD), alp_rpc_open is unblocked on AEN801.

board.yaml

som:
sku: E1M-AEN801

preset: e1m-evk

cores:
m55_hp:
app: ./src/host
m55_he:
app: ./src/remote

ipc:
endpoints:
- { name: pingpong, cores: [m55_hp, m55_he] }

diagnostics:
log_level: info

Expected output

[rpc-pingpong] endpoints bound
[rpc-pingpong] pongs = 16/16
[rpc-pingpong] RESULT PASS

See also

Questions about this page? Discuss in Community Forum