Rev. 1.20 146 January 23, 2015 Rev. 1.20 147 January 23, 2015
BS82B12A-3/BS82C16A-3/BS82D20A-3
Touch Key 8-Bit Flash MCU with LED/LCD Driver
BS82B12A-3/BS82C16A-3/BS82D20A-3
Touch Key 8-Bit Flash MCU with LED/LCD Driver
LVD Operation
TheLowVoltageDetectorfunctionoperatesbycomparingthepowersupplyvoltage,V
DD
,witha
pre-speciedvoltagelevelstoredintheLVDCregister.Thishasarangeofbetween2.7Vand4.0V.
Whenthepowersupplyvoltage,V
DD
,fallsbelowthispre-determinedvalue,theLVDObitwillbe
sethighindicatingalowpowersupplyvoltagecondition.TheLowVoltageDetectorfunctionis
suppliedbyareferencevoltagewhichwillbeautomaticallyenabled.WhenthedeviceisinSLEEP
modethelowvoltagedetectorwillbeautomaticallydisabledeveniftheLVDENbitishigh.After
enablingtheLowVoltageDetector,atimedelayt
LVDS
shouldbeallowedforthecircuitrytostabilise
beforereadingtheLVDObit.NotealsothatastheV
DD
voltagemayriseandfallratherslowly,atthe
voltagenearsthatofV
LVD
,theremaybemultiplebitLVDOtransitions.
LVD Operation
TheLowVoltageDetectoralsohasitsowninterrupt,providinganalternativemeansoflowvoltage
detection,inadditiontopollingtheLVDObit.Theinterruptwillonlybegeneratedafteradelay
oft
LVD
aftertheLVDObithasbeensethighbyalowvoltagecondition.Inthiscase,theLVDF
interruptrequestagwillbeset,causinganinterrupttobegeneratedifV
DD
fallsbelowthepreset
LVDvoltage.Thiswillcausethedevicetowake-upfromtheSLEEPorIDLEMode,howeverifthe
LowVoltageDetectorwakeupfunctionisnotrequiredthentheLVDFagshouldberstsethigh
beforethedeviceenterstheSLEEPorIDLEMode.