
www.ti.com
3.2 Functional Description.................................................................................................... 221
3.2.1 SysTick............................................................................................................ 221
3.2.2 NVIC............................................................................................................... 222
3.2.3 System Control Block (SCB) ................................................................................... 223
3.2.4 Instrumentation Trace Macrocell Unit (ITM).................................................................. 223
3.2.5 Flash Patch and Breakpoint Unit (FPB) ...................................................................... 223
3.2.6 Trace Port Interface Unit (TPIU)............................................................................... 224
3.2.7 Data Watchpoint and Trace Unit (DWT)...................................................................... 224
4 Interrupts and Events........................................................................................................ 227
4.1 Exception Model .......................................................................................................... 228
4.1.1 Exception States................................................................................................. 228
4.1.2 Exception Types ................................................................................................. 228
4.1.3 Exception Handlers.............................................................................................. 231
4.1.4 Vector Table...................................................................................................... 231
4.1.5 Exception Priorities .............................................................................................. 232
4.1.6 Interrupt Priority Grouping ...................................................................................... 232
4.1.7 Exception Entry and Return .................................................................................... 233
4.2 Fault Handling............................................................................................................. 235
4.2.1 Fault Types ....................................................................................................... 235
4.2.2 Fault Escalation and Hard Faults.............................................................................. 236
4.2.3 Fault Status Registers and Fault Address Registers........................................................ 236
4.2.4 Lockup............................................................................................................. 236
4.3 Event Fabric............................................................................................................... 237
4.3.1 Introduction ....................................................................................................... 237
4.3.2 Event Fabric Overview.......................................................................................... 238
4.4 AON Event Fabric ........................................................................................................ 238
4.4.1 Common Input Event List....................................................................................... 239
4.4.2 Event Subscribers ............................................................................................... 239
4.5 MCU Event Fabric ........................................................................................................ 240
4.5.1 Common Input Event List....................................................................................... 241
4.5.2 Event Subscribers ............................................................................................... 244
4.6 Interrupts and Events Registers ........................................................................................ 245
4.6.1 AON_EVENT Registers......................................................................................... 246
4.6.2 EVENT Registers................................................................................................ 270
5 JTAG Interface ................................................................................................................. 389
5.1 Top Level Debug System................................................................................................ 390
5.2 cJTAG...................................................................................................................... 392
5.2.1 JTAG Commands................................................................................................ 394
5.2.2 Programming Sequences....................................................................................... 396
5.3 ICEPick™.................................................................................................................. 397
5.3.1 Secondary TAPs................................................................................................. 397
5.3.2 ICEPick™ Registers............................................................................................. 399
5.3.3 ROUTER Scan Chain........................................................................................... 402
5.3.4 TAP Routing Registers ......................................................................................... 403
5.4 ICEMelter™................................................................................................................ 408
5.5 Serial Wire Viewer (SWV) ............................................................................................... 408
5.6 Halt In Boot (HIB)......................................................................................................... 408
5.7 Debug and Shutdown .................................................................................................... 409
5.8 Debug Features Supported Through WUC TAP ..................................................................... 409
5.9 Profiler Register........................................................................................................... 409
6 Power, Reset, and Clock Management................................................................................. 411
6.1 Introduction ................................................................................................................ 412
6.1.1 System CPU Mode .............................................................................................. 413
3
SWCU117A–February 2015–Revised March 2015 Contents
Submit Documentation Feedback Copyright © 2015, Texas Instruments Incorporated