PERIPHID[n].PERM

nRF5340 Product Specification

Address offset: 0x800 + (n × 0x4)

List capabilities and access permissions for the peripheral with ID n

Note: Reset values are unique per peripheral instantation. Please refer to the peripheral instantiation table. Entries not listed in the instantiation table are undefined.
Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID F E D C B B A A
Reset 0x00000012 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0
ID R/W Field Value ID Value Description
A

R

SECUREMAPPING

Define configuration capabilities for Arm TrustZone Cortex-M secure attribute

NonSecure

0

This peripheral is always accessible as a non-secure peripheral

Secure

1

This peripheral is always accessible as a secure peripheral

UserSelectable

2

Non-secure or secure attribute for this peripheral is defined by the PERIPHID[n].PERM register

Split

3

This peripheral implements the split security mechanism. Non-secure or secure attribute for this peripheral is defined by the PERIPHID[n].PERM register.

B

R

DMA

Indicates if the peripheral has DMA capabilities and if DMA transfer can be assigned to a different security attribute than the peripheral itself

NoDMA

0

Peripheral has no DMA capability

NoSeparateAttribute

1

Peripheral has DMA and DMA transfers always have the same security attribute as assigned to the peripheral

SeparateAttribute

2

Peripheral has DMA and DMA transfers can have a different security attribute than the one assigned to the peripheral

C

RW

SECATTR

Peripheral security mapping

This bit has effect only if PERIPHID[n].PERM.SECUREMAPPING reads as UserSelectable or Split

Secure

1

Peripheral is mapped in secure peripheral address space

NonSecure

0

If SECUREMAPPING == UserSelectable: Peripheral is mapped in non-secure peripheral address space.

If SECUREMAPPING == Split: Peripheral is mapped in non-secure and secure peripheral address space.

D

RW

DMASEC

Security attribution for the DMA transfer

This bit has effect only if PERIPHID[n].PERM.SECATTR is set to secure

Secure

1

DMA transfers initiated by this peripheral have the secure attribute set

NonSecure

0

DMA transfers initiated by this peripheral have the non-secure attribute set

E

RW

LOCK

Unlocked

0

This register can be updated

Locked

1

The content of this register can't be changed until the next reset

F

R

PRESENT

Indicate if a peripheral is present with ID n

NotPresent

0

Peripheral is not present

IsPresent

1

Peripheral is present