27. Nested vectored interrupt controller (NVIC)
27.1 NVIC features
The NVIC for Cortex-M33 (CPU2) includes the following features:
- • 320 maskable interrupt channels (not including the 16 Cortex-M33 with FPU interrupt lines)
- • 16 programmable priority levels (4 bits of interrupt priority are used)
- • Low-latency exception and interrupt handling
- • Power management control
- • Implementation of system control registers
The NVIC and the Cortex-M33 core are closely coupled, which enables low-latency interrupt processing, and efficient processing of late arriving interrupts.
The NVIC registers are banked across secure and non-secure states.
All the interrupts including Cortex-M33 core exceptions are managed by the NVIC.
For more information on exceptions and NVIC programming, refer to STM32 Cortex-M33 MCUs programming manual (PM0264).
27.2 SysTick calibration value register
The Cortex-M33 with TrustZone mainline security extension embeds two SysTick timers, that are available when TrustZone is activated:
- • SysTick secure instance
- • SysTick non-secure instance
When TrustZone is disabled, only one SysTick timer is available.
As SysTick for Cortex-M33 does not run on a fixed frequency, there is no SysTick calibration value available.
The SysTick reload counter must be set according to the required time base, and the ck_cpu2 frequency value must be set in the RCC.
27.3 Interrupt and exception vectors
See Cortex-M33 interrupt table in Section 26: Interrupt list.