www.ti.com
3.7.2RawDataFIFOPacking
Raw FIFO
Raw 2 Raw 4 Raw 6Raw 1 Raw 3 Raw 5 Raw 7
VDIN[9−2] / VDIN[19−12]
VCLKINA / VCLKINB
63 5655 4847 4039 32
Raw 5 Raw 4Raw 7 Raw 6
Raw 13 Raw 12Raw 15 Raw 14
Little-Endian Packing
Raw 8 Raw 10Raw 9 Raw 11Raw 0
31 2423 1615 8 7 0
Raw 1 Raw 0Raw 3 Raw 2
Raw 9 Raw 8Raw 11 Raw 10
RawDataCaptureMode
ForchannelBoperationorwhentheRDFEbitinVCACTLisnotset,nofieldinformationisavailable.
SomeflexibilityincaptureandDSPnotificationisstillprovidedinordertoaccommodatevariousEDMA
structuresandprocessingflows.Eachrawdatapacketistreatedsimilartoaprogressivescanvideo
frame.TherawdatamodeusestheCONandFRAMEbitsofVCxCTLinaslightlydifferentmanner,as
listedinTable3-11.
Table3-11.RawDataModeCaptureOperation
VCxCTLBit
CONFRAMECF2CF1Operation
00xxNoncontinuousframecapture.FRMCissetafterdatablockcaptureand
causesCCMPxtobeset.Capturewillhaltuponcompletionofthenextframe
unlesstheFRMCbitiscleared.(DSPhastheentirenextframetimetoclear
FRMC.)
01xxSingleframecapture.FRMCissetafterdatablockcaptureandcauses
CCMPxtobeset.CaptureishalteduntiltheFRMCbitiscleared.
10xxContinuousframecapture.FRMCissetafterdatablockcaptureandcauses
CCMPxtobeset(CCMPxinterruptcanbedisabled).Theportwillcontinue
capturingframesregardlessofthestateofFRMC.
11xxReserved
TheCONbitcontrolsthecaptureofmultipleframes.WhenCON=1,continuouscaptureisenabled,the
videoportcapturesincomingframes(assumingtheVCENbitisset)withouttheneedforDSPinteraction.
ItreliesonaEDMAstructurewithcircularbufferingcapabilitytoservicethecaptureFIFO.WhenCON=0,
continuouscaptureisdisabled,thevideoportsetstheframecapturecompletebit(FRMC)inVCxSTAT
uponthecaptureofeachframe.Oncethecapturecompletebitisset,atmost,onemoreframecanbe
receivedbeforecaptureoperationishalted(asdeterminedbytheFRAMEbitstate).Thisprevents
subsequentdatafromoverwritingpreviousframesuntiltheDSPhasachancetoupdateEDMApointers
orprocessthosefields.
Captureddataisalwayspackedinto64-bitsbeforebeingwrittenintothecaptureFIFO(s).Bydefault,data
ispackedintotheFIFOfromrighttoleft.
The8-bitraw-datamodestoresalldatainasingleFIFO.Samplesarepackedtogetherasshownin
Figure3-13.
Figure3-13.8-BitRawDataFIFOPacking
The16-bitrawdatamodestoresalldataintoasingleFIFO.Samplesarepackedtogetherasshownin
Figure3-14.
62VideoCapturePortSPRUEM1–May2007
SubmitDocumentationFeedback