| Electronic Components Datasheet Search |
|
HT48R002 Datasheet(PDF) 27 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT48R002 Datasheet(HTML) 27 Page - Holtek Semiconductor Inc |
|
27 / 71 page ![]() Rev. 1.11 26 April 11, 2017 Rev. 1.11 27 April 11, 2017 HT48R002/HT48R003 Cost-Effective I/O 8-Bit OTP MCU HT48R002/HT48R003 Cost-Effective I/O 8-Bit OTP MCU Reset and Initialization Aresetfunctionisafundamentalpartofanymicrocontrollerensuringthatthedevicecanbeset tosomepredeterminedconditionirrespectiveofoutsideparameters.Themostimportantreset conditionisafterpowerisfirstappliedtothemicrocontroller.Inthiscase,internalcircuitrywill ensurethatthemicrocontroller,afterashortdelay,willbeinawelldefinedstateandreadyto executethefirstprograminstruction.Afterthispower-onreset,certainimportantinternalregisters willbesettodefinedstatesbeforetheprogramcommences.OneoftheseregistersistheProgram Counter,whichwillberesettozeroforcingthemicrocontrollertobeginprogramexecutionfromthe lowestProgramMemoryaddress. Inadditiontothepower-onreset,situationsmayarisewhereitisnecessarytoforcefullyapplya resetconditionwhenthemicrocontrollerisrunning.Oneexampleofthisiswhereafterpowerhas beenappliedandthemicrocontrollerisalreadyrunning,theRESlineisforcefullypulledlow.Insuch acase,knownasanormaloperationreset,someofthemicrocontrollerregistersremainunchanged allowingthemicrocontrollertodealwithnormaloperationaftertheresetlineisallowedtoreturn high.AnothertypeofresetiswhentheWatchdogTimeroverflowsandresetsthemicrocontroller. Alltypesofresetoperationsresultindifferentregisterconditionsbeingset. AnotherresetexistsintheformofaLowVoltageReset,LVR,whereafullreset,similartotheRES resetisimplementedinsituationswherethepowersupplyvoltagefallsbelowacertainthreshold. Reset Functions Therearefivewaysinwhichamicrocontrollerresetcanoccur,througheventsoccurringboth internallyandexternally: Power-on Reset Themostfundamentalandunavoidableresetistheonethatoccursafterpowerisfirstappliedto themicrocontroller.AswellasensuringthattheProgramMemorybeginsexecutionfromthefirst memoryaddress,apower-onresetalsoensuresthatcertainotherregistersarepresettoknown conditions.AlltheI/Oportandportcontrolregisterswillpowerupinahighconditionensuringthat allpinswillbefirstsettoinputs. AlthoughthemicrocontrollerhasaninternalRCresetfunction,iftheVDDpowersupplyrisetime isnotfastenoughordoesnotstabilizequicklyatpower-on,theinternalresetfunctionmaybe incapableofprovidingproperresetoperation.Forthisreasonitisrecommendedthatanexternal RCnetworkisconnectedtotheRESpin,whoseadditionaltimedelaywillensurethattheRESpin remainslowforanextendedperiodtoallowthepowersupplytostabilize.Duringthistimedelay, normaloperationofthemicrocontrollerwillbeinhibited.AftertheRESlinereachesacertain voltagevalue,theresetdelaytimetRSTDisinvokedtoprovideanextradelaytimeafterwhichthe microcontrollerwillbeginnormaloperation.TheabbreviationSSTinthefiguresstandsforSystem Start-upTimer. FormostapplicationsaresistorconnectedbetweenVDDandtheRESpinandacapacitorconnected betweenVSSandtheRESpinwillprovideasuitableexternalresetcircuit.Anywiringconnectedto theRESpinshouldbekeptasshortaspossibletominimizeanystraynoiseinterference. RE S VD D In te r nal R es et 0. 9 V DD t RS TD + t SST t RS TD + t SST Note:tRSTDispower-ondelay,typicaltime=50ms Power-On Reset Timing Chart |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |