Debug Mode; Debug Communication; External Debug Interface Timing; Transmission Of One Byte - Texas Instruments CC253x User Manual

System-on-chip for 2.4ghz
Table of Contents

Advertisement

www.ti.com
3.1

Debug Mode

Debug mode is entered by forcing two falling-edge transitions on pin P2.2 (debug clock) while the
RESET_N input is held low. When RESET_N is set high, the device is in debug mode.
On entering debug mode, the CPU is in the halted state with the program counter reset to address
0x0000.
While in debug mode, pin P2.1 is the debug-data bidirectional pin, and P2.2 is the debug-clock input pin.
NOTE: Note that the debugger cannot be used with a divided system clock. When running the
debugger, the value of
to 001 when
3.2

Debug Communication

The debug interface uses a SPI-like two-wire interface consisting of the P2.1 (debug data) and P2.2
(debug clock) pins. Data is driven on the bidirectional debug-data pin at the positive edge of the debug
clock, and data is sampled on the negative edge of this clock.
The direction of the debug-data pin depends on the command being issued. Data is driven on the positive
edge of the debug clock and sampled on the negative edge.
The data is byte-oriented and is transmitted MSB-first. A sequence of one byte is shown in
Start of Byte
Debug Clock
Debug Data
Bit 7
SWRU191F – April 2009 – Revised April 2014
Submit Documentation Feedback
CLKCONCMD.CLKSPD
= 1.
CLKCONCMD.OSC
Debug Clock
Debug Data
Data is set up on the
rising edge of debug clock.
Figure 3-1. External Debug Interface Timing
Bit 6
Bit 5
Figure 3-2. Transmission of One Byte
Copyright © 2009–2014, Texas Instruments Incorporated
should be set to 000 when
Figure 3-1
Data is sampled by the
receiver on the falling
edge of debug clock.
Time
Bit 4
Bit 3
Bit 2
Debug Mode
= 0 or
CLKCONCMD.OSC
shows how data is sampled.
T0302-01
Figure
End of Byte
Bit 0
Bit 1
Debug Interface
3-2.
T0303-01
51

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents