![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/9/da/9daf7e0e-b4de-43db-aa2c-387edb73d63b/9daf7e0e-b4de-43db-aa2c-387edb73d63b-bg1a.png)
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'sGuideSLEU069A–February2006–RevisedJuly2006
SubmitDocumentationFeedback