| Electronic Components Datasheet Search |
|
HT46R002 Datasheet(PDF) 47 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT46R002 Datasheet(HTML) 47 Page - Holtek Semiconductor Inc |
|
47 / 83 page ![]() Rev. 1.21 46 April 11, 2017 Rev. 1.21 47 April 11, 2017 HT46R002/HT46R003 Cost-Effective A/D 8-Bit OTP MCU HT46R002/HT46R003 Cost-Effective A/D 8-Bit OTP MCU Pulse Width Modulator Thedevicesincludeone8-bitPWMfunction.Usefulfortheapplicationssuchasmotorspeed control,thePWMfunctionprovidesoutputswithafixedfrequencybutwithadutycyclethatcanbe variedbysettingparticularvaluesintothecorrespondingPWMregister. PWM Operation Theregister,knownasPWMandlocatedintheDataMemoryisassignedtoeachPulseWidth Modulatorchannel.Itisherethatthe8-bitvalue,whichrepresentstheoveralldutycycleofone modulationcycleoftheoutputwaveform,shouldbeplaced.ToincreasethePWMmodulation frequency,eachmodulationcycleissubdividedintotwoorfourindividualmodulationsubsections, knownasthe7+1modeor6+2moderespectively.Therequiredmodeandtheon/offcontrolfor eachPWMchannelisselectedusingtheCTRL0register.NotethatwhenusingthePWM,itisonly necessarytowritetherequiredvalueintothePWMregisterandselecttherequiredmodesetandon/ offcontrolusingtheCTRL0register,thesubdivisionofthewaveformintoitssub-modulationcycles isimplementedautomaticallywithinthemicrocontrollerhardware.ThePWMclocksourcefScomes fromthesystemclockfSYS,fSYS/4orfLIRC Thismethodofdividingtheoriginalmodulationcycleintoafurther2or4sub-cyclesenablethe generationofhigherPWMfrequencieswhichallowawiderrangeofapplicationstobeserved.The differencebetweenwhatisknownasthePWMcyclefrequencyandthePWMmodulationfrequency shouldbeunderstood.AsthePWMvalueis8-bitswide,theoverallPWMcyclefrequencyisfS/256. However,wheninthe7+1modeofoperationthePWMmodulationfrequencywillbefS/128,while thePWMmodulationfrequencyforthe6+2modeofoperationwillbefS/64. PWM Modulation PWM Cycle Frequency PWM Cycle Duty fS/64 for (6+2) bits mode fS/128 for (7+1) bits mode fS/256 [PWM]/256 6+2 PWM Mode EachfullPWMcycle,asitiscontrolledbyan8-bitPWMregister,has256clockperiods.However, inthe6+2PWMmode,eachPWMcycleissubdividedintofourindividualsub-cyclesknownas modulationcycle0~modulationcycle3,denotedasiinthetable.Eachoneofthesefoursub-cycles contains64clockcycles.Inthismode,amodulationfrequencyincreaseoffourisachieved.The8-bit PWMregistervalue,whichrepresentstheoveralldutycycleofthePWMwaveform,isdividedinto twogroups.Thefirstgroupwhichconsistsofbit2~bit7isdenotedhereastheDCvalue.Thesecond groupwhichconsistsofbit0~bit1isknownastheACvalue.Inthe6+2PWMmode,thedutycycle valueofeachofthefourmodulationsub-cyclesisshowninthefollowingtable. Parameter AC (0~3) DC (Duty Cycle) Modulation cycle i (i=0~3) i<AC (DC+1)/64 i>AC DC/64 6+2 Mode Modulation Cycle Values Thefollowingdiagramillustratesthewaveformsassociatedwiththe6+2modeofPWMoperation. ItisimportanttonotehowthesinglePWMcycleissubdividedinto4individualmodulationcycles, numberedfrom0~3andhowtheACvalueisrelatedtothePWMvalue. |
|
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 |