vemu.

Audio - I2S - nordic,nrf-i2s

nRF5340 I2S (inter-IC sound)

Functional I2S model with no real audio interface: `TASKS_START` fires `TXPTRUPD`/`RXPTRUPD` immediately (single-buffer completion model, IRQ when enabled). TX data is consumed via EasyDMA and discarded; the RX buffer is filled with silence (zeros). `TASKS_STOP` latches `STOPPED`. DPPI SUBSCRIBE/PUBLISH registers are modelled for `TASKS_START`, `TASKS_STOP` and all four events.

tickableext_dmaemits: signal_pulseemits: dma

Events emitted

No peripheral-specific events. Structured activity (IRQs, DMA) surfaces through the shared event vocabulary.

Events accepted

No peripheral-specific input events. The peripheral is driven through MMIO register access.

Commands

This peripheral exposes no commands.

Snapshot fields

FieldTypeLabel
state_jsonstrI2S State (JSON summary)
intenu32INTEN (interrupt enable mask)
enableu32ENABLE
ev_rxptrupdu32EVENTS_RXPTRUPD latch
ev_stoppedu32EVENTS_STOPPED latch
ev_txptrupdu32EVENTS_TXPTRUPD latch
ev_framestartu32EVENTS_FRAMESTART latch
config_modeu32CONFIG.MODE
config_mckfrequ32CONFIG.MCKFREQ
config_ratiou32CONFIG.RATIO
config_swidthu32CONFIG.SWIDTH
config_channelsu32CONFIG.CHANNELS
rxd_ptru32RXD.PTR
txd_ptru32TXD.PTR
rxtxd_maxcntu32RXTXD.MAXCNT

Read at runtime with emulator.peripheral_snapshot(name).

Boards using this peripheral