Security - Access Control / TrustZone - nordic,nrf-spu
nRF5340 SPU (system protection unit)
Secure/Non-Secure partitioning model: stores `FLASHREGION`, `RAMREGION`, `PERIPHID`, NSC and GPIOPORT permission registers consulted by the bus IDAU/security controller and the NVMC (`FLASHREGION[n].PERM.LOCK` gates write/erase). Access violations injected by the bus latch `EVENTS_RAMACCERR`/`FLASHACCERR`/`PERIPHACCERR` and pulse the IRQ when enabled.
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
inject_eventInject an access-error event latch by name for fault-injection testing.
| Param | Parsed as | Description |
|---|---|---|
| event | string | Event name: `ramaccerr`, `flashaccerr`, or `periphaccerr`. |
All params travel as strings in the command JSON; the type shows how the peripheral parses them (0x/0b prefixes accepted for integers).