Section number Title Page
9.2 The Debug Port.............................................................................................................................................................179
9.2.1 JTAG-to-SWD change sequence.................................................................................................................180
9.2.2 JTAG-to-cJTAG change sequence...............................................................................................................180
9.3 Debug Port Pin Descriptions.........................................................................................................................................181
9.4 System TAP connection................................................................................................................................................181
9.4.1 IR Codes.......................................................................................................................................................181
9.5 JTAG status and control registers.................................................................................................................................182
9.5.1 MDM-AP Control Register..........................................................................................................................183
9.5.2 MDM-AP Status Register............................................................................................................................185
9.6 Debug Resets................................................................................................................................................................186
9.7 AHB-AP........................................................................................................................................................................187
9.8 ITM...............................................................................................................................................................................187
9.9 Core Trace Connectivity...............................................................................................................................................188
9.10 Embedded Trace Macrocell v3.5 (ETM)......................................................................................................................188
9.11 TPIU..............................................................................................................................................................................188
9.12 DWT.............................................................................................................................................................................189
9.13 Debug in Low Power Modes........................................................................................................................................189
9.13.1 Debug Module State in Low Power Modes.................................................................................................190
9.14 Debug & Security.........................................................................................................................................................191
Chapter 10
Signal Multiplexing and Signal Descriptions
10.1 Introduction...................................................................................................................................................................193
10.2 Signal Multiplexing Integration....................................................................................................................................193
10.2.1 Port control and interrupt module features..................................................................................................194
10.2.2 PCRn reset values for port A.......................................................................................................................194
10.2.3 Clock gating.................................................................................................................................................194
10.2.4 Signal multiplexing constraints....................................................................................................................194
10.3 Pinout............................................................................................................................................................................195
10.3.1 K21 Signal Multiplexing and Pin Assignments...........................................................................................195
K21 Sub-Family Reference Manual, Rev. 4, February 2013
Freescale Semiconductor, Inc. 9