Memory & Storage - Cache - nordic,nrf-cache
nRF5340 CACHE
Transparent no-op cache controller: READY always reads 1, TASKS_STARTERASE latches EVENTS_STARTED and EVENTS_DONE in the same write (instant erase), INTEN/INTENSET/INTENCLR gate the IRQ, and ENABLE/PROFILING are stored with no effect on memory access behaviour or timing.
Events emitted
nrf.cache.erase_doneFires immediately after nrf.cache.erase_started: the emulated erase completes in the same write cycle, so EVENTS_DONE is set atomically.
Payload
Empty payload object.
nrf.cache.erase_startedFires when TASKS_STARTERASE is written and the EVENTS_STARTED latch is set. In emulation the erase is instantaneous so EVENTS_DONE fires in the same write cycle.
Payload
Empty payload object.
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 | CACHE State (JSON) |
| inten | u32 | INTEN |
| enable | u32 | ENABLE |
| profiling | u32 | PROFILING |
| ev_started | bool | EVENTS_STARTED |
| ev_done | bool | EVENTS_DONE |
Read at runtime with emulator.peripheral_snapshot(name).