www.ti.com
3.8.6WritingtotheFIFO
TSI FIFO
TSI 2 TSI 4 TSI 6TSI 1 TSI 3 TSI 5 TSI 7
VDIN[9−2]
VCLKIN
63 5655 4847 4039 32
TSI 5 TSI 4TSI 7 TSI 6
TSI 13 TSI 12TSI 15 TSI 14
Little-Endian Packing
TSI 8 TSI 10TSI 9 TSI 11TSI 0
31 2423 1615 87 0
TSI 1 TSI 0TSI 3 TSI 2
TSI 9 TSI 8TSI 11 TSI 10
3.8.7ReadingfromtheFIFO
TCICaptureMode
Table3-12.TCICaptureModeOperation(continued)
VCACTLBit
CONFRAMECF2CF1Operation
01xxSinglepacketcapture.FRMCissetafterpacketcaptureandcausesCCMPA
tobeset.CaptureishalteduntiltheFRMCbitiscleared.
10xxContinuouspacketcapture.FRMCissetafterpacketcaptureandcauses
CCMPAtobeset(CCMPxinterruptcanbedisabled).Theportwillcontinue
capturingpacketsregardlessofthestateofFRMC.
11xxReserved
ThecapturedTCIpacketdataandtheassociatedtimestampsarewrittenintothereceiveFIFO.The
packetdataiswrittenfirst,followedbythetimestamp.TheFIFOcontrollercontrolsbothdatawritesand
timestampwritesintotheFIFO.TheFIFOdatapackingisshowninFigure3-18.
Figure3-18.TCIFIFOPacking
Thedatacapturecircuitrysignalstothesynchronizingcircuitwhentotakeatimestampofthehardware
counters.TheFIFOwritecontrollerkeepstrackofthenumberofbytesreceivedinapacket.Itmultiplexes
thetimestampdataandthepacketdataontotheFIFOwritedatabus.Thetimestampandpacketerror
informationareinsertedaftereachpacketintheFIFO.Theformatforthetimestampisshownin
Figure3-19.
Figure3-19.TCITimestampFormat(LittleEndian)
63626142413332
PERRPSTERRReservedPCRextensionPCR
310
PCR
TheYSRCAlocationisassociatedwiththeTCIcapturebuffer.TheYSRCAlocationisaread-only
pseudo-registerandisusedtoaccesstheTCIdatasamplesstoredinthebuffer.
ThecaptureddatapacketsizeissetbyVCASTOP.TheVCXSTOPandVCYSTOPbitssetthe24-bitsof
TCIpacketsize(VCXSTOPsetsthelower12bitsandVCYSTOPsetstheupper12bits).Captureis
completeandtheFRMCbitissetwhenthedatacounterequalsthecombinedVCYSTOPandVCXSTOP
value.
66VideoCapturePortSPRUEM1–May2007
SubmitDocumentationFeedback