Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

HT46R004 Datasheet(PDF) 53 Page - Holtek Semiconductor Inc

Part # HT46R004
Description  Cost-Effective A/D 8-Bit OTP MCU
PDF  84 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT46R004 Datasheet(HTML) 53 Page - Holtek Semiconductor Inc

Back Button HT46R004 Datasheet HTML 49Page - Holtek Semiconductor Inc HT46R004 Datasheet HTML 50Page - Holtek Semiconductor Inc HT46R004 Datasheet HTML 51Page - Holtek Semiconductor Inc HT46R004 Datasheet HTML 52Page - Holtek Semiconductor Inc HT46R004 Datasheet HTML 53Page - Holtek Semiconductor Inc HT46R004 Datasheet HTML 54Page - Holtek Semiconductor Inc HT46R004 Datasheet HTML 55Page - Holtek Semiconductor Inc HT46R004 Datasheet HTML 56Page - Holtek Semiconductor Inc HT46R004 Datasheet HTML 57Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 53 / 84 page
background image
Rev. 1.30
5�
�an�a�� ��� �01�
Rev. 1.30
53
�an�a�� ��� �01�
HT46R004
Cost-Effective A/D 8-Bit OTP MCU
fSYS
A/D Clock Period(tAD)
ADCS2,
ADCS1,
ADCS0
=000
((fSYS/2)
ADCS2,
ADCS1,
ADCS0
=001
(fSYS/8)
ADCS2,
ADCS1,
ADCS0
=010
(fSYS/32)
ADCS2,
ADCS1,
ADCS0
=100
(fSYS)
ADCS2,
ADCS1,
ADCS0
=101
(fSYS/4)
ADCS2,
ADCS1,
ADCS0
=110
(fSYS/16)
ADCS2,
ADCS1,
ADCS0
=011,111
1MHz
2μs
8μs
32μs
1μs
4μs
16μs*
Undefined
�MHz
1μs
4μs
16μs
500ns
2μs
8μs
Undefined
4MHz
500ns
2μs
8μs
250ns*
1μs
4μs
Undefined
8MHz
250ns*
1μs
4μs
125ns*
500ns
2μs
Undefined
1�MHz
167ns*
��7ns
2.67μs
83ns*
333ns*
1μs
Undefined
A/D Clock Period Examples
A/D Input Pins
AlloftheA/Danaloginputpinsarepin-sharedwiththeI/OpinsonPortAandPC.Bits
PCR7~PCR0intheADCR1registerdeterminewhethertheinputpinsaresetasnormalinput/output
pinsorwhethertheyaresetasanaloginputs.Inthisway,pinscanbechangedunderprogram
controltochangetheirfunctionfromnormalI/Ooperationtoanaloginputsandviceversa.Pull-high
resistors,whicharesetthroughregisterprogramming,applytotheinputpinsonlywhenthey
areusedasnormalI/Opins,ifsetasA/Dinputsthepull-highresistorswillbeautomatically
disconnected.NotethatitisnotnecessarytofirstsettheA/DpinasaninputintheI/Oportcontrol
registerstoenabletheA/DinputaswhenthePCR7~PCR0bitsenableanA/Dinput,thestatusofthe
portcontrolregisterwillbeoverridden.
Summary of A/D Conversion Steps
ThefollowingsummarizestheindividualstepsthatshouldbeexecutedinordertoimplementanA/D
conversionprocess.
• Step1
SelecttherequiredA/DconversionclockbycorrectlyprogrammingbitsADCS2~ADCS0inthe
ACSRregister.
• Step2
SelectwhichpinsaretobeusedasA/DinputsandconfigurethemasA/Dinputpinsbycorrectly
programmingthePCR7~PCR0bitsintheADCR1register.
• Step3
EnabletheA/DbyclearingtheADONBintheACSRregistertozero.
• Step4
SelectwhichchannelistobeconnectedtotheinternalA/Dconverterbycorrectlyprogramming
theACS2~ACS0bitswhicharealsocontainedintheregister.
• Step5
Iftheinterruptsaretobeused,theinterruptcontrolregistersmustbecorrectlyconfiguredto
ensuretheA/Dconverterinterruptfunctionisactive.Themasterinterruptcontrolbit,EMI,the
INTC0interruptcontrolregistermustbesetto“1”,theA/Dconverterinterruptbit,ADE,must
alsobesetto“1”.
• Step6
TheanalogtodigitalconversionprocesscannowbeinitializedbysettingtheSTARTbitin
theADCR0registerfromlowtohighandthenlowagain.Notethatthisbitshouldhavebeen
originallyclearedtozero.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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