English
Language : 

PIC32MX795F512L-80IPT Datasheet, PDF (17/68 Pages) Microchip Technology – PIC32 Flash Programming Specification
PIC32
6.3 XferData Pseudo Operation
Format:
oData = XferData (iData)
Purpose:
To clock data to and from the register selected by the
command.
Description (in sequence):
1. The TMS Header is clocked into the device to
select the Shift DR state.
2. The data is clocked in/out of the device on
TDI/TDO while holding signal TMS low.
3. The last MSb of the data is clocked in/out
while setting TMS high.
4. The TMS Footer is clocked in on TMS to return
the TAP controller to the Run/Test Idle state.
Restrictions:
None.
Example:
oData = XferData (32’h0x12)
FIGURE 6-5:
XferData 4-WIRE
TMS Header = 100
Data (32’h0x12) Data (MSb) + TMS =1 TMS Footer = 10
TCK
TMS
‘1’
‘0’
‘0’
‘1’
‘1’
‘0’
TDI
iLSb
iMSb
TDO
oLSb
oMSb
FIGURE 6-6:
XferData 2-WIRE (4-PHASE)
TMS Header = 100
PGEC
PGED TDI = 0 TMS = 1
TDO = X
Data (31’h0x12) + TMS = 0
TDI = 0 TMS = 0 TDO = X
TDI = 0 TMS = 0
Data (MSb) + TMS Footer = 1
TDO = oLSb
TDI = iLSb TMS = 0
TDO =..o.LSb+1
TDI = iMSb TMS = 1
TMS Footer = 10
TDO = X
TDI = 0 TMS = 1
TDO = X
TDI = 0 TMS = 0
TDO = X
 2007-2013 Microchip Technology Inc.
DS61145L-page 17