Peripheral ID

nRF5340 Product Specification

Every peripheral is assigned a fixed block of 0x1000 bytes of address space, which is equal to 1024 x 32 bit registers.

See Peripherals for more information about which peripherals are available and where they are located in the address map.

There is a direct relationship between peripheral ID and base address. For example, a peripheral with base address 0x40000000 is assigned ID=0, a peripheral with base address 0x40001000 is assigned ID=1, and a peripheral with base address 0x4001F000 is assigned ID=31.

Peripherals may share the same ID, which may impose one or more of the following limitations:

  • Shared registers or common resources
  • Limited availability due to mutually exclusive operation; only one peripheral in use at a time
  • Enforced peripheral behavior when switching between peripherals (disable the first peripheral before enabling the second)