Electronic Components Datasheet Search
  English  ▼

X  

MA015 Datasheet(PDF) 14 Page - Megawin Technology Co., Ltd

Part # MA015
Description  Build-in watchdog timer
PDF  29 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MEGAWIN [Megawin Technology Co., Ltd]
Direct Link  http://www.megawin.com.tw/megawin_EN/Index.asp
Logo MEGAWIN - Megawin Technology Co., Ltd

MA015 Datasheet(HTML) 14 Page - Megawin Technology Co., Ltd

Back Button MA015 Datasheet HTML 10Page - Megawin Technology Co., Ltd MA015 Datasheet HTML 11Page - Megawin Technology Co., Ltd MA015 Datasheet HTML 12Page - Megawin Technology Co., Ltd MA015 Datasheet HTML 13Page - Megawin Technology Co., Ltd MA015 Datasheet HTML 14Page - Megawin Technology Co., Ltd MA015 Datasheet HTML 15Page - Megawin Technology Co., Ltd MA015 Datasheet HTML 16Page - Megawin Technology Co., Ltd MA015 Datasheet HTML 17Page - Megawin Technology Co., Ltd MA015 Datasheet HTML 18Page - Megawin Technology Co., Ltd Next Button
Zoom Inzoom in Zoom Outzoom out
 14 / 29 page
background image
This document information is the intellectual property of Megawin Technology.
 Megawin Technology Co., Ltd. 2011 All right reserved.
QP-7300-03D
14/29
MA015 Datasheet
Version 2.00
9
Reset
9.1
Low Voltage Reset (LVR)
The MA015 provides low voltage reset circuit in order to monitor the supply voltage of the device. If the supply
voltage of the device is within the range of 0.9V ~ VLVR (such as changing the battery), the LVR will automatically
reset the device internally.
In the LVR active period, the on-chip oscillator is stopped. All I/O port will be set as input tri-state mode and the
leakage current will below 0.1
A. If an external capacitor (example: 47F) is connected between V
DD and GND in
this condition, the contents of on-chip RAM will be kept.
9.2
Watchdog Timer (WDT)
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
R
W
00C4H
WDT_CTL
RSTS
-
-
-
-
-
-
-
-
CLR
-
-
-
-
RSEL
CKI1
CKI0
-
RSTS: WDT reset status, set by hardware when WDT overflows and clear by hardware reset or set WDT_CLR.7 to one (this bit
is read only)
RSEL: WDT reset selector, = 0 Reset whole chip except RSTS (WDT_CTL.7)
= 1 Reset PC and IRQ_EN only
CKI1, CKI0: WDT clock selector, = 00 Fosc / (131072*16) selected (1.90Hz = 526ms @ Fosc = 4MHz )
= 01 Fosc / (65536*16) selected (3.81Hz = 262ms @ Fosc = 4MHz )
= 10 Fosc / (32768*16) selected (7.63Hz = 131ms @ Fosc = 4MHz )
= 11 Fosc / (16384*16) selected (15.26Hz = 65.5ms @ Fosc = 4MHz)
CLR: RSTS clear control bit, program can clear RSTS by program "1" into this bit (this bit is write only)
The watchdog timer (WDT), which is organized as a 4-bit counter, is designed to prevent the program from
unknown errors. The WDT is enabling by code option. If the WDT overflows, the WDT reset function will be
performed. The watchdog timer control register (WDT_CTL) controls the WDT reset function. RSTS (WDT_CTL.7)
is set by hardware when the WDT overflows and is cleared by store one to the bit 7 of WDT_CLR register or
hardware reset. There are two types of WDT reset, which is selected by RSEL (bit2 of WDT_CTL). WDT overflow
will cause two types reset depending on the setting of RSEL
 if RSEL is equal to 0, the reset is the same as
hardware reset except the setting of WDT_CTL and WDT_CLR; If RSEL is equal to 1, the reset only acts on
program counter (PC) and IRQ_EN. The WDT clock frequency is decided by bit1 and bit0 of WDT_CTL register.
Store one to the bit 7 of WDT_CLR register will also reset the contents of the WDT. In normal operation, the
application program must reset WDT before it overflows. The organization of the divider1 and watchdog timer is
shown as below.
Overflow signal
WDT
Enable
Disable
(Option code = 0)
Qw1 Qw2
Qw4
Qw3
RR
R
R
System Reset
except WDT_CTL.7
(Option code = 1)
Q1
...
Q15 Q16
Fosc
Divider
S
R
Q
Hardware reset
WDT_CLR <- 8XH
WDT_CTL.7
PC & IRQ_EN reset
(other peripheral unchanged)
WDT_CTL.2
WDT_CTL.0
WDT_CTL.1
Fosc/16384
Fosc/32768
Fosc/65536
Fosc/131072
Q13 Q14
Q0
Figure 9-1 Watch Dog Diagram



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


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