
Public Version
www.ti.com
5.2 Fault Handling ............................................................................................................ 176
5.2.1 Fault Types ...................................................................................................... 176
5.2.2 Fault Escalation and Hard Faults ............................................................................. 177
5.2.3 Fault Status Registers and Fault Address Registers ....................................................... 177
5.2.4 Lockup ............................................................................................................ 178
5.2.5 PKA Interrupt .................................................................................................... 178
6 JTAG Interface ................................................................................................................ 179
6.1 Debug Port ................................................................................................................ 180
6.2 IEEE 1149.7 .............................................................................................................. 180
6.3 Switching Debug Interface from 2-pin cJTAG to 4-pin JTAG ...................................................... 181
6.4 Debugger Connection ................................................................................................... 183
6.4.1 ICEPick Module ................................................................................................. 183
6.4.1.1 Default Boot Mode ........................................................................................ 183
6.4.1.2 CM3 DAP Access ......................................................................................... 183
6.5 Primary Debug Support ................................................................................................. 184
6.5.1 Processor Native Debug Support ............................................................................. 184
6.5.1.1 Cortex™-M3 MPU ........................................................................................ 184
6.5.2 Suspend .......................................................................................................... 184
6.6 Debug Access Security Through ICEPick ............................................................................ 184
6.6.1 Unlocking the Debug Interface ................................................................................ 184
6.7 CM3 Debug Interrupt .................................................................................................... 185
7 System Control ................................................................................................................ 186
7.1 Power Management ..................................................................................................... 187
7.1.1 Control Inputs to Power Management ........................................................................ 187
7.1.1.1 Clock Gating Registers .................................................................................. 187
7.1.1.2 Deep Sleep Selector (SYSCTRL Register) ........................................................... 187
7.1.1.3 Power Mode Configuration Register (PMCTL Register) ............................................. 187
7.1.1.4 WFI - Operational Mode Initiator (Wait For Interrupt) ................................................ 187
7.1.2 Using Power Management ..................................................................................... 188
7.1.2.1 Sequencing when using Power Modes ................................................................ 189
7.1.2.2 Time Considerations for Active, Sleep and PM0 ..................................................... 190
7.1.2.3 Time Considerations for PM1, PM2 and PM3 ........................................................ 190
7.1.2.3.1 Enter Power Mode when Running on 16 MHz System Clock .................................. 191
7.1.2.3.2 Enter Power Mode when Running on 32 MHz System Clock .................................. 191
7.1.2.4 Exit from Power Modes .................................................................................. 193
7.1.2.4.1 32 MHz XOSC Startup Time ........................................................................ 193
7.1.2.4.2 32 MHz Qualification Time .......................................................................... 193
7.1.3 Power Consumption ............................................................................................ 193
7.2 Oscillators and Clocks ................................................................................................... 195
7.2.1 High Frequency Oscillators .................................................................................... 195
7.2.1.1 16 MHz RCOSC Calibration ............................................................................. 196
7.2.2 Low Frequency Oscillators ..................................................................................... 196
7.2.2.1 32 kHz RCOSC Calibration ............................................................................. 196
7.3 System Clock Gating .................................................................................................... 196
7.3.1 Clocks for UART and SSI ...................................................................................... 197
7.3.2 Clocks for GPT, I2C, and SEC ................................................................................. 197
7.4 Reset ...................................................................................................................... 197
7.4.1 Reset of Peripherals ............................................................................................ 198
7.4.2 Power-On Reset and Brownout Detector .................................................................... 198
7.4.3 Clock Loss Detector ............................................................................................ 198
7.5 Emulator in Power Modes .............................................................................................. 199
7.6 Chip State Retention .................................................................................................... 199
7.6.1 CRC Check on State Retention ............................................................................... 199
5
SWRU319B–April 2012–Revised April 2013 Contents
Submit Documentation Feedback Copyright © 2012–2013, Texas Instruments Incorporated