13. Nested vectored interrupt controller (NVIC)

13.1 Main features

The NVIC and the processor core interface are closely coupled, which enables low-latency interrupt processing and efficient processing of late arriving interrupts.

All interrupts including the core exceptions are managed by the NVIC. For more information on exceptions and NVIC programming, refer to the programming manual PM0223.

13.2 SysTick calibration value register

The SysTick calibration value is set to 1000. SysTick reload value register may be adapted to the actual HCLK frequency and required time period, see PM0223 for more details.

13.3 Interrupt and exception vectors

Table 55 is the vector table. Information pertaining to a peripheral only applies to devices containing that peripheral.

Table 55. Vector table (1)

PositionPriorityType of priorityAcronymDescriptionAddress
----Reserved0x0000_0000
--3fixedResetReset0x0000_0004
--2fixedNMI_HandlerNon maskable interrupt. SRAM parity error, HSE CSS and LSE CSS are linked to the NMI vector.0x0000_0008
--1fixedHardFault_HandlerAll class of fault0x0000_000C
----Reserved0x0000_0010
0x0000_0014
0x0000_0018
0x0000_001C
0x0000_0020
0x0000_0024
0x0000_0028
-3settableSVCall_HandlerSystem service call via SWI instruction0x0000_002C
Table 55. Vector table (1) (continued)
PositionPriorityType of priorityAcronymDescriptionAddress
----Reserved0x0000_0030
0x0000_0034
-5settablePendSV_HandlerPendable request for system service0x0000_0038
-6settableSysTick_HandlerSystem tick timer0x0000_003C
07settableWWDGWindow watchdog interrupt0x0000_0040
18settablePVMVDDIO2 monitor interrupt (EXTI line 34)0x0000_0044
29settableRTCRTC interrupts (EXTI line 19)0x0000_0048
310settableFLASHFlash global interrupt0x0000_004C
411settableRCC/CRSRCC/CRS global interrupt0x0000_0050
512settableEXTI0_1EXTI line 0 & 1 interrupt0x0000_0054
613settableEXTI2_3EXTI line 2 & 3 interrupt0x0000_0058
714settableEXTI4_15EXTI line 4 to 15 interrupt0x0000_005C
815settableUSBUSB global interrupt (combined with EXTI line 36)0x0000_0060
916settableDMA1_Channel1DMA1 channel 1 interrupt0x0000_0064
1017settableDMA1_Channel2_3DMA1 channel 2 & 3 interrupts0x0000_0068
1118settableDMAMUX/
DMA1_Channel4_5_6
_7
DMAMUX and DMA1 channel 4, 5, 6, and 7 interrupts0x0000_006C
1219settableADCADC interrupt0x0000_0070
1320settableTIM1_BRK_UP_TRG
_COM
TIM1 break, update, trigger and commutation interrupts0x0000_0074
1421settableTIM1_CCTIM1 Capture Compare interrupt0x0000_0078
1522settableTIM2TIM2 global interrupt0x0000_007C
1623settableTIM3TIM3 global interrupt0x0000_0080
17---Reserved0x0000_0084
18---Reserved0x0000_0088
1926settableTIM14TIM14 global interrupt0x0000_008C
2027settableTIM15TIM15 global interrupt0x0000_0090
2128settableTIM16TIM16 global interrupt0x0000_0094
2229settableTIM17TIM17 global interrupt0x0000_0098
2330settableI2C1I2C1 global interrupt (combined with EXTI line 23)0x0000_009C
2431settableI2C2I2C2 global interrupt0x0000_00A0
2532settableSPI1SPI1 global interrupt0x0000_00A4
Table 55. Vector table (1) (continued)
PositionPriorityType of priorityAcronymDescriptionAddress
2633settableSPI2SPI2 global interrupt0x0000_00A8
2734settableUSART1USART1 global interrupt (combined with EXTI line 25)0x0000_00AC
2835settableUSART2USART2 global interrupt0x0000_00B0
2936settableUSART3/USART4USART3/4 global interrupt (combined with EXTI 28)0x0000_00B4
3037settableFDCAN_IT0FDCAN global interrupt 00x0000_00B8
3138settableFDCAN_IT1FDCAN global interrupt 10x0000_00BC

1. The grayed cells correspond to the Cortex ® -M0+ interrupts.