| Electronic Components Datasheet Search |
|
HT45F3230 Datasheet(PDF) 89 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F3230 Datasheet(HTML) 89 Page - Holtek Semiconductor Inc |
|
89 / 148 page ![]() Rev. 1.00 88 January 13, 2017 Rev. 1.00 89 January 13, 2017 HT45F3230 IR Sensing/Motor Driving Flash MCU HT45F3230 IR Sensing/Motor Driving Flash MCU A/D Converter Input Signals AlltheexternalA/Danalogchannelinputpinsarepin-sharedwiththeI/Opinsaswellasother functions.ThecorrespondingcontrolbitsforeachA/DexternalinputpininthePAPS0andPAPS1 registerdeterminewhethertheinputpinsaresetupasA/Dconverteranaloginputsorwhether theyhaveotherfunctions.IfthepinissetuptobeasanA/Danalogchannelinput,theoriginalpin functionswillbedisabled.Inthisway,pinscanbechangedunderprogramcontroltochangetheir functionbetweenA/Dinputsandotherfunctions.Allpullhighresistors,whicharesetupthrough registerprogramming,willbeautomaticallydisconnectedifthepinsaresetupasA/Dinputs.Note thatitisnotnecessarytofirstsetuptheA/Dpinasaninputintheportcontrolregistertoenablethe A/Dinputaswhenthepin-sharedfunctioncontrolbitsenableanA/Dinput,thestatusoftheport controlregisterwillbeoverridden. TheexternalorinternalanalogsignaltobeconvertedisdeterminedbytheSACS3~SACS0bits.If theSACS3~SACS0bitsaresetto“0000”~“0111”,theexternalanalogchannelinputAN0~AN7is selectedtobeconverted.IftheSACS3~SACS0bitsaresetto“1000”~“1011”or“1111”,theinternal analogsignalsuchastheinternalOPAMP0outputsignalOPDA0O,theinternalOPAMP1signal outputOPDA1O,OverCurrentProtectioncircuitoutputsignalOCPAO,highvoltagepowersupply detectionsignalVDETorBandgapreferencevoltage.IftheSACS3~SACS0bitsaresettoanyother valuesof“1100~1110”,theinputwillbefloating. Conversion Rate and Timing Diagram AcompleteA/Dconversioncontainstwoparts,datasamplinganddataconversion.Thedata samplingwhichisdefinedastADStakes4A/Dclockcyclesandthedataconversiontakes12A/D clockcycles.Thereforeatotalof16A/DclockcyclesforanexternalinputA/Dconversionwhichis definedastADCarenecessary. MaximumsingleA/Dconversionrate=A/Dclockperiod/16 Theaccompanyingdiagramshowsgraphicallythevariousstagesinvolvedinananalogtodigital conversionprocessanditsassociatedtiming.AfteranA/Dconversionprocesshasbeeninitiated bytheapplicationprogram,themicrocontrollerinternalhardwarewillbegintocarryoutthe conversion,duringwhichtimetheprogramcancontinuewithotherfunctions.Thetimetakenforthe A/Dconversionis16tADclockcycleswheretADisequaltotheA/Dclockperiod. ENADC START EOCB SACS[3:0] off on off on tON2ST tADS A/D sampling time tADS A/D sampling time Start of A/D conversion Start of A/D conversion Start of A/D conversion End of A/D conversion End of A/D conversion tADC A/D conversion time tADC A/D conversion time tADC A/D conversion time 0011B 0010B 0000B 0001B A/D channel switch A/D Conversion Timing |
|
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 |