欢迎访问ic37.com |
会员登录 免费注册
发布采购

BS83A04A-3 参数 Datasheet PDF下载

BS83A04A-3图片预览
型号: BS83A04A-3
PDF下载: 下载PDF文件 查看货源
内容描述: 触摸按键的8位闪存微控制器 [Touch Key 8-bit Flash MCU]
分类和应用: 闪存微控制器
文件页数/大小: 72 页 / 3982 K
品牌: HOLTEK [ HOLTEK SEMICONDUCTOR INC ]
 浏览型号BS83A04A-3的Datasheet PDF文件第27页浏览型号BS83A04A-3的Datasheet PDF文件第28页浏览型号BS83A04A-3的Datasheet PDF文件第29页浏览型号BS83A04A-3的Datasheet PDF文件第30页浏览型号BS83A04A-3的Datasheet PDF文件第32页浏览型号BS83A04A-3的Datasheet PDF文件第33页浏览型号BS83A04A-3的Datasheet PDF文件第34页浏览型号BS83A04A-3的Datasheet PDF文件第35页  
BS83A04A-3/BS83A04A-4  
8-bit Touch Key Flash MCU  
Programming Considerations  
TheꢀhighꢀspeedꢀandꢀlowꢀspeedꢀoscillatorsꢀbothꢀuseꢀtheꢀsameꢀSSTꢀcounter.ꢀForꢀexample,ꢀifꢀtheꢀsystemꢀ  
isꢀwokenꢀupꢀfromꢀtheꢀSLEEPꢀModeꢀtheꢀHIRCꢀoscillatorꢀneedsꢀtoꢀstart-upꢀfromꢀanꢀoffꢀstate.  
IfꢀtheꢀdeviceꢀisꢀwokenꢀupꢀfromꢀtheꢀSLEEPꢀModeꢀtoꢀtheꢀNORMALꢀMode,ꢀtheꢀhighꢀspeedꢀsystemꢀ  
oscillatorꢀneedsꢀanꢀSSTꢀperiod.ꢀTheꢀdeviceꢀwillꢀexecuteꢀtheꢀfirstꢀinstructionꢀafterꢀHTOꢀisꢀhigh.  
Watchdog Timer  
TheꢀWatchdogꢀTimerꢀisꢀprovidedꢀtoꢀpreventꢀprogramꢀmalfunctionsꢀorꢀsequencesꢀfromꢀjumpingꢀtoꢀ  
unknownꢀlocations,ꢀdueꢀtoꢀcertainꢀuncontrollableꢀexternalꢀeventsꢀsuchꢀasꢀelectricalꢀnoise.  
Watchdog Timer Clock Source  
TheꢀWatchdogꢀTimerꢀclockꢀsourceꢀisꢀprovidedꢀbyꢀtheꢀinternalꢀclockꢀfSUB,ꢀwhichꢀisꢀsourcedꢀfromꢀtheꢀ  
LIRCꢀoscillator.ꢀTheꢀWatchdogꢀTimerꢀsourceꢀclockꢀisꢀthenꢀsubdividedꢀbyꢀaꢀratioꢀofꢀ28ꢀtoꢀ218ꢀtoꢀgiveꢀ  
longerꢀtimeouts,ꢀtheꢀactualꢀvalueꢀbeingꢀchosenꢀusingꢀtheꢀWS2~WS0ꢀbitsꢀinꢀtheꢀWDTCꢀregister.ꢀTheꢀ  
LIRCꢀinternalꢀoscillatorꢀhasꢀanꢀapproximateꢀperiodꢀfrequencyꢀofꢀ32KHzꢀatꢀaꢀsupplyꢀvoltageꢀofꢀ5V.ꢀ  
However,ꢀitꢀshouldꢀbeꢀnotedꢀthatꢀthisꢀspecifiedꢀinternalꢀclockꢀperiodꢀcanꢀvaryꢀwithꢀVDD,ꢀtemperatureꢀ  
andꢀprocessꢀvariations.  
Watchdog Timer Control Register  
Aꢀsingleꢀregister,ꢀWDTC,ꢀcontrolsꢀtheꢀrequiredꢀtimeꢀoutꢀperiod.  
WDTC Register  
Bit  
Name  
R/W  
7
6
5
4
3
2
1
0
WE4  
R/W  
0
WEꢇ  
R/W  
1
WEꢄ  
R/W  
0
WE1  
R/W  
1
WE0  
R/W  
0
WSꢄ  
R/W  
0
WS1  
R/W  
1
WS0  
R/W  
1
POR  
Bitꢀ7~ꢀ3ꢀ  
WE4 ~ WE0:ꢀWDTꢀfunctionꢀsoftwareꢀcontrol  
ꢀ 10101B:ꢀenabled  
ꢀ 01010B:ꢀenabledꢀ(Default)  
Otherꢀvalues:ꢀResetꢀMCUꢀ(Resetꢀwillꢀbeꢀactiveꢀafterꢀ2~3ꢀLIRCꢀclockꢀforꢀdebounceꢀtime.)  
IfꢀtheꢀꢀMCUꢀꢀresetꢀcausedꢀbyꢀtheꢀWEꢀ[4:0]ꢀinꢀWDTCꢀsoftwareꢀreset,ꢀtheꢀWRFꢀflagꢀofꢀ  
CTRLꢀregisterꢀwillꢀbeꢀset).  
Bitꢀ2~ꢀ0ꢀ  
WS2 ~ WS0:ꢀWDTꢀTime-outꢀperiodꢀselection  
ꢀ 000:ꢀ28/fSUB  
ꢀ 001:ꢀ210/fSUB  
ꢀ 010:ꢀ212/fSUB  
ꢀ 011:ꢀ214/fSUB  
ꢀ 100:ꢀ215/fSUB  
ꢀ 101:ꢀ216/fSUB  
ꢀ 110:ꢀ217/fSUB  
ꢀ 111:ꢀ218/fSUB  
TheseꢀthreeꢀbitsꢀdetermineꢀtheꢀdivisionꢀratioꢀofꢀtheꢀWatchdogꢀTimerꢀsourceꢀclock,ꢀ  
whichꢀinꢀturnꢀdeterminesꢀtheꢀtimeoutꢀperiod.  
Rev. 1.00  
ꢇ1  
�eꢀꢁꢂaꢁꢃ ꢄꢅꢆ ꢄ01ꢇ