Electronic Components Datasheet Search
  English  ▼

X  

HT66F019 Datasheet(PDF) 138 Page - Holtek Semiconductor Inc

Part # HT66F019
Description  A/D Flash MCU with EEPROM
PDF  175 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT66F019 Datasheet(HTML) 138 Page - Holtek Semiconductor Inc

Back Button HT66F019 Datasheet HTML 134Page - Holtek Semiconductor Inc HT66F019 Datasheet HTML 135Page - Holtek Semiconductor Inc HT66F019 Datasheet HTML 136Page - Holtek Semiconductor Inc HT66F019 Datasheet HTML 137Page - Holtek Semiconductor Inc HT66F019 Datasheet HTML 138Page - Holtek Semiconductor Inc HT66F019 Datasheet HTML 139Page - Holtek Semiconductor Inc HT66F019 Datasheet HTML 140Page - Holtek Semiconductor Inc HT66F019 Datasheet HTML 141Page - Holtek Semiconductor Inc HT66F019 Datasheet HTML 142Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 138 / 175 page
background image
Rev. 1.00
138
De�e��e� 01� �01�
Rev. 1.00
139
De�e��e� 01� �01�
HT66F019
A/D Flash MCU with EEPROM
HT66F019
A/D Flash MCU with EEPROM
• BRG Register
Bit
7
6
5
4
3
2
1
0
Na�e
BRG�
BRG6
BRG5
BRG4
BRG3
BRG�
BRG1
BRG0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
POR
x
x
x
x
x
x
x
x
"x": unknown
Bit7~0
BRG7~BRG0:BaudRatevalues
ByprogrammingtheBRGHbitinUCR2Registerwhichallowsselectionofthe
relatedformuladescribedaboveandprogrammingtherequiredvalueintheBRG
register,therequiredbaudratecanbesetup.
Note:Baudrate=fH/[64×(N+1)]ifBRGH=0;
Baudrate=fH/[16×(N+1)]ifBRGH=1.
Baud Rate Generator
Tosetupthespeedoftheserialdatacommunication,theUARTfunctioncontainsitsowndedicated
baudrategenerator.Thebaudrateiscontrolledbyitsowninternalfreerunning8-bittimer,the
periodofwhichisdeterminedbytwofactors.Thefirstoftheseisthevalueplacedinthebaudrate
registerBRGandthesecondisthevalueoftheBRGHbitwiththecontrolregisterUCR2.The
BRGHbitdecidesifthebaudrategeneratoristobeusedinahighspeedmodeorlowspeedmode,
whichinturndeterminestheformulathatisusedtocalculatethebaudrate.ThevalueNintheBRG
registerwhichisusedinthefollowingbaudratecalculationformuladeterminesthedivisionfactor.
NotethatNisthedecimalvalueplacedintheBRGregisterandhasarangeofbetween0and255.
UCR2 BRGH Bit
0
1
Baud Rate (BR)
fH / [64 (N+1)]
fH / [16 (N+1)]
ByprogrammingtheBRGHbitwhichallowsselectionoftherelatedformulaandprogrammingthe
requiredvalueintheBRGregister,therequiredbaudratecanbesetup.Notethatbecausetheactual
baudrateisdeterminedusingadiscretevalue,N,placedintheBRGregister,therewillbeanerror
associatedbetweentheactualandrequestedvalue.ThefollowingexampleshowshowtheBRG
registervalueNandtheerrorvaluecanbecalculated.
Calculating the Baud Rate and Error Values
Foraclockfrequencyof4MHz,andwithBRGHclearedtozerodeterminetheBRGregistervalueN,
theactualbaudrateandtheerrorvalueforadesiredbaudrateof4800.
FromtheabovetablethedesiredbaudrateBR=fH/[64(N+1)]
Re-arrangingthisequationgivesN=[fH/(BR×64)]-1
GivingavalueforN=[4000000/(4800×64)]-1=12.0208
Toobtaintheclosestvalue,adecimalvalueof12shouldbeplacedintotheBRGregister.Thisgives
anactualorcalculatedbaudratevalueofBR=4000000/[64×(12+1)]=4808
Thereforetheerrorisequalto(4808-4800)/4800=0.16%



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 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


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