Rev. 2.50 54 June 22, 2017 Rev. 2.50 55 June 22, 2017
HT66F20/HT66F30/HT66F40/HT66F50/HT66F60
HT66FU30/HT66FU40/HT66FU50/HT66FU60
A/D Flash MCU with EEPROM
HT66F20/HT66F30/HT66F40/HT66F50/HT66F60
HT66FU30/HT66FU40/HT66FU50/HT66FU60
A/D Flash MCU with EEPROM
External 32.768kHz Crystal Oscillator – LXT
TheExternal32.768kHzCrystalSystemOscillatorisoneofthelowfrequencyoscillatorchoices,
whichisselectedviacongurationoption.Thisclocksourcehasaxedfrequencyof32.768kHz
andrequiresa32.768kHzcrystaltobeconnectedbetweenpinsXT1andXT2.Theexternalresistor
andcapacitorcomponentsconnectedtothe32.768kHzcrystalarenecessarytoprovideoscillation.
Forapplicationswhereprecisefrequenciesareessential,thesecomponentsmayberequiredto
providefrequencycompensationduetodifferentcrystalmanufacturingtolerances.Duringpower-up
thereisatimedelayassociatedwiththeLXToscillatorwaitingforittostart-up.
WhenthemicrocontrollerenterstheSLEEPorIDLEMode,thesystemclockisswitchedofftostop
microcontrolleractivityandtoconservepower.However,inmanymicrocontrollerapplications
itmaybenecessarytokeeptheinternaltimersoperationalevenwhenthemicrocontrollerisin
theSLEEPorIDLEMode.Todothis,anotherclock,independentofthesystemclock,mustbe
provided.
However,forsomecrystals,toensureoscillationandaccuratefrequencygeneration,itisnecessary
toaddtwosmallvalueexternalcapacitors,C1andC2.TheexactvaluesofC1andC2shouldbe
selectedinconsultationwiththecrystalorresonatormanufacturersspecification.Theexternal
parallelfeedbackresistor,Rp,isrequired.
SomecongurationoptionsdetermineiftheXT1/XT2pinsareusedfortheLXToscillatororasI/O
pins.
•
IftheLXToscillatorisnotusedforanyclocksource,theXT1/XT2pinscanbeusedasnormal
I/Opins.
• IftheLXToscillatorisusedforanyclocksource,the32.768kHzcrystalshouldbeconnectedto
theXT1/XT2pins.
Foroscillatorstabilityandtominimisetheeffectsofnoiseandcrosstalk,itisimportanttoensure
thatthecrystalandanyassociatedresistorsandcapacitorsalongwithinterconnectinglinesareall
locatedasclosetotheMCUaspossible.
External LXT Oscillator
LXT Oscillator C1 and C2 Values
Crystal Frequency C1 C2
32.768kHz 10pF 10pF
Note:
1. C1 and C2 values are for guidance only.
2. R
P
=5MΩ~10MΩ is recommended.
32.768kHz Crystal Recommended Capacitor Values