Rev. 1.71 18 April 11, 2017 Rev. 1.71 19 April 11, 2017
HT66F002/HT66F0025/HT66F003/HT66F004
Cost-Effective A/D Flash MCU with EEPROM
HT66F002/HT66F0025/HT66F003/HT66F004
Cost-Effective A/D Flash MCU with EEPROM
System Architecture
Aîkeyîfactorîinîtheîhigh-performanceîfeaturesîofîtheîHoltekîrangeîofîmicrocontrollersîisîattributedî
toîtheirîinternalîsystemîarchitecture.îTheîdeviceîtakesîadvantageîofîtheîusualîfeaturesîfoundîwithinî
RISCîmicrocontrollersîprovidingîincreasedîspeedîofîoperationîandîPeriodicîperformance.îTheî
pipeliningîschemeîisîimplementedîinîsuchîaîwayîthatîinstructionîfetchingîandîinstructionîexecutionî
areîoverlapped,îhenceîinstructionsîareîeffectivelyîexecutedîinîoneîcycle,îwithîtheîexceptionîofîbranchî
orîcallîinstructions.îAnî8-bitîwideîALUîisîusedîinîpracticallyîallîinstructionîsetîoperations,îwhichî
carriesîoutîarithmeticîoperations,îlogicîoperations,îrotation,îincrement,îdecrement,îbranchîdecisions,î
etc.îTheîinternalîdataîpathîisîsimplifiedîbyîmovingîdataîthroughîtheîAccumulatorîandîtheîALU.î
CertainîinternalîregistersîareîimplementedîinîtheîDataîMemoryîandîcanîbeîdirectlyîorîindirectlyî
addressed.îTheîsimpleîaddressingîmethodsîofîtheseîregistersîalongîwithîadditionalîarchitecturalî
featuresîensureîthatîaîminimumîofîexternalîcomponentsîisîrequiredîtoîprovideîaîfunctionalîI/Oîandî
A/Dîcontrolîsystemîwithîmaximumîreliabilityîandîîexibility.îThisîmakesîtheseîdevicesîsuitableîforî
low-cost,îhigh-volumeîproductionîforîcontrollerîapplications
Clocking and Pipelining
Theîmainîsystemîclock,îderivedîfromîeitherîaîHIRCîorîLIRCîoscillatorîisîsubdividedîintoîfourî
internallyîgeneratedînon-overlappingîclocks,îT1~T4.îTheîProgramîCounterîisîincrementedîatîtheî
beginningîofîtheîT1îclockîduringîwhichîtimeîaînewîinstructionîisîfetched.îTheîremainingîT2~T4î
clocksîcarryîoutîtheîdecodingîandîexecutionîfunctions.îInîthisîway,îoneîT1~T4îclockîcycleîformsî
oneîinstructionîcycle.îAlthoughîtheîfetchingîandîexecutionîofîinstructionsîtakesîplaceîinîconsecutiveî
instructionîcycles,îtheîpipeliningîstructureîofîtheîmicrocontrollerîensuresîthatîinstructionsîareî
effectivelyîexecutedîinîoneîinstructionîcycle.îTheîexceptionîtoîthisîareîinstructionsîwhereîtheî
contentsîofîtheîProgramîCounterîareîchanged,îsuchîasîsubroutineîcallsîorîjumps,îinîwhichîcaseîtheî
instructionîwillîtakeîoneîmoreîinstructionîcycleîtoîexecute.
îîîî î îîî îîîîîîîî
îîîîîîî îîî îîîîîî îîîî
îîîî îîîî îîîîîîîîîî
îîîîîîî îîî îîîîîî îî
îîîî î îîî î îîîîî îîîî
îîîîîîîîîî îîîîîî îîîî
îî îîîî îîîî
î îîîîîîîîî
îî îî îî
îî îîîîî îî îî îîî
î îîîîîîîî îîîîż î
îî
îîî
î îîî îîîîî î
î îîîîîîîî îîîîż î
î îîîîîîîî îîîîż î
î îîîîîîîî îîîîż î
îîîîîîî îî î
System Clock and Pipelining