Spy-Bi-Wire Timing Diagram - Texas Instruments MSP430 User Manual

Programming with the jtag interface
Hide thumbs Also See for MSP430:
Table of Contents

Advertisement

Interface and Instructions
SBWTCK
SBWTDIO
1.2.3.2
TMS Slot
The TMS Slot is used to switch between states in the TAP Controller state machine (see
the JTAG module of the target device. The following macros are located in the LowLevelFunc header file
in the Replicator example project.
1.2.3.2.1 TMSH Macro
Sets SBWTDIO high for TMS slot (no special TDI preparation handling)
Set SBWTDIO high
NOP 5 cycles (delay at 18 MHz)
Set SBWTCK low
NOP 5 cycles (delay at 18 MHz)
Set SBWTCK high
1.2.3.2.2 TMSL Macro
Sets SBWTDIO low for TMS slot (no special TDI preparation handling)
Set SBWTDIO low
NOP 5 cycles (delay at 18 MHz)
Set SBWTCK low
NOP 5 cycles (delay at 18 MHz)
Set SBWTCK high
1.2.3.2.3 TMSLDH Macro
Sets SBWTDIO low for TMS slot, but brings it back high after SBWTCK falling edge before TMS slot ends.
Used for some cases of ClrTCLK and SetTCLK.
Set SBWTDIO low
NOP 5 cycles (delay at 18 MHz)
Set SBWTCK low
NOP 5 cycles (delay at 18 MHz)
Set SBWTDIO high
Set SBWTCK high
12
Programming Using the JTAG Interface
TMS captured
as 0
TMS Slot
Figure 1-8. Spy-Bi-Wire Timing Diagram
Copyright © 2010–2017, Texas Instruments Incorporated
TDI captured
as 1
< 7 µs
TDI Slot
SLAU320Z – July 2010 – Revised July 2017
Submit Documentation Feedback
www.ti.com
Target device starts
driving output on TDO
TDO Slot
Section
1.1.2) of

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MSP430 and is the answer not in the manual?

Questions and answers

Table of Contents