www.ti.com
9ProgrammingtheTMS320DM642
9.1DevelopmentandPurposeofDM642Code
ProgrammingtheTMS320DM642
Table6.UseofPropertySheetControls
PROPERTYSHEETSDIALOGCONTROLWHATDOIDOWITHIT?
WhenisHardwareUpdated?
Read-OnlyEditBoxReadstatusinformationN/A
CheckBoxToggleasinglebitAfterApply
Drop-DownListSelectfromatextlistAfterApply
EditBoxTypeanumberAfterApply
Up/Downarrows:Immediately
EditBoxwithUp/DownarrowsUseup/downarrowsortypeanumber
Typeanumber:AfterApply
SliderSlidealeverImmediately
PushbuttonInitiateanactionImmediately
Table7.PropertySheetButtonControls
BUTTON
DEFINITION
CONTROL
OKWritestoallwriteableregisterswhosedatahaschanged.Aregisterisflaggedaschangedifthevaluetobe
writtenisdifferentfromthevaluelastreadfromthataddress.
Closesthedialog.
CancelCausesallchangesmadetothepropertypagesincethelastApplytobediscarded.Changesmadetodialog
controlswith‘immediatehardwareupdate’arenotdiscarded,sincetheyhavealreadybeenchangedin
hardware.
Doesnotwritetohardware.
Closesthedialog.
ApplyWritestoallwriteableregisterswhosedatahaschanged.Aregisterisflaggedaschangedifthevaluetobe
writtenisdifferentfromthevaluelastreadfromthataddress.
ThischapterdiscusseshowtochangesettingsfortheTMS320DM642onthisEVM.TheDM642settings
canbecontrolledbyusingtheDM642ControlWindow,whichisfoundbyclickingonTools→DM642
Control,orthroughtheGenericI
2
Cregisters.
TheTVP5154EVMwasdevelopedbytheTIDigitalVideoDepartment,whichisresponsibleforthe
TVP5146andTVP5150AM1videodecoderscurrentlyusedontheDM642EVMreleasedbySpectrum
Digital.TheTVP5154EVMhardwareandsoftwarearebothbasedonthisDM642EVM.
TheTVP5154EVMwasdesignedspecificallyforsecuritycustomersinterestedinaquadvideodecoder.
TheTVP5154EVMshowcasestheTVP5154withvariousscaled/unscaleddisplaymodes,whilemaking
theDM642transparenttothecustomerduringevaluation.ThisismadepossiblebyplacingtheDM642
intoanI
2
Cslavemodeandcontrollingthecapture/displaymodesusingvirtualI
2
Cregisters.Theentire
TVP5154EVMiscontrolledbyaPCemulatingI
2
Cviatheparallelport.BydownloadingtheDM642code
fromflashatpowerup,itisnotrequiredtouseCodeComposerStudio™softwaretoprogramtheDM642;
allrelevantDM642controlregisterscanbeaccessedandcontrolledthroughagenericI
2
Caddress.
InadditiontothecommandfileprovidedwiththisEVM,additionalcommandfilestobeusedwithTI’sEVM
controlsoftware(WinVCC)canbeprovidedfromTItosupporteasyprogrammingoftheTVP5154and
DM642registerstoshowthemostcommonscalingconfigurationsforbothNTSCandPALformats.When
usingthesecommandfilesorwhensettingtheregistervaluesthroughastandardI
2
Cbusinterface,itis
importanttoenableandprogramthe5154outputsbeforeconfiguringtheDM642registers.TheDM642
portionoftheTVP5154EVMconsistsonlyoftheDM642,SDRAM,andflashmemory.
SLEU069A–February2006–RevisedJuly2006TVP5154EVMUser'sGuide25
SubmitDocumentationFeedback