M052LAN Nuvoton Technology Corporation of America, M052LAN Datasheet - Page 265

IC MCU 32BIT 8KB FLASH 48LQFP

M052LAN

Manufacturer Part Number
M052LAN
Description
IC MCU 32BIT 8KB FLASH 48LQFP
Manufacturer
Nuvoton Technology Corporation of America
Series
NuMicro M051™r
Datasheets

Specifications of M052LAN

Core Processor
ARM Cortex-M0
Core Size
32-Bit
Speed
50MHz
Connectivity
EBI/EMI, I²C, IrDA, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
40
Program Memory Size
8KB (8K x 8)
Program Memory Type
FLASH
Ram Size
4K x 8
Voltage - Supply (vcc/vdd)
2.5 V ~ 5.5 V
Data Converters
A/D 8x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
48-LQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
M052LAN
Manufacturer:
NuvoTon
Quantity:
130
Part Number:
M052LAN
Manufacturer:
Nuvoton Technology Corporation of America
Quantity:
10 000
Part Number:
M052LAN
Manufacturer:
NUVOTON
Quantity:
20 000
6.9 Watchdog Timer (WDT)
6.9.1
NuMicro M051
The purpose of Watchdog Timer is to perform a system reset when system runs into an unknown
state. This prevents system from hanging for an infinite period of time. Besides, this Watchdog
Timer supports another function to wakeup CPU from power-down mode. The watchdog timer
includes a 18-bit free running counter with programmable time-out intervals. Table 6.9-1 shows
the watchdog timeout interval selection and Figure 6.9-1 shows the timing of watchdog interrupt
signal and reset signal.
Setting WTE (WDTCR [7]) enables the watchdog timer and the WDT counter starts counting up.
When the counter reaches the selected time-out interval, Watchdog timer interrupt flag WTIF will
be set immediately to request a WDT interrupt if the watchdog timer interrupt enable bit WTIE is
set, in the meanwhile, a specified delay time (1024 * T
set WTR (WDTCR [0]) (Watchdog timer reset) high to reset the 18-bit WDT counter to avoid CPU
from Watchdog timer reset before the delay time expires. WTR bit is cleared automatically by
hardware after WDT counter is reset. There are eight time-out intervals with specific delay time
which are selected by Watchdog timer interval select bits WTIS (WDTCR [10:8]). If the WDT
counter has not been cleared after the specific delay time expires, the watchdog timer will set
Watchdog Timer Reset Flag (WTRF) high and reset CPU. This reset will last 63 WDT clocks
(T
cleared by Watchdog reset. User may poll WTFR by software to recognize the reset source. WDT
also provides wakeup function. When chip is powered down and the Watchdog Timer Wakeup
Function Enable bit (WDTR[4]) is set, if the WDT counter has not been cleared after the specific
delay time expires, the chip will be waken up from power down state.
RST
WTIS
000
001
010
011
100
101
110
111
Overview
) then CPU restarts executing program from reset vector (0x0000 0000). WTRF will not be
Timeout Interval
Selection
2
2
2
2
2
2
2
2
10
12
14
16
18
4
6
8
T
* T
* T
* T
* T
* T
* T
* T
* T
TIS
Table 6.9-1 Watchdog Timeout Interval Selection
WDT
WDT
WDT
WDT
WDT
WDT
WDT
WDT
Series Technical Reference Manual
Interrupt Period
1024 * T
1024 * T
1024 * T
1024 * T
1024 * T
1024 * T
1024 * T
1024 * T
- 265 -
T
INT
WDT
WDT
WDT
WDT
WDT
WDT
WDT
WDT
WDT
Publication Release Date: Sept 14, 2010
) follows the time-out event. User must
WTR Timeout Interval (WDT_CLK=12
Min. T
341.33 us ~ 426.67 us
21.33 us ~ 106.67 us
85.33 us ~ 170.67 us
21.84 ms ~ 21.93 ms
1.33 us ~ 86.67 us
5.33 us ~ 90.67 us
1.36 ms ~ 1.45 ms
5.46 ms ~ 5.55 ms
WTR
MHz)
~ Max. T
Revision V1.2
WTR

Related parts for M052LAN