Texas Instruments TVP5154EVM Computer Hardware User Manual


 
www.ti.com
9.2DetailsoftheDM642CodeandControlRegisters
9.2.1DM642ControlWindow
ProgrammingtheTMS320DM642
DetailsoftheDM642codeandcontrolregistersare:
TheDM642deviceaddressis0x40hbydefault.TheDM642issetupasanI
2
Cslave.
TheDM642executescodeonpowerupfromtheflashusingthePCIGPIOtocontroltheaddress
MSB.
VirtualI
2
CregistersarecreatedwithintheDM642inordertocontrolthecaptureanddisplayofthe
scaled/unscaleddatafromtheTVP5154videodecoder.TheseregistersaredescribedinTable9.
ThevirtualI
2
Cregisterssupportscaledandunscaledvideooutputsindependentlyforeachofthefour
videodecoders,withtheoptiontooverlayscaledvideoontounscaledvideo,andtodefinethe
quadrantlocationofeachscaledchannel.
ThevirtualI
2
Cregistersprovideeasycontrol/accesstotheGPIOscurrentlytiedtoLEDs.Pleaserefer
totheTVP5154EVMschematicsforoptionstoassociateanLEDon/offwitharegistersetting.
TheDM642isnotresponsibleforanyscaling.AllvideoscalingisperformedbytheTVP5154.The
DM642isonlyresponsibleforimagecaptureanddisplay.
TheDM642virtualregisterscanbecontrolledbyusingtheDM642ControlWindoworthroughthe
GenericI
2
Cregisters.
TheDM642settingscanbeeasilycontrolledbyusingtheDM642Controlwindow.Thiswindowrepresents
theDM642registerdatainauser-friendlyformat.Thedataisorganizedforeachofthefourdecoders(see
Figure21).
Toopenthis,clickonDM642ControlintheToolsmenu.
Figure21.DM642ControlWindow
26TVP5154EVMUser'sGuideSLEU069AFebruary2006RevisedJuly2006
SubmitDocumentationFeedback