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
| Field | Type | Label |
|---|---|---|
| state_json | str | I2S State (JSON summary) |
| inten | u32 | INTEN (interrupt enable mask) |
| enable | u32 | ENABLE |
| ev_rxptrupd | u32 | EVENTS_RXPTRUPD latch |
| ev_stopped | u32 | EVENTS_STOPPED latch |
| ev_txptrupd | u32 | EVENTS_TXPTRUPD latch |
| ev_framestart | u32 | EVENTS_FRAMESTART latch |
| config_mode | u32 | CONFIG.MODE |
| config_mckfreq | u32 | CONFIG.MCKFREQ |
| config_ratio | u32 | CONFIG.RATIO |
| config_swidth | u32 | CONFIG.SWIDTH |
| config_channels | u32 | CONFIG.CHANNELS |
| rxd_ptr | u32 | RXD.PTR |
| txd_ptr | u32 | TXD.PTR |
| rxtxd_maxcnt | u32 | RXTXD.MAXCNT |
Read at runtime with emulator.peripheral_snapshot(name).