2.5 Exception Model ......................................................................................................... 113
2.5.1 Exception States ......................................................................................................... 114
2.5.2 Exception Types .......................................................................................................... 114
2.5.3 Exception Handlers ..................................................................................................... 119
2.5.4 Vector Table ................................................................................................................ 119
2.5.5 Exception Priorities ...................................................................................................... 120
2.5.6 Interrupt Priority Grouping ............................................................................................ 120
2.5.7 Exception Entry and Return ......................................................................................... 120
2.6 Fault Handling ............................................................................................................. 123
2.6.1 Fault Types ................................................................................................................. 124
2.6.2 Fault Escalation and Hard Faults .................................................................................. 124
2.6.3 Fault Status Registers and Fault Address Registers ...................................................... 125
2.6.4 Lockup ....................................................................................................................... 125
2.7 Power Management .................................................................................................... 126
2.7.1 Entering Sleep Modes ................................................................................................. 126
2.7.2 Wake Up from Sleep Mode .......................................................................................... 126
2.8 Instruction Set Summary .............................................................................................. 127
3 Cortex-M4 Peripherals ......................................................................................... 134
3.1 Functional Description ................................................................................................. 134
3.1.1 System Timer (SysTick) ............................................................................................... 135
3.1.2 Nested Vectored Interrupt Controller (NVIC) .................................................................. 136
3.1.3 System Control Block (SCB) ........................................................................................ 137
3.1.4 Memory Protection Unit (MPU) ..................................................................................... 137
3.1.5 Floating-Point Unit (FPU) ............................................................................................. 142
3.2 Register Map .............................................................................................................. 146
3.3 System Timer (SysTick) Register Descriptions .............................................................. 149
3.4 NVIC Register Descriptions .......................................................................................... 153
3.5 System Control Block (SCB) Register Descriptions ........................................................ 163
3.6 Memory Protection Unit (MPU) Register Descriptions .................................................... 192
3.7 Floating-Point Unit (FPU) Register Descriptions ............................................................ 201
4 JTAG Interface ...................................................................................................... 207
4.1 Block Diagram ............................................................................................................ 208
4.2 Signal Description ....................................................................................................... 208
4.3 Functional Description ................................................................................................. 209
4.3.1 JTAG Interface Pins ..................................................................................................... 209
4.3.2 JTAG TAP Controller ................................................................................................... 211
4.3.3 Shift Registers ............................................................................................................ 212
4.3.4 Operational Considerations .......................................................................................... 212
4.4 Initialization and Configuration ..................................................................................... 215
4.5 Register Descriptions .................................................................................................. 215
4.5.1 Instruction Register (IR) ............................................................................................... 216
4.5.2 Data Registers ............................................................................................................ 217
5 System Control ..................................................................................................... 220
5.1 Signal Description ....................................................................................................... 220
5.2 Functional Description ................................................................................................. 220
5.2.1 Device Identification .................................................................................................... 220
5.2.2 Reset Control .............................................................................................................. 221
5.2.3 Non-Maskable Interrupt ............................................................................................... 228
June 18, 20144
Texas Instruments-Production Data
Table of Contents