www.ti.com
3.13.13TCIClockInitializationMSBRegister(TCICLKINITM)
3.13.14TCISystemTimeClockLSBRegister(TCISTCLKL)
VideoCaptureRegisters
ThetransportstreaminterfaceclockinitializationMSBregister(TCICLKINITM)isusedtoinitializethe
hardwarecountertosynchronizewiththesystemtimeclock..
Onreceivingthefirstpacketcontainingaprogramclockreference(PCR)header,theDSPwritesthe
most-significantbit(MSB)ofthePCRandthe9-bitPCRextensionintoTCICLKINITM.Thisinitializesthe
countertothesystemtimeclock.TCICLKINITMshouldalsobeupdatedbytheDSPwhenevera
discontinuityinthePCRfieldisdetected.
Toensuresynchronizationandpreventfalsecomparedetection,thesoftwareshoulddisablethesystem
timeclockinterrupt(cleartheSTENbitinTCICTL)priortowritingtoTCICLKINITM.Allbitsofthesystem
timecounterareinitializedwhenevereitherTCICLKINITLorTCICLKINITMarewritten.
TheTCIclockinitializationMSBregister(TCICLKINITM)isshowninFigure3-33anddescribedin
Table3-26
Figure3-33.TCIClockInitializationMSBRegister(TCICLKINITM)
3116
Reserved
R-0
1510910
ReservedINPCREINPCRM
R-0R/W-0R/W-0
LEGEND:R/W=Read/Write;R=Readonly;-n=valueafterreset
Table3-26.TCIClockInitializationMSBRegister(TCICLKINITM)FieldDescriptions
Description
BT.656,Y/CMode,orRawDataTCIMode
Bitfield
(1)
symval
(1)
ValueMode
31-10Reserved-0Reserved.Thereservedbitlocationisalwaysreadas0.Avaluewrittentothis
fieldhasnoeffect.
9-1INPCREOF(value)0-1FFhNotused.Initializestheextensionportionofthe
systemtimeclock.
DEFAULT0
0INPCRMOF(value)0-1Notused.InitializestheMSBofthesystemtime
clock.
DEFAULT0
(1)
ForCSLimplementation,usethenotationVP_TCICLKINITM_field_symval
ThetransportstreaminterfacesystemtimeclockLSBregister(TCISTCLKL)containsthe32
least-significantbits(LSBs)oftheprogramclockreference(PCR).Thesystemtimeclockvalueis
obtainedbyreadingTCISTCLKLandTCISTCLKM.
TCISTCLKLrepresentsthecurrentvalueofthe32LSBsofthebasePCRthatnormallycountsata
90-kHzrate.Sincethesystemtimeclockcountercontinuestocount,theDSPmayneedtoread
TCISTCLKLtwiceinarowtoensureanaccuratevalue.
TheTCIsystemtimeclockLSBregister(TCISTCLKL)isshowninFigure3-34anddescribedin
Table3-27.
VideoCapturePort 86SPRUEM1–May2007
SubmitDocumentationFeedback