飞思卡尔后背资料4

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

HCS12TechnicalTrainingModule4–SystemConfiguration,Slide1MOTOROLAandtheStylizedMLogoareregisteredintheUSPatent&TrademarkOffice.Allotherproductorservicenamesarethepropertyoftheirrespectiveowners.©Motorola,Inc.2001.StartingwiththeHCS12TechnicalOverviewHCS12configurationVersion#:1.0Date:12-March-2002MOTOROLAandtheStylizedMLogoareregisteredintheUSPatent&TrademarkOffice.Allotherproductorservicenamesarethepropertyoftheirrespectiveowners.©Motorola,Inc.2001.Placeyourimageontopofthisgraybox.Ifnographicisapplicable,deletegrayboxandnotch-outbehindgraybox,fromtheTitleMasterHCS12TechnicalTrainingModule4–SystemConfiguration,Slide2MOTOROLAandtheStylizedMLogoareregisteredintheUSPatent&TrademarkOffice.Allotherproductorservicenamesarethepropertyoftheirrespectiveowners.©Motorola,Inc.2001.StartingwiththeHCS121)HCS12TechnicalOverview2)OperatingModes3)ResourceMapping4)ExternalBusInterface5)PortIntegrationModule6)BackgroundDebugModeHCS12TechnicalTrainingModule4–SystemConfiguration,Slide3MOTOROLAandtheStylizedMLogoareregisteredintheUSPatent&TrademarkOffice.Allotherproductorservicenamesarethepropertyoftheirrespectiveowners.©Motorola,Inc.2001.OperatingModesMODAMODBMODC/BKGDRESETHCS12ModeRegisterSpecialSingleChipEmulationExpNarrowSpecialTestEmulationExpWideNormalSingleChipNormalExpNarrowPeripheralNormalExpWide$_0BModePinsaresampledandlatchedonrisingedgeofReset.CLOCK/RESETMODAMODBMODCSampleLatchHCS12TechnicalTrainingModule4–SystemConfiguration,Slide4MOTOROLAandtheStylizedMLogoareregisteredintheUSPatent&TrademarkOffice.Allotherproductorservicenamesarethepropertyoftheirrespectiveowners.©Motorola,Inc.2001.ModesofOperationMODCMODBMODAMODEADDRDATABDMSpecialExpandedNarrowAllowed0000000000001111111111110000816161616161616168---------AllowedAllowedAllowedAllowedAllowedActiveSpecialSingleChipSpecialTestEmulationExpandedWideNormalSingleChipExpandedNarrowPeripheralModeExpandedWideMODAandMODBhaveactivepulldownsduringreset.MODChasthepull-uponthepinenabledafterreset.HCS12TechnicalTrainingModule4–SystemConfiguration,Slide5MOTOROLAandtheStylizedMLogoareregisteredintheUSPatent&TrademarkOffice.Allotherproductorservicenamesarethepropertyoftheirrespectiveowners.©Motorola,Inc.2001.MODC,MODB,MODAWriteCapabilityMODCMODBMODAMODEMODxWriteCapabilitySpecialExpandedNarrow000000000011111MODC,B,Awriteanytimebutnotto110nowriteSpecialSingleChipSpecialTestEmulationExpandedWideNormalSingleChipnowrite001111111ExpandedNarrowPeripheralModeExpandedWidenowritenowritenowriteMODB,Awriteoncebutnotto110MODC,B,Awriteanytimebutnotto110HCS12TechnicalTrainingModule4–SystemConfiguration,Slide6MOTOROLAandtheStylizedMLogoareregisteredintheUSPatent&TrademarkOffice.Allotherproductorservicenamesarethepropertyoftheirrespectiveowners.©Motorola,Inc.2001.MemoryMap$0000$0400$1000$4000$8000$C000$FF00$FFFFVectorsRegistersEEPROMRAM16kBytefixedFlash16kBytefixedFlash16kBytepagedFlashNormalSingleChipMode$0000$0400$1000$4000$8000$C000$FF00$FFFFBDMRegistersEEPROMRAM16kBytefixedFlash16kBytefixedFlash16kBytepagedFlashSpecialSingleChipMode$0000$0400$1000$4000$8000$C000$FF00$FFFFVectorsRegistersEEPROMRAMExternalMemoryExpandedModeRegisters-Mappabletoany2kBlockwithinthefirst32kByte.EEPROM-Mappabletoany4kBlockRAM-12kMappabletoany16kBlockandalignabletotoporbottom.HCS12TechnicalTrainingModule4–SystemConfiguration,Slide7MOTOROLAandtheStylizedMLogoareregisteredintheUSPatent&TrademarkOffice.Allotherproductorservicenamesarethepropertyoftheirrespectiveowners.©Motorola,Inc.2001.ResourceMappingINITRM-InternalRAMPositionRegisterTheINITRMmaybeusedtore-mapInternalRAMtoany16Kboundaryinthe64Kmemorymap.Outofreset,theinternalRAMmapsto$1000-$3FFF.Onlyuppertwobitsusedtore-mapthethe12KBRAM.Systemconfigurationregistersarewriteonceinnormalmodes.INITRG—InitializationofInternalRegisterPositionRegisterAddressOffset$_11TheINITRGmaybeusedre-mapInternalRegisterstoany2Kboundaryinthe1st.32Kmap.Outofreset,theinternalregistersmapto$0000-$03FF.WriteOnceWriteOnce$_10NOTE:GenerallyitisnotagoodideatomapRAMandregisterstothesamelocationbecauseofthesignificantamountofRAMwhichwouldbecomeunusable.HCS12TechnicalTrainingModule4–SystemConfiguration,Slide8MOTOROLAandtheStylizedMLogoareregisteredintheUSPatent&TrademarkOffice.Allotherproductorservicenamesarethepropertyoftheirrespectiveowners.©Motorola,Inc.2001.INITEE-InternalEEPROMPositionRegister1=EEPROMISENABLED0=EEPROMISDISABLED$_12TheINITEEmaybeusedtore-mapInternalEEPROMtoany4Kboundary.Outofreset,theEEPROMismappedto$0000-$0FFF.WriteOnceEEPROMResourceMappingSystemconfigurationregistersarewriteonceinnormalmodes.TheMC9S12DP256has4KbytesofEEPROMwhichisactivatedbytheEEONbitintheINITEEregister.MappingofinternalEEPROMiscontrolledbyfourbitsintheINITEEregister.AfterresetEEPROMaddressspacebeginsatlocation$0000butcanbemappedtoany4Kbyteboundarywithinthestandard64Kbyteaddressspace.HCS12TechnicalTrainingModule4–SystemConfiguration,Slide9MOTOROLAandtheStylizedMLogoareregisteredintheUSPatent&TrademarkOffice.Allotherproductorservicenamesarethepropertyoftheirrespectiveowners.©Motorola,Inc.2001.MappingPrecedenceIfcon

1 / 21
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功