ETC2 MINI51TDE 32-bit microcontroller Datasheet

NuMicro MINI51 DE Series Datasheet
ARM Cortex™-M0
32-BIT MICROCONTROLLER
NuMicro Mini51™ DE Series
Datasheet
Nuvoton is providing this document only for reference purposes of NuMicroTM microcontroller based system
design. Nuvoton assumes no responsibility for errors or omissions.
All data and specifications are subject to change without notice.
For additional information or questions, please contact: Nuvoton Technology Corporation.
www.nuvoton.com
May 22, 2014
Page 1 of 70
Revision 1.01
NUMICRO MINI51™ DE SERIES DATASHEET
The information described in this document is the exclusive intellectual property of
Nuvoton Technology Corporation and shall not be reproduced without permission from Nuvoton.
NuMicro MINI51 DE Series Datasheet
Table of Contents
1
GENERAL DESCRIPTION................................................................................................. 7
2
FEATURES ........................................................................................... 8
3
ABBREVIATIONS ................................................................................. 12
4
PARTS INFORMATION LIST AND PIN CONFIGURATION .............................. 13
4.1
NuMicro Mini51 Series Selection Code .......................................................... 13
4.2
NuMicro Mini51 Series Product Selection Guide............................................... 14
4.3
PIN CONFIGURATION ............................................................................... 15
4.3.1
LQFP 48-pin .................................................................................................... 15
4.3.2
QFN 33-pin ................................................................................................................................ 16
4.3.3
TSSOP 20-pin ............................................................................................................................ 17
4.3.4
Mini54FHC (TSSOP20-pin) ........................................................................................................ 17
Pin Description ......................................................................................... 18
4.4
BLOCK DIAGRAM ................................................................................ 22
5
NuMicro Mini51™ Block Diagram ................................................................... 22
5.1
NUMICRO MINI51™ DE SERIES DATASHEET
Functional Description ............................................................................ 23
6
6.1
Memory Organization ................................................................................. 23
6.1.1
Overview .................................................................................................................................... 23
6.1.2
System Memory Map ................................................................................................................. 23
6.2
Nested Vectored Interrupt Controller (NVIC) ...................................................... 24
6.2.1
Overview .................................................................................................................................... 24
6.2.2
Features..................................................................................................................................... 24
6.2.3
Exception Model and System Interrupt Map ............................................................................... 25
6.2.4
Vector Table .............................................................................................................................. 26
6.2.5
Operation Description ................................................................................................................ 27
6.3
System Manager ....................................................................................... 28
6.3.1
Overview .................................................................................................................................... 28
6.3.2
System Reset ............................................................................................................................ 28
6.3.3
System Power Architecture ........................................................................................................ 28
6.3.4
Whole System Memory Mapping ............................................................................................... 30
6.4
Clock Controller ........................................................................................ 31
6.4.1
Overview .................................................................................................................................... 31
6.4.2
System Clock and SysTick Clock ............................................................................................... 32
6.4.3
ISP Clock Source Selection ....................................................................................................... 33
May 22, 2014
Page 2 of 70
Revision 1.01
NuMicro MINI51 DE Series Datasheet
6.4.4
Module Clock Source Selection ................................................................................................. 33
6.4.5
Power-down Mode Clock ........................................................................................................... 34
6.4.6
Frequency Divider Output .......................................................................................................... 34
Analog Comparator (ACMP) ......................................................................... 36
6.5
6.5.1
Overview .................................................................................................................................... 36
6.5.2
Features..................................................................................................................................... 36
Analog-to-Digital Converter (ADC) .................................................................. 37
6.6
6.6.1
Overview .................................................................................................................................... 37
6.6.2
Features..................................................................................................................................... 37
Flash Memory Controller (FMC) ..................................................................... 38
6.7
6.7.1
Overview .................................................................................................................................... 38
6.7.2
Features..................................................................................................................................... 38
General Purpose I/O (GPIO) ......................................................................... 39
6.8
6.8.1
Overview .................................................................................................................................... 39
6.8.2
Features..................................................................................................................................... 39
I2C Serial Interface Controller (I2C) ................................................................ 40
6.9
Overview .................................................................................................................................... 40
6.9.2
Features..................................................................................................................................... 40
6.10
Enhanced PWM Generator........................................................................... 41
6.10.1
Overview .................................................................................................................................... 41
6.10.2
Features..................................................................................................................................... 41
6.11
Serial Peripheral Interface (SPI)..................................................................... 43
6.11.1
Overview .................................................................................................................................... 43
6.11.2
Features..................................................................................................................................... 43
6.12
Timer Controller (TMR) ............................................................................... 44
6.12.1
Overview .................................................................................................................................... 44
6.12.2
Features..................................................................................................................................... 44
6.13
UART Controller (UART) ............................................................................. 45
6.13.1
Overview .................................................................................................................................... 45
6.13.2
Features..................................................................................................................................... 45
6.14
Watchdog Timer (WDT)............................................................................... 46
6.14.1
Overview .................................................................................................................................... 46
6.14.2
Features..................................................................................................................................... 46
ARM® Cortex™-M0 core ........................................................................ 47
7
7.1
Overview ................................................................................................. 47
May 22, 2014
Page 3 of 70
Revision 1.01
NUMICRO MINI51™ DE SERIES DATASHEET
6.9.1
NuMicro MINI51 DE Series Datasheet
7.2
Features ................................................................................................. 47
7.3
System Timer (SysTick) .............................................................................. 48
8
APPLICATION CIRCUIT ......................................................................... 49
9
MINI51XXDE ELECTRICAL CHARACTERISTICS ......................................... 50
9.1
Absolute Maximum Ratings .......................................................................... 50
9.2
DC Electrical Characteristics......................................................................... 50
9.3
AC Electrical Characteristics ......................................................................... 58
9.3.1
External Input Clock ................................................................................................................... 58
9.3.2
External 4~24 MHz High Speed Crystal (HXT) ........................................................................... 58
9.3.3
Typical Crystal Application Circuits ............................................................................................ 59
9.3.4
22.1184 MHz Internal High Speed RC Oscillator (HIRC) ............................................................ 59
9.3.5
10 kHz Internal Low Speed RC Oscillator(LIRC) ........................................................................ 60
Analog Characteristics ................................................................................ 61
9.4
NUMICRO MINI51™ DE SERIES DATASHEET
9.4.1
10-bit SARADC .......................................................................................................................... 61
9.4.2
LDO & Power Management ....................................................................................................... 62
9.4.3
Low Voltage Reset ..................................................................................................................... 62
9.4.4
Brown-out Detector .................................................................................................................... 63
9.4.5
Power-on Reset ......................................................................................................................... 63
9.4.6
Comparator ................................................................................................................................ 64
Flash DC Electrical Characteristics ................................................................. 65
9.5
10
PACKAGE DIMENSIONS........................................................................ 66
10.1
48-pin LQFP ............................................................................................ 66
10.2
33-pin QFN (4 mm x 4 mm) .......................................................................... 67
10.3
33-pin QFN (5 mm x 5 mm) .......................................................................... 68
10.4
20-pin TSSOP .......................................................................................... 69
11
REVISION HISTORY ....................................................................................................... 70
May 22, 2014
Page 4 of 70
Revision 1.01
NuMicro MINI51 DE Series Datasheet
LIST OF FIGURES
Figure 4.1-1 NuMicro Mini51 Series Selection Code ................................................................ 13
Figure 4.3-1 NuMicro Mini51 Series LQFP 48-pin Diagram ...................................................... 15
Figure 4.3-2 NuMicro Mini51 Series QFN 33-pin Diagram ........................................................ 16
Figure 4.3-3 NuMicro Mini51 Series TSSOP 20-pin Diagram ................................................... 17
Figure 4.3-4 NuMicro Mini51 Series TSSOP 20-pin Diagram ................................................... 17
Figure 5.1-1 NuMicro Mini51 Series Block Diagram ................................................................. 22
Figure 6.3-1 NuMicro Mini51 Series Power Architecture Diagram ............................................ 29
Figure 6.4-1 Clock Generator Block Diagram .............................................................................. 31
Figure 6.4-2 System Clock Block Diagram .................................................................................. 32
Figure 6.4-3 SysTick Clock Control Block Diagram ..................................................................... 32
Figure 6.4-4 AHB Clock Source for HCLK ................................................................................... 33
Figure 6.4-5 Peripherals Clock Source Selection for PCLK ......................................................... 33
Figure 6.4-6 Clock Source of Frequency Divider ......................................................................... 35
Figure 6.4-7 Block Diagram of Frequency Divider ....................................................................... 35
Figure 7.1-1 Functional Block Diagram ....................................................................................... 47
Figure 9-1Mini5xDE Typical Crystal Application Circuit ............................................................... 59
May 22, 2014
Page 5 of 70
Revision 1.01
NUMICRO MINI51™ DE SERIES DATASHEET
Figure 9-2Power-up Ramp Condition .......................................................................................... 64
NuMicro MINI51 DE Series Datasheet
LIST OF TABLES
Table 4.1-1 List of Abbreviations ................................................................................................. 12
Table 4.2-1NuMicro Mini51 Series Product Selection Guide .................................................... 14
Table 6.1-1 Address Space Assignments for On-Chip Modules .................................................. 23
Table 6.2-1 Exception Model ....................................................................................................... 25
Table 6.2-2 System Interrupt Map Vector Table .......................................................................... 26
Table 6.2-3 Vector Table Format................................................................................................. 26
Table 6.3-1 Memory Mapping Table ............................................................................................ 30
Table 6.4-1 Peripheral Clock Source Selection Table ................................................................. 34
NUMICRO MINI51™ DE SERIES DATASHEET
May 22, 2014
Page 6 of 70
Revision 1.01
NuMicro MINI51 DE Series Datasheet
1
GENERAL DESCRIPTION
The NuMicro Mini51™ series 32-bit microcontroller is embedded with ARM® Cortex™-M0 core for
industrial control and applications which require high performance, high integration, and low cost.
®
The Cortex™-M0 is the newest ARM embedded processor with 32-bit performance at a cost
equivalent to the traditional 8-bit microcontroller.
The NuMicro Mini51™ series can run up to 24 MHz and operate at 2.5V ~ 5.5V, -40℃ ~ 105℃,
and thus can afford to support a variety of industrial control and applications which need high
CPU performance. The NuMicro Mini51™ series offers 4K/8K/16K-bytes embedded program
flash, size configurable data flash (shared with program flash), 2K-byte flash for the ISP, and 2Kbyte SRAM.
2
Many system level peripheral functions, such as I/O Port, Timer, UART, SPI, I C, PWM, ADC,
Watchdog Timer, Analog Comparator and Brown-out Detector, have been incorporated into the
NuMicro Mini51™ series in order to reduce component count, board space and system cost.
These useful functions make the NuMicro Mini51™ series powerful for a wide range of
applications.
Additionally, the NuMicro Mini51™ series is equipped with ISP (In-System Programming) and ICP
(In-Circuit Programming) functions, which allow the user to update the program memory without
removing the chip from the actual end product.
NUMICRO MINI51™ DE SERIES DATASHEET
May 22, 2014
Page 7 of 70
Revision 1.01
NuMicro MINI51 DE Series Datasheet
2
FEATURES

Core

ARM® Cortex™-M0 core running up to 24 MHz

One 24-bit system timer

Supports Low Power Sleep mode

A single-cycle 32-bit hardware multiplier

NVIC for the 32 interrupt inputs, each with 4-level of priority

Supports Serial Wire Debug (SWD) interface and two watch points/four
breakpoints

Built-in LDO for wide operating voltage ranged: 2.5 V to 5.5 V

Memory


4 KB/ 8 KB/ 16 KB Flash memory for program memory (APROM)

Configurable Flash memory for data memory (Data Flash)

2 KB Flash for loader (LDROM)

2 KB SRAM for internal scratch-pad RAM (SRAM)
Clock Control

Programmable system clock source

Switch clock sources on-the-fly
NUMICRO MINI51™ DE SERIES DATASHEET

4 ~ 24 MHz external crystal input (HXT)

32.768 kHz external crystal input (LXT) for Power-down wake-up and system
operation clock

22.1184 MHz internal oscillator (HIRC) (1% accuracy at 25 C, 5V)
O

Dynamically calibrating the HIRC OSC to 22.1184 MHz ±1% from -40 C to
105 C by external 32.768K crystal oscillator (LXT)
O
O



May 22, 2014
10 kHz internal low-power oscillator (LIRC) for Watchdog Timer and Powerdown wake-up
I/O Port

Up to 30 general-purpose I/O (GPIO) pins for LQFP-48 package

Four I/O modes:

Input-only with high impendence

Push-pull output

Open-drain output

Quasi-bidirectional

TTL/Schmitt trigger input selectable

I/O pin can be configured as interrupt source with edge/level setting

Supports high driver and high sink I/O mode

Configurable default I/O mode of all pins after POR
Timer
Page 8 of 70
Revision 1.01
NuMicro MINI51 DE Series Datasheet



May 22, 2014
Provides two channel 32-bit timers. One 8-bit pre-scale counter with 24-bit up
counter for each timer

Independent clock source for each timer

Provides One-shot, Periodic, Toggle and Continuous operation modes

24-bit up counter value is readable through TDR (Timer Data Register)

Provides trigger counting/free counting/counter reset function triggered by
external capture pin or internal comparator signal

Provides event counter function

Supports wake-up from Idle or Power-down mode
WDT (Watchdog Timer)

Multiple clock sources

Supports wake-up from Idle or Power-down mode

Interrupt or reset selectable on watchdog time-out
PWM

Independent 16-bit PWM duty control units with maximum six outputs

Supports group/synchronous/independent/ complementary modes

Supports One-shot or Auto-reload mode

Supports Edge-aligned and Center-aligned type

Programmable dead-zone insertion between complementary channels

Each output has independent polarity setting control

Hardware fault brake protections

Supports duty, period, and fault break interrupts

Supports duty/period trigger ADC conversion

Timer comparing matching event trigger PWM to do phase change

Supports comparator event trigger PWM to force PWM output low for current
period

Provides interrupt accumulation function
UART (Universal Asynchronous Receiver/Transmitters)

One UART device

Buffered receiver and transmitter, each with 16-byte FIFO

Optional flow control function (CTSn and RTSn)

Supports IrDA (SIR) function

Programmable baud-rate generator up to 1/16 system clock

Supports RS-485 function
SPI (Serial Peripheral Interface)

One SPI devices

Supports Master/Slave mode
Page 9 of 70
Revision 1.01
NUMICRO MINI51™ DE SERIES DATASHEET


NuMicro MINI51 DE Series Datasheet

NUMICRO MINI51™ DE SERIES DATASHEET



Full-duplex synchronous serial data transfer

Provides 3-wire function

Variable length of transfer data from 8 to 32 bits

MSB or LSB first data transfer

Rx latching data can be either at rising edge or at falling edge of serial clock

Tx sending data can be either at rising edge or at falling edge of serial clock

Supports Byte Suspend mode in 32-bit transmission

4-level depth FIFO buffer
2
IC

Supports Master/Slave mode

Bidirectional data transfer between masters and slaves

Multi-master bus (no central master)

Arbitration between simultaneously transmitting masters without corruption of
serial data on the bus

Serial clock synchronization allows devices with different bit rates to
communicate via one serial bus

Serial clock synchronization can be used as a handshake mechanism to
suspend and resume serial transfer

Programmable clocks allow for versatile rate control

Supports 7-bit addressing mode

Supports multiple address recognition (four slave addresses with mask option)

Supports Power-down wake-up function

Support FIFO function
ADC (Analog-to-Digital Converter)

10-bit SAR ADC with 300K SPS

Up to 8-ch single-end input and one internal input from band-gap

Conversion started either by software trigger, PWM trigger, or external pin
trigger

Supports conversion value monitoring (or comparison) for threshold voltage
detection
Analog Comparator

Two analog comparators with programmable 16-level internal voltage reference

Build-in CRV (comparator reference voltage)

Supports Hysteresis function

Interrupt when compared results changed

ISP (In-System Programming) and ICP (In-Circuit Programming)

BOD (Brown-out Detector)

May 22, 2014
With 4 programmable threshold levels: 4.4V/3.7V/2.7V/2.2V
Page 10 of 70
Revision 1.01
NuMicro MINI51 DE Series Datasheet

Supports Brown-out interrupt and reset option

96-bit unique ID

LVR (Low Voltage Reset)

Threshold voltage level: 2.0V

Operating Temperature: -40℃~105℃

Reliability: EFT > ± 4KV, ESD HBM pass 4KV

Packages:

Green package (RoHS)

48-pin LQFP (7x7), 33-pin QFN (5x5) , 33-pin QFN (4x4), 20-pin TSSOP
NUMICRO MINI51™ DE SERIES DATASHEET
May 22, 2014
Page 11 of 70
Revision 1.01
NuMicro MINI51 DE Series Datasheet
3
ABBREVIATIONS
NUMICRO MINI51™ DE SERIES DATASHEET
Acronym
Description
ACMP
Analog Comparator Controller
ADC
Analog-to-Digital Converter
AHB
Advanced High-Performance Bus
APB
Advanced Peripheral Bus
BOD
Brown-out Detection
DAP
Debug Access Port
FIFO
First In, First Out
FMC
Flash Memory Controller
GPIO
General-Purpose Input/Output
HCLK
The Clock of Advanced High-Performance Bus
HIRC
22.1184 MHz Internal High Speed RC Oscillator
HXT
4~24 MHz External High Speed Crystal Oscillator
ICP
In Circuit Programming
ISP
In System Programming
ISR
Interrupt Service Routine
LDO
Low Dropout Regulator
LIRC
10 kHz internal low speed RC oscillator (LIRC)
LXT
32.768 kHz External Low Speed Crystal Oscillator
NVIC
Nested Vectored Interrupt Controller
PCLK
The Clock of Advanced Peripheral Bus
PWM
Pulse Width Modulation
SPI
Serial Peripheral Interface
SPS
Samples per Second
TMR
Timer Controller
UART
Universal Asynchronous Receiver/Transmitter
UCID
Unique Customer ID
WDT
Watchdog Timer
Table 4.1-1 List of Abbreviations
May 22, 2014
Page 12 of 70
Revision 1.01
NuMicro MINI51 DE Series Datasheet
4
4.1
PARTS INFORMATION LIST AND PIN CONFIGURATION
NuMicro Mini51 Series Selection Code
MINI 5X - X X E
CPU core
ARM Cortex M0
Temperature
E: - 40 ℃ ~ +105℃
C: - 40 ℃ ~ +125℃
Version
D: Version
H: Version
Flash ROM
51: 4 KB Flash ROM
52: 8 KB Flash ROM
54: 16 KB Flash ROM
Package Type
F: TSSOP20
Z: QFN 33 (5x5)
T: QFN 33 (4x4)
L: LQFP 48 (7x7)
NUMICRO MINI51™ DE SERIES DATASHEET
Figure 4.1-1 NuMicro Mini51 Series Selection Code
May 22, 2014
Page 13 of 70
Revision 1.01
NuMicro MINI51 DE Series Datasheet
4.2
NuMicro Mini51 Series Product Selection Guide
Part No.
ISP
APROM RAM Data Flash Loader
ROM
Connectivity
I/O
Timer
Comp. PWM
ADC
UART SPI I2C
ISP
IRC
ICP 22.1184 Package
IAP
MHz
NUMICRO MINI51™ DE SERIES DATASHEET
MINI51FDE
4 KB
2 KB Configurable
2 KB
up to 2x
17 32-bit
1
1
1
-
3
4x10-bit
v
v
TSSOP20
MINI51LDE
4 KB
2 KB Configurable
2 KB
up to 2x
30 32-bit
1
1
1
2
6
8x10-bit
v
v
LQFP48
MINI51ZDE
4 KB
2 KB Configurable
2 KB
up to 2x
29 32-bit
1
1
1
2
6
8x10-bit
v
v
QFN33
(5x5)
MINI51TDE
4 KB
2 KB Configurable
2 KB
up to 2x
29 32-bit
1
1
1
2
6
8x10-bit
v
v
QFN33
(4x4)
MINI52FDE
8 KB
2 KB Configurable
2 KB
up to 2x
17 32-bit
1
1
1
-
3
4x10-bit
v
v
TSSOP20
MINI52LDE
8 KB
2 KB Configurable
2 KB
up to 2x
30 32-bit
1
1
1
2
6
8x10-bit
v
v
LQFP48
MINI52ZDE
8 KB
2 KB Configurable
2 KB
up to 2x
29 32-bit
1
1
1
2
6
8x10-bit
v
v
QFN33
(5x5)
MINI52TDE
8 KB
2 KB Configurable
2 KB
up to 2x
29 32-bit
1
1
1
2
6
8x10-bit
v
v
QFN33
(4x4)
MINI54FDE
16 KB 2 KB Configurable
2 KB
up to 2x
17 32-bit
1
1
1
-
3
4x10-bit
v
v
TSSOP20
MINI54LDE
16 KB 2 KB Configurable
2 KB
up to 2x
30 32-bit
1
1
1
2
6
8x10-bit
v
v
LQFP48
MINI54ZDE
16 KB 2 KB Configurable
2 KB
up to 2x
29 32-bit
1
1
1
2
6
8x10-bit
v
v
QFN33
(5x5)
MINI54TDE
16 KB 2 KB Configurable
2 KB
up to 2x
29 32-bit
1
1
1
2
6
8x10-bit
v
v
QFN33
(4x4)
*MINI54FHC 16 KB 2 KB Configurable
2 KB
up to 2x
17 32-bit
1
1
1
-
6
3x10-bit
v
v
TSSOP20
Table 4.2-1NuMicro Mini51 Series Product Selection Guide
* Mini54FHC is a special part number, not pin to pin compatible to others Mini51series part number.
May 22, 2014
Page 14 of 70
Revision 1.01
NuMicro MINI51 DE Series Datasheet
4.3
4.3.1
PIN CONFIGURATION
LQFP 48-pin
NC
ACMP0_N,AIN4,P1.4
ACMP0_P, TX ,AIN3,P1.3
ACMP0_P, RX ,AIN2,
P1.2
ACMP0_P, AIN1,P1.0
AVDD
VDD
AIN0,P5.3
NC
NC
TX, CTSn, P0.0
SPISS, RX, RTSn, P0.1
48
47
46
45
44
43
42
41
40
39
38
37
NC
1
36
NC
ACMP0_P, AIN5, P1.5
2
35
P0.4, SPISS,PWM5
/RESET
3
34
P0.5, MOSI
ACMP1_N, AIN6, P3.0
4
33
P0.6, MISO
AVSS
5
32
P0.7, SPICLK
P5.4
6
31
NC
30
P4.7, ICE_DAT
Mini51
LQFP 48-pin
7
8
29
P4.6, ICE_CLK
ACMP1_P, SDA, T0, P3.4
9
28
NC
ACMP1_P, SCL, T1, P3.5
10
27
NC
NC
11
26
P2.6, PWM4, ACMP1_O
NC
12
25
P2.5, PWM3
16
17
18
19
20
21
22
23
24
P5.0,XTAL1
VSS
LDO_CAP
P5.5
P5.2, INT1
NC
P2.2, PWM0
P2.3, PWM1
P2.4, PWM2
P3.6,
CKO,T1EX,ACMP0_O
P5.1,XTAL2
14
NC
15
13
Figure 4.3-1 NuMicro Mini51 Series LQFP 48-pin Diagram
May 22, 2014
Page 15 of 70
Revision 1.01
NUMICRO MINI51™ DE SERIES DATASHEET
ACMP1_P, AIN7, P3.1
ACMP1_P, T0EX, STADC, INT0,
P3.2
NuMicro MINI51 DE Series Datasheet
4.3.2
QFN 33-pin
SPISS,RX,RTSn, P0.1
TX,CTSn, P0.0
AIN0,P5.3
VDD
ACMP0_P,AIN1, P1.0
ACMP0_P,RX, AIN2, P1.2
ACMP0_P,TX, AIN3, P1.3
ACMP0_N,AIN4, P1.4
32 31 30 29 28 27 26 25
1
24 P0.4, SPISS,PWM5
/RESET
2
23 P0.5, MOSI
ACMP1_N,AIN6, P3.0
3
22 P0.6, MISO
P5.4
4
ACMP1_P,AIN7, P3.1
5
ACMP1_P,
T0EX,STADC,INT0, P3.2
ACMP1_P, SDA, T0, P3.4
6
19 P4.6, ICE_CLK
7
18 P2.6, PWM4,ACMP1_O
ACMP1_P, SCL, T1, P3.5
8
Mini51
QFN 33-pin
21 P0.7, SPICLK
20 P4.7, ICE_DAT
33 VSS
9
17 P2.5, PWM3
10 11 12 13 14 15 16
P2.4, PWM2
P2.3, PWM1
P2.2, PWM0
P5.2,INT1
VSS
P5.0,XTAL1
P5.1,XTAL2
P3.6,
CKO,T1EX,ACMP0_O
NUMICRO MINI51™ DE SERIES DATASHEET
ACMP0_P,AIN5, P1.5
Top Transparent View
Figure 4.3-2 NuMicro Mini51 Series QFN 33-pin Diagram
May 22, 2014
Page 16 of 70
Revision 1.01
NuMicro MINI51 DE Series Datasheet
4.3.3
TSSOP 20-pin
RX,AIN2,P1.2
1
20 VDD
TX,AIN3,P1.3
2
19 P0.4,SPISS,PWM5
AIN4,P1.4
3
18 P0.5,MOSI
AIN5,P1.5
4
/RESET
5
INT0,TOEX,STADC,P3.2
6
T0,SDA,P3.4
7
14 P4.6,ICE_CLK
T1,SCL,P3.5
8
13 P2.5,PWM3
XTAL2,P5.1
9
12 P2.4,PWM2
Mini51
SSOP
20-Pin
17 P0.6,MISO
16 P0.7,SPICLK
15 P4.7,ICE_DAT
11 Vss
XTAL1,P5.0 10
4.3.4
Mini54FHC (TSSOP20-pin)
VDD
1
20 P0.4,SPISS,PWM5
RX,AIN2,P1.2
2
19 P0.5,MOSI
TX,AIN3,P1.3
3
18 P0.6,MISO
AIN4,P1.4
4
/RESET
5
INT0,TOEX,STADC,P3.2
6
T0,SDA,P3.4
7
14 P2.6,PWM4
T1,SCL,P3.5
8
13 P2.5,PWM3
VSS
9
12 P2.4,PWM2
PWM0,P2.2 10
11 P2.3,PWM1
Mini54FHC
SSOP
20-pin
17 P0.7,SPICLK
16 P4.7,ICE_DAT
15 P4.6,ICE_CLK
Figure 4.3-4 NuMicro Mini51 Series TSSOP 20-pin Diagram
May 22, 2014
Page 17 of 70
Revision 1.01
NUMICRO MINI51™ DE SERIES DATASHEET
Figure 4.3-3 NuMicro Mini51 Series TSSOP 20-pin Diagram
NuMicro MINI51 DE Series Datasheet
4.4
Pin Description
Pin Number
LQFP
48-pin
QFN
33-pin
TSSOP
20-pin
Mini54FHCT
SSOP20-pin
1
---
---
---
2
3
4
1
2
3
4
5
---
---
5
---
Pin Name
Pin Type
Description
NC
---
Not connected
P1.5
I/O
General purpose digital I/O pin
AIN5
AI
ADC analog input pin
ACMP0_P
AI
Analog comparator positive input pin
/RESET
I(ST)
The Schmitt trigger input pin for hardware device reset. A “Low”
on this pin for 768 clock counter of Internal RC 22.1184 MHz while
the system clock is running will reset the device. /RESET pin has
an internal pull-up resistor allowing power-on reset by simply
connecting an external capacitor to GND.
P3.0
I/O
General purpose digital I/O pin
AIN6
AI
ADC analog input pin
ACMP1_N
AI
Analog comparator negative input pin
NUMICRO MINI51™ DE SERIES DATASHEET
5
---
---
---
AVSS
AP
Ground pin for analog circuit
6
4
---
---
P5.4
I/O
General purpose digital I/O pin
P3.1
I/O
General purpose digital I/O pin
AIN7
AI
ADC analog input pin
ACMP1_P
AI
Analog comparator positive input pin
P3.2
I/O
General purpose digital I/O pin
INT0
I
External interrupt 0 input pin
STADC
I
ADC external trigger input pin
T0EX
I
Timer 0 external capture/reset trigger input pin
7
8
9
10
5
6
7
8
---
6
7
8
---
6
ACMP1_P
AI
Analog comparator positive input pin
P3.4
I/O
General purpose digital I/O pin
T0
I/O
Timer 0 external event counter input pin
SDA
I/O
I2C data I/O pin
ACMP1_P
AI
Analog comparator positive input pin
P3.5
I/O
General purpose digital I/O pin
T1
I/O
Timer 1 external event counter input pin
SCL
I/O
I2C clock I/O pin
ACMP1_P
AI
Analog comparator positive input pin
7
8
11
---
---
---
NC
---
Not connected.
12
---
---
---
NC
---
Not connected.
13
---
--
--
NC
---
Not connected.
May 22, 2014
Page 18 of 70
Revision 1.01
NuMicro MINI51 DE Series Datasheet
Pin Number
LQFP
48-pin
14
15
16
QFN
33-pin
9
10
11
TSSOP
20-pin
---
9
10
Mini54FHCT
SSOP20-pin
Pin Name
Pin Type
Description
P3.6
I/O
General purpose digital I/O pin.
ACMP0_O
O
Analog comparator output pin.
CKO
O
Frequency divider output pin.
T1EX
I
Timer 1 external capture/reset trigger input pin.
P5.1
I/O
General purpose digital I/O pin.
XTAL2
O
The output pin from the internal inverting amplifier. It emits the
inverted signal of XTAL1.
P5.0
I/O
General purpose digital I/O pin.
---
---
--XTAL1
I
The input pin to the internal inverting amplifier. The system clock
could be from external crystal or resonator.
12
17
11
9
VSS
P
Ground pin for digital circuit.
P
LDO output pin.
33
18
---
---
---
LDO_CAP
19
---
---
---
P5.5
I/O
User program must enable pull-up resistor in the QFN-33
package.
P5.2
I/O
General purpose digital I/O pin.
20
13
---
--INT1
I
General purpose digital I/O pin.
---
---
---
22
14
---
10
23
24
25
26
15
16
17
18
---
12
13
---
NC
---
Not connected.
P2.2
I/O
General purpose digital I/O pin.
PWM0
O
PWM0 output of PWM unit.
P2.3
I/O
General purpose digital I/O pin.
PWM1
O
PWM1 output of PWM unit.
P2.4
I/O
General purpose input/output digital pin.
PWM2
O
PWM2 output of PWM unit.
P2.5
I/O
General purpose digital I/O pin.
PWM3
O
PWM3 output of PWM unit.
P2.6
I/O
General purpose digital I/O pin.
PWM4
O
PWM4 output of PWM unit.
ACMP1_O
O
Analog comparator output pin.
11
12
13
14
27
---
---
---
NC
---
Not connected.
28
---
---
---
NC
---
Not connected.
29
19
14
15
P4.6
I/O
General purpose digital I/O pin.
May 22, 2014
Page 19 of 70
Revision 1.01
NUMICRO MINI51™ DE SERIES DATASHEET
21
External interrupt 1 input pin.
NuMicro MINI51 DE Series Datasheet
Pin Number
LQFP
48-pin
QFN
33-pin
TSSOP
20-pin
Mini54FHCT
SSOP20-pin
Pin Name
ICE_CLK
30
20
15
---
---
---
32
21
16
17
34
35
36
NUMICRO MINI51™ DE SERIES DATASHEET
37
38
22
23
24
---
25
26
17
18
19
---
---
---
Description
I
Serial wired debugger clock pin.
P4.7
I/O
General purpose digital I/O pin.
ICE_DAT
I/O
Serial wired debugger data pin.
NC
---
Not connected.
P0.7
I/O
General purpose digital I/O pin.
SPICLK
I/O
SPI serial clock pin.
P0.6
I/O
General purpose digital I/O pin.
MISO
I/O
SPI MISO (master in/slave out) pin.
P0.5
I/O
General purpose digital I/O pin.
MOSI
O
SPI MOSI (master out/slave in) pin.
P0.4
I/O
General purpose digital I/O pin.
SPISS
I/O
SPI slave select pin.
PWM5
O
PWM5 output of PWM unit.
NC
---
Not connected.
P0.1
I/O
General purpose digital I/O pin.
RTSn
O
UART RTS pin.
RX
I
UART data receiver input pin.
16
31
33
Pin Type
18
19
20
---
---
---
SPISS
I/O
SPI slave select pin.
P0.0
I/O
General purpose digital I/O pin.
CTSn
I
UART CTS pin.
TX
O
UART transmitter output pin.
39
---
---
---
NC
---
Not connected.
40
---
---
---
NC
---
Not connected.
P5.3
I/O
General purpose digital I/O pin.
41
27
---
--AIN0
AI
ADC analog input pin.
VDD
P
Power supply for digital circuit.
AVDD
P
Power supply for analog circuit.
P1.0
I/O
General purpose digital I/O pin.
AIN1
AI
ADC analog input pin.
ACMP0_P
AI
Analog comparator positive input pin.
P1.2
I/O
General purpose digital I/O pin.
AIN2
AI
ADC analog input pin.
42
28
20
1
43
44
45
29
30
May 22, 2014
---
1
---
2
Page 20 of 70
Revision 1.01
NuMicro MINI51 DE Series Datasheet
Pin Number
LQFP
48-pin
QFN
33-pin
TSSOP
20-pin
Mini54FHCT
SSOP20-pin
Pin Name
RX
46
47
48
31
32
---
2
3
--
Pin Type
I
Description
UART data receiver input pin.
ACMP0_P
AI
Analog comparator positive input pin.
P1.3
I/O
General purpose digital I/O pin.
AIN3
AI
ADC analog input pin.
TX
O
UART transmitter output pin.
ACMP0_P
AI
Analog comparator positive input pin.
P1.4
I/O
General purpose digital I/O pin.
AIN4
I/O
PWM5: PWM output/Capture input.
ACMP0_N
AI
Analog comparator negative input pin.
NC
---
Not connected.
3
4
--
[1] I/O type description. I: input, O: output, I/O: quasi bi-direction, D: open-drain, P: power pin, ST:
Schmitt trigger, A: Analog input.
NUMICRO MINI51™ DE SERIES DATASHEET
May 22, 2014
Page 21 of 70
Revision 1.01
NuMicro MINI51 DE Series Datasheet
5
5.1
BLOCK DIAGRAM
NuMicro Mini51™ Block Diagram
NUMICRO MINI51™ DE SERIES DATASHEET
Figure 5.1-1 NuMicro Mini51 Series Block Diagram
May 22, 2014
Page 22 of 70
Revision 1.01
NuMicro MINI51 DE Series Datasheet
6
FUNCTIONAL DESCRIPTION
6.1
Memory Organization
6.1.1
Overview
The NuMicro Mini51 series provides 4G-byte addressing space. The addressing space
assigned to each on-chip controllers is shown the following table. The detailed register definition,
addressing space, and programming details will be described in the following sections for each
on-chip peripheral. The NuMicro Mini51 series only supports little-endian data format.
6.1.2
System Memory Map
The memory locations assigned to each on-chip controllers are shown in the following table.
Addressing Space
Token
Modules
0x0000_0000 – 0x0000_3FFF
FLASH_BA
Flash Memory Space (16 KB)
0x2000_0000 – 0x2000_07FF
SRAM_BA
SRAM Memory Space (2 KB)
Flash and SRAM Memory Space
AHB Modules Space (0x5000_0000 – 0x501F_FFFF)
GCR_BA
System Global Control Registers
0x5000_0200 – 0x5000_02FF
CLK_BA
Clock Control Registers
0x5000_0300 – 0x5000_03FF
INT_BA
Interrupt Multiplexer Control Registers
0x5000_4000 – 0x5000_7FFF
GP_BA
GPIO (P0~P5) Control Registers
0x5000_C000 – 0x5000_FFFF
FMC_BA
Flash Memory Control Registers
NUMICRO MINI51™ DE SERIES DATASHEET
0x5000_0000 – 0x5000_01FF
APB Modules Space (0x4000_0000 – 0x401F_FFFF)
0x4000_4000 – 0x4000_7FFF
WDT_BA
Watchdog Timer Control Registers
0x4001_0000 – 0x4001_3FFF
TMR_BA
Timer0/Timer1 Control Registers
0x4002_0000 – 0x4002_3FFF
I2C_BA
I2C Interface Control Registers
0x4003_0000 – 0x4003_3FFF
SPI_BA
SPI with Master/slave Function Control Registers
0x4004_0000 – 0x4004_3FFF
PWM_BA
PWM Control Registers
0x4005_0000 – 0x4005_3FFF
UART_BA
UART Control Registers
0x400D_0000 – 0x400D_3FFF
ACMP_BA
Analog Comparator Control Registers
0x400E_0000 – 0x400E_3FFF
ADC_BA
Analog-Digital-Converter (ADC) Control Registers
System Control Space (0xE000_E000 – 0xE000_EFFF)
0xE000_E010 – 0xE000_E0FF
SCS_BA
System Timer Control Registers
0xE000_E100 – 0xE000_ECFF
SCS_BA
Nested Vectored Interrupt Control Registers
0xE000_ED00 – 0xE000_ED8F
SCB_BA
System Control Block Registers
Table 6.1-1 Address Space Assignments for On-Chip Modules
May 22, 2014
Page 23 of 70
Revision 1.01
NuMicro MINI51 DE Series Datasheet
6.2
Nested Vectored Interrupt Controller (NVIC)
6.2.1
Overview
The Cortex™-M0 CPU provides an interrupt controller as an integral part of the exception mode,
named as “Nested Vectored Interrupt Controller (NVIC)”, which is closely coupled to the
processor core and provides following features.
6.2.2
Features

Nested and Vectored interrupt support

Automatic processor state saving and restoration

Dynamic priority change

Reduced and deterministic interrupt latency
The NVIC prioritizes and handles all supported exceptions. All exceptions are handled in “Handler
Mode”. This NVIC architecture supports 32 (IRQ[31:0]) discrete interrupts with 4 levels of priority.
All of the interrupts and most of the system exceptions can be configured to different priority
levels. When an interrupt occurs, the NVIC will compare the priority of the new interrupt to the
current running one’s priority. If the priority of the new interrupt is higher than the current one, the
new interrupt handler will override the current handler.
NUMICRO MINI51™ DE SERIES DATASHEET
When an interrupt is accepted, the starting address of the Interrupt Service Routine (ISR) is
fetched from a vector table in memory. There is no need to determine which interrupt is accepted
and branch to the starting address of the correlated ISR by software. While the starting address is
fetched, NVIC will also automatically save processor state including the registers “PC, PSR, LR,
R0~R3, R12” to the stack. At the end of the ISR, the NVIC will restore the mentioned registers
from stack and resume the normal execution. Thus it will take less and deterministic time to
process the interrupt request.
The NVIC supports “Tail Chaining” which handles back-to-back interrupts efficiently without the
overhead of states saving and restoration and therefore reduces delay time in switching to
pending ISR at the end of current ISR. The NVIC also supports “Late Arrival” which improves the
efficiency of concurrent ISRs. When a higher priority interrupt request occurs before the current
ISR starts to execute (at the stage of state saving and starting address fetching), the NVIC will
give priority to the higher one without delay penalty. Thus it advances the real-time capability.
®
For more detailed information, please refer to the “ARM
®
Manual” and “ARM v6-M Architecture Reference Manual”.
May 22, 2014
Page 24 of 70
Cortex™-M0 Technical Reference
Revision 1.01
NuMicro MINI51 DE Series Datasheet
6.2.3
Exception Model and System Interrupt Map
The following table lists the exception model supported by NuMicro Mini51 series. Software can
set four levels of priority on some of these exceptions as well as on all interrupts. The highest
user-configurable priority is denoted as 0 and the lowest priority is denoted as 3. The default
priority of all the user-configurable interrupts is 0. Note that the priority 0 is treated as the fourth
priority on the system, after three system exceptions “Reset”, “NMI” and “Hard Fault”.
Exception Name
Vector Number
Priority
Reset
1
-3
NMI
2
-2
Hard Fault
3
-1
Reserved
4 ~ 10
Reserved
SVCall
11
Configurable
Reserved
12 ~ 13
Reserved
PendSV
14
Configurable
SysTick
15
Configurable
Interrupt (IRQ0 ~ IRQ31)
16 ~ 47
Configurable
Exception
Number
Interrupt Number
(Bit In Interrupt Interrupt Name
Registers)
Source
Module
1 ~ 15
-
-
-
16
0
BOD_OUT
Brown-out
17
1
WDT_INT
18
2
19
Interrupt Description
System exceptions
Power-Down
Wake-Up
-
Brown-out low voltage detected interrupt
Yes
WDT
Watchdog Timer interrupt
Yes
EINT0
GPIO
External signal interrupt from P3.2 pin
Yes
3
EINT1
GPIO
External signal interrupt from P5.2 pin
Yes
20
4
GP0/1_INT
GPIO
External signal interrupt from GPIO
group P0~P1
Yes
21
5
GP2/3/4_INT
GPIO
External signal interrupt from GPIO
group P2~P4 except P3.2
Yes
22
6
PWM_INT
PWM
PWM interrupt
No
23
7
BRAKE_INT
PWM
PWM interrupt
No
24
8
TMR0_INT
TMR0
Timer 0 interrupt
Yes
25
9
TMR1_INT
TMR1
Timer 1 interrupt
Yes
26 ~ 27
10 ~ 11
-
-
28
12
UART_INT
UART
May 22, 2014
UART interrupt
Page 25 of 70
Yes
Revision 1.01
NUMICRO MINI51™ DE SERIES DATASHEET
Table 6.2-1 Exception Model
NuMicro MINI51 DE Series Datasheet
Exception
Number
Interrupt Number
(Bit In Interrupt Interrupt Name
Registers)
Source
Module
Interrupt Description
Power-Down
Wake-Up
29
13
-
-
-
30
14
SPI_INT
SPI
31
15
-
-
32
16
GP5_INT
GPIO
External signal interrupt from GPIO
group P5 except P5.2
Yes
33
17
HIRC_TRIM_IN
T
HIRC
HIRC trim interrupt
No
34
18
I2C_INT
I2C
35 ~ 40
19 ~ 24
-
-
41
25
ACMP_INT
ACMP
42 ~ 43
26 ~ 27
-
-
44
28
PWRWU_INT
CLKC
Clock controller interrupt for chip wakeup from Power-down state
Yes
45
29
ADC_INT
ADC
ADC interrupt
No
46 ~ 47
30 ~ 31
-
-
SPI interrupt
No
-
2
I C interrupt
Yes
Analog Comparator 0 or Comparator 1
interrupt
Yes
-
-
NUMICRO MINI51™ DE SERIES DATASHEET
Table 6.2-2 System Interrupt Map Vector Table
6.2.4
Vector Table
When an interrupt is accepted, the processor will automatically fetch the starting address of the
interrupt service routine (ISR) from a vector table in memory. For ARMv6-M, the vector table
based address is fixed at 0x00000000. The vector table contains the initialization value for the
stack pointer on reset, and the entry point addresses for all exception handlers. The vector
number on previous page defines the order of entries in the vector table associated with the
exception handler entry as illustrated in previous section.
Vector Table Word Offset (Bytes)
0x00
Exception Number * 0x04
Description
Initial Stack Pointer Value
Exception Entry Pointer using that Exception Number
Table 6.2-3 Vector Table Format
May 22, 2014
Page 26 of 70
Revision 1.01
NuMicro MINI51 DE Series Datasheet
6.2.5
Operation Description
NVIC interrupts can be enabled and disabled by writing to their corresponding Interrupt SetEnable or Interrupt Clear-Enable register bit-field. The registers use a write-1-to-enable and write1-to-clear policy, both registers reading back the current enabled state of the corresponding
interrupts. When an interrupt is disabled, interrupt assertion will cause the interrupt to become
Pending; however, the interrupt will not be activated. If an interrupt is Active when it is disabled, it
remains in its Active state until cleared by reset or an exception return. Clearing the enable bit
prevents new activations of the associated interrupt.
NVIC interrupts can be pended/un-pended using a complementary pair of registers to those used
to enable/disable the interrupts, named the Set-Pending Register and Clear-Pending Register
respectively. The registers use a write-1-to-enable and write-1-to-clear policy, both registers
reading back the current pended state of the corresponding interrupts. The Clear-Pending
Register has no effect on the execution status of an Active interrupt.
NVIC interrupts are prioritized by updating an 8-bit field within a 32-bit register (each register
supporting four interrupts).
The general registers associated with the NVIC are all accessible from a block of memory in the
System Control Space and will be described in next section.
NUMICRO MINI51™ DE SERIES DATASHEET
May 22, 2014
Page 27 of 70
Revision 1.01
NuMicro MINI51 DE Series Datasheet
6.3
System Manager
6.3.1
Overview
System management includes the following sections:
6.3.2

System Reset

System Power Architecture

System Memory Map

System management registers for Part Number ID, chip reset and on-chip controllers
reset, and multi-functional pin control

System Timer (SysTick)

Nested Vectored Interrupt Controller (NVIC)

System Control registers
System Reset
The system reset can be included by one of the following listed events. For these reset events
flags can be read by RSTSRC register.
NUMICRO MINI51™ DE SERIES DATASHEET
6.3.3

Power-On Reset (POR)

Low level on the Reset Pin (/RESET)

Watchdog Timer Time-out Reset (WDT)

Brown-out Detector Reset (BOD)

Cortex™-M0 MCU Reset

CPU Reset
System Power Architecture
In this chip, the power distribution is divided into three segments.

Analog power from AVDD and AVSS provides the power for analog components
operation. AVDD must be equal to VDD to avoid leakage current.

Digital power from VDD and VSS supplies power to the I/O pins and internal regulator
which provides a fixed 1.8V power for digital operation.

Build-in a capacitor for internal voltage regulator
The output of internal voltage regulator, LDO_CAP, requires an external capacitor which should
be located close to the corresponding pin. Analog power (AVDD) should be the same voltage level
TM
as the digital power (VDD). The following figure shows the power distribution of the Mini51 DE
series.
May 22, 2014
Page 28 of 70
Revision 1.01
NuMicro MINI51 DE Series Datasheet
Analog Comparator
AVDD
10-bit
SAR-ADC
Low
Voltage
Reset
AVSS
FLASH
Digital Logic
Brown
Out
Detector
Internal
22.1184 MHz and
10 kHz Oscillator
LDO_CAP
1.8V
POR18
5V to 1.8V
LDO
IO cell
GPIO Pins
NUMICRO MINI51™ DE SERIES DATASHEET
VDD VSS
Mini51TM Series Power Distribution
Figure 6.3-1 NuMicro Mini51 Series Power Architecture Diagram
May 22, 2014
Page 29 of 70
Revision 1.01
NuMicro MINI51 DE Series Datasheet
6.3.4
Whole System Memory Mapping
Mini51/52/54
4 GB
System Control
0xFFFF_FFFF
Reserved
|
0xE000_F000
System Control
System Control
0xE000_ED00 SCS_BA
External Interrupt Control
0xE000_E100
SCS_BA
System Timer Control
0xE000_E010
SCS_BA
0xE000_EFFF
0xE000_E000
0xE000_E00F
Reserved
|
0x6002_0000
Reserved
0x6001_FFFF
0x6000_0000
0x5FFF_FFFF
Reserved
|
AHB peripherals
0x5020_0000
AHB
Reserved
0x501F_FFFF
FMC
0x5000_C000 FMC_BA
0x5000_0000
GPIO Control
0x5000_4000 GP_BA
0x4FFF_FFFF
Interrupt Multiplexer Control
0x5000_0300 INT_BA
Clock Control
0x5000_0200 CLK_BA
System Global Control
0x5000_0000 GCR_BA
|
0x4020_0000
0x401F_FFFF
APB
1 GB
|
0x4000_0000
NUMICRO MINI51™ DE SERIES DATASHEET
0x3FFF_FFFF
APB peripherals
Reserved
0.5 GB
2 KB SRAM
Reserved
|
ADC Control
0x400E_0000
ACMP Control
0x400D_0000 CMP_BA
ADC_BA
UART Control
0x4005_0000 UART_BA
0x2000_0800
PWM Control
0x4004_0000 PWM_BA
0x2000_07FF
SPI Control
0x4003_0000 SPI_BA
0x2000_0000
I2C Control
0x4002_0000 I2C_BA
0x1FFF_FFFF
Timer0/Timer1 Control
0x4001_0000 TMR_BA
WDT Control
0x4000_4000 WDT_BA
|
0x0000_4000
16 KB on-chip Flash (Mini54) 0x0000_3FFF
8 KB on-chip Flash (Mini52) 0x0000_1FFF
0 GB
4 KB on-chip Flash (Mini51)
0x0000_0FFF
0x0000_0000
Table 6.3-1 Memory Mapping Table
May 22, 2014
Page 30 of 70
Revision 1.01
NuMicro MINI51 DE Series Datasheet
6.4
Clock Controller
6.4.1
Overview
The clock controller generates clocks for the whole chip, including system clocks and all
peripheral clocks. The clock controller also implements the power control function with the
individually clock ON/OFF control, clock source selection and clock divider. The chip enters
Power-down mode when Cortex™-M0 core executes the WFI instruction only if the
PWR_DOWN_EN (PWRCON[7]) bit and PD_WAIT_CPU (PWRCON[8]) bit are both set to 1.
After that, chip enters Power-down mode and waits for wake-up interrupt source triggered to exit
Power-down mode. In Power-down mode, the clock controller turns off the 4~24 MHz external
high speed crystal (HXT) and 22.1184 MHz internal high speed RC oscillator (HIRC) to reduce
the overall system power consumption. The following figures show the clock generator and the
overview of the clock source control.
The clock generator consists of 3 sources as listed below:

4~24 MHz external high speed crystal oscillator (HXT) or 32.768 kHz (LXT) external
low speed crystal oscillator

22.1184 MHz internal high speed RC oscillator (HIRC)

10 kHz internal low speed RC oscillator (LIRC)
XTAL1
XTAL2
HXT or LXT
4~24 MHz HXT
or
32.768 kHz LXT
OSC22M_EN (PWRCON[2])
HIRC
22.1184 MHz
HIRC
OSC10K_EN(PWRCON[3])
LIRC
10 kHz
LIRC
Legend:
HXT = 4~24 MHz external high speed crystal oscillator
LXT = 32.768 kHz external low speed crystal oscillator
HIRC = 22.1184 MHz internal high speed RC oscillator
LIRC = 10 kHz internal low speed RC oscillator
Figure 6.4-1 Clock Generator Block Diagram
May 22, 2014
Page 31 of 70
Revision 1.01
NUMICRO MINI51™ DE SERIES DATASHEET
XTLCLK_EN (PWRCON[1:0])
NuMicro MINI51 DE Series Datasheet
6.4.2
System Clock and SysTick Clock
The system clock has three clock sources which are generated from clock generator block. The
clock source switches depending on the register HCLK_S (CLKSEL0[2:0]). The block diagram is
shown below.
HCLK_S (CLKSEL0[2:0])
22.1184 MHz
HIRC
10 kHz LIRC
Reserved
Reserved
4~24 MHz HXT or
32.768 kHz LXT
111
011
CPUCLK
010
1/(HCLK_N+1)
001
HCLK_N (CLKDIV[3:0])
HCLK
PCLK
CPU
AHB
APB
000
CPU in Power Down Mode
Legend:
HXT = 4~24 MHz external high speed crystal oscillator
HIRC = 22.1184 MHz internal high speed RC oscillator
LIRC = 10 kHz internal low speed RC oscillator
Figure 6.4-2 System Clock Block Diagram
NUMICRO MINI51™ DE SERIES DATASHEET
TM
The clock source of SysTick in Cortex -M0 core can use CPU clock or external clock
(SYST_CSR[2]). If using external clock, the SysTick clock (STCLK) has 4 clock sources. The
clock source switches depending on the setting of the register STCLK_S (CLKSEL0[5:3]). The
block diagram is shown below.
STCLK_S (CLKSEL0[5:3])
22.1184 MHz
HIRC
HCLK
4~24 MHz HXT or
32.768 kHz LXT
Reserved
4~24 MHz HXT or
32.768 kHz LXT
1/2
111
1/2
011
1/2
010
STCLK
001
000
Legend:
HXT = 4~24 MHz external high speed crystal oscillator
HIRC = 22.1184 MHz internal high speed RC oscillator
LIRC = 10 kHz internal low speed RC oscillator
Figure 6.4-3 SysTick Clock Control Block Diagram
May 22, 2014
Page 32 of 70
Revision 1.01
NuMicro MINI51 DE Series Datasheet
6.4.3
ISP Clock Source Selection
The clock source of ISP is from AHB clock (HCLK). Please refer to the register AHBCLK.
HCLK
ISP (In System
Programmer)
ISP_EN (AHBCLK[2])
Figure 6.4-4 AHB Clock Source for HCLK
6.4.4
Module Clock Source Selection
The peripheral clock has different clock source switch settings depending on different peripherals.
Please refer to the CLKSEL1 and APBCLK register description in section Error! Reference
source not found..
PCLK
Watch Dog Timer
WDT_EN (APBCLK[0])
Timer0
TMR0_EN (APBCLK[2])
Timer1
TMR1_EN (APBCLK[3])
NUMICRO MINI51™ DE SERIES DATASHEET
Frequency Divider
FDIV_EN (APBCLK[6])
I2C
I2C_EN (APBCLK[8])
SPI
SPI_EN (APBCLK[12])
UART_EN (APBCLK[16])
UART
PWM01_EN (APBCLK[20])
PWM01
PWM23_EN (APBCLK[21])
PWM23
PWM45_EN (APBCLK[22])
PWM45
ADC_EN (APBCLK[28])
ADC
CMP_EN (APBCLK[30])
ACMP
Figure 6.4-5 Peripherals Clock Source Selection for PCLK
May 22, 2014
Page 33 of 70
Revision 1.01
NuMicro MINI51 DE Series Datasheet
Ext. CLK (HXT Or LXT)
HIRC
LIRC
PCLK
WDT
Yes
No
Yes
Yes
Timer0
Yes
Yes
Yes
Yes
Timer1
Yes
Yes
Yes
Yes
I2C
No
No
No
Yes
SPI
No
No
No
Yes
UART
Yes
Yes
No
No
PWM
No
No
No
Yes
ADC
Yes
Yes
No
Yes
ACMP
No
No
No
Yes
Table 6.4-1 Peripheral Clock Source Selection Table
6.4.5
Power-down Mode Clock
When chip enters Power-down mode, system clocks, some clock sources, and some peripheral
clocks will be disabled. Some clock sources and peripheral clocks are still active in Power-down
mode.
NUMICRO MINI51™ DE SERIES DATASHEET
The clocks still kept active are listed below:
6.4.6

Clock Generator

10 kHz internal low speed oscillator (LIRC) clock

32.768 kHz external low speed crystal oscillator (LXT) clock (If PD_32K = 1 and
XTLCLK_EN[1:0] = 10)

Peripherals Clock (When 10 kHz low speed oscillator is adopted as clock source)

Watchdog Clock

Timer 0/1 Clock
Frequency Divider Output
This device is equipped with a power-of-2 frequency divider which is composed of 16 chained
divide-by-2 shift registers. One of the 16 shift register outputs selected by a sixteen to one
multiplexer is reflected to the CKO pin. Therefore there are 16 options of power-of-2 divided
1
16
clocks with the frequency from Fin/2 to Fin/2 where Fin is input clock frequency to the clock
divider.
(N+1)
, where Fin is the input clock frequency, Fout is the clock
The output formula is Fout = Fin/2
divider output frequency and N is the 4-bit value in FSEL (FRQDIV[3:0]).
When writing 1 to DIVIDER_EN (FRQDIV[4]), the chained counter starts to count. When writing 0
to DIVIDER_EN (FRQDIV[4]), the chained counter continuously runs till divided clock reaches low
state and stay in low state.
if DIVIDER1(FRQDIV[5]) is set to 1, the frequency divider clock (FRQDIV_CLK) will bypass
power-of-2 frequency divider. The frequency divider clock will be output to CKO pin directly.
May 22, 2014
Page 34 of 70
Revision 1.01
NuMicro MINI51 DE Series Datasheet
FRQDIV_S (CLKSEL2[3:2])
FDIV_EN (APBCLK[6])
22.1184 MHz
HIRC
11
HCLK
FRQDIV_CLK
10
Reserved
01
4~24 MHz HXT or
32.768 kHz LXT
Legend:
HXT = 4~24 MHz external high speed crystal oscillator
LXT = 32.768 kHz external low speed crystal oscillator
HIRC = 22.1184 MHz internal high speed RC oscillator
00
Figure 6.4-6 Clock Source of Frequency Divider
DIVIDER_EN
(FRQDIV[4])
Enable
divide-by-2 counter
1/2
1/22
1/23
…...
1/215
DIVIDER1
(FRQDIV[5])
1/216
000
000
0
1
:
:
111
111
0
1
16 to 1
MUX
0
CKO
1
Figure 6.4-7 Block Diagram of Frequency Divider
May 22, 2014
Page 35 of 70
Revision 1.01
NUMICRO MINI51™ DE SERIES DATASHEET
FRQDIV_CLK
FSEL
(FRQDIV[3:0])
16 chained
divide-by-2 counter
NuMicro MINI51 DE Series Datasheet
6.5
Analog Comparator (ACMP)
6.5.1
Overview
The NuMicro Mini51 Series contains two comparators which can be used in a number of
different configurations. The comparator output is logic 1 when positive input greater than
negative input, otherwise the output is 0. Each comparator can be configured to generate interrupt
when the comparator output value changes.
6.5.2
Features

Analog input voltage range: 0 ~ AVDD

Supports Hysteresis function

Optional internal reference voltage source for each comparator negative input
NUMICRO MINI51™ DE SERIES DATASHEET
May 22, 2014
Page 36 of 70
Revision 1.01
NuMicro MINI51 DE Series Datasheet
6.6
Analog-to-Digital Converter (ADC)
6.6.1
Overview
The NuMicro Mini51 series contains one 10-bit successive approximation analog-to-digital
converters (SAR A/D converter) with eight input channels. The A/D converters can be started by
software, external pin (STADC/P3.2) or PWM trigger.
6.6.2
Features

Analog input voltage range: 0 ~ Analog Supply Voltage from AVDD

10-bit resolution and 8-bit accuracy is guaranteed

Up to eight single-end analog input channels

300 KSPS (AVDD 4.5V - 5.5V) and 200 KSPS (AVDD 2.5V - 5.5V) conversion rate

An A/D conversion is performed one time on a specified channel

An A/D conversion can be started by:

Software write 1 to ADST bit

External pin STADC

PWM trigger with optional start delay period
Each conversion result is held in data register with valid and overrun indicators

Conversion results can be compared with specified value and user can select whether
to generate an interrupt when conversion result matches the compare register setting

Channel 7 supports 2 input sources: External analog voltage and internal fixed bandgap voltage
May 22, 2014
Page 37 of 70
Revision 1.01
NUMICRO MINI51™ DE SERIES DATASHEET

NuMicro MINI51 DE Series Datasheet
6.7
Flash Memory Controller (FMC)
6.7.1
Overview
TM
The NuMicro Mini51 series is equipped with 4K/8K/16K bytes on chip embedded flash memory
for application program (APROM) that can be updated through ISP procedure. In-SystemProgramming (ISP) and In-Application-Programming (IAP) enable user to update program
TM
memory when chip is soldered on PCB. After chip power on Cortex -M0 CPU fetches code from
TM
APROM or LDROM decided by boot select (CBS) in CONFIG0. By the way, the NuMicro Mini51
series also provides Data Flash region that is shared with APROM and its start address is
configurable and defined by user in CONFIG1.
6.7.2
Features

Running up to 24 MHz with zero wait state for discontinuous address read access

4/8/16 Kbytes application program memory (APROM)

2 Kbytes in system programming (ISP) loader program memory (LDROM)

Programmable data flash start address

All embedded flash memory supports 512 bytes page erase

In System Program (ISP)/In Application Program (IAP) to update on chip flash memory
NUMICRO MINI51™ DE SERIES DATASHEET
May 22, 2014
Page 38 of 70
Revision 1.01
NuMicro MINI51 DE Series Datasheet
6.8
General Purpose I/O (GPIO)
6.8.1
Overview
TM
The NuMicro Mini51 series have up to 30 General Purpose I/O pins to be shared with other
function pins depending on the chip configuration. These 30 pins are arranged in 6 ports named
as P0, P1, P2, P3, P4 and P5. Each of the 30 pins is independent and has the corresponding
register bits to control the pin mode function and data.
The I/O type of each pin can be configured by software individually as Input, Push-pull output,
Open-drain output, or Quasi-bidirectional mode. For Quasi-bidirectional mode, each I/O pin is
equipped with a very weak individual pull-up resistor about 110 kΩ ~ 300 kΩ for VDD is from 5.0 V
to 2.5 V.
6.8.2
Features

Four I/O modes:

Input-only with high impendence

Push-pull output

Open-drain output

Quasi-bidirectional
TTL/Schmitt trigger input mode selected by Px_MFP[23:16]

I/O pin configured as interrupt source with edge/level setting

I/O pin internal pull-up resistor enabled only in Quasi-bidirectional I/O mode

Enabling the pin interrupt function will also enable the pin wake-up function

High driver and high sink I/O mode support

Configurable default I/O mode of all pins after reset by CIOINI (Config0[10]) setting
May 22, 2014

CIOINI = 0, all GPIO pins in Quasi-bidirectional mode after chip reset

CIOINI = 1, all GPIO pins in Input tri-state mode after chip reset (default)
Page 39 of 70
Revision 1.01
NUMICRO MINI51™ DE SERIES DATASHEET

NuMicro MINI51 DE Series Datasheet
6.9
I2C Serial Interface Controller (I2C)
6.9.1
Overview
2
I C is a two-wire, bi-directional serial bus that provides a simple and efficient method of data exchange
2
between devices. The I C standard is a true multi-master bus including collision detection and
arbitration that prevents data corruption if two or more masters attempt to control the bus
2
simultaneously. The I C also supports Power-down wake up function.
6.9.2
Features
2
The I C bus uses two wires (SDA and SCL) to transfer information between devices connected to
the bus. The main features of the bus include:
NUMICRO MINI51™ DE SERIES DATASHEET

Master/Slave mode

Bi-directional data transfer between masters and slaves

Multi-master bus

Arbitration between simultaneously transmitting masters without corruption of serial
data on the bus

Serial clock synchronization allowing devices with different bit rates to communicate
via one serial bus

Serial clock synchronization can be used as a handshake mechanism to suspend and
resume serial transfer

Built-in 14-bit time-out counter that requests the I C interrupt if the I C bus hangs up
and timer-out counter overflows

External pull-up needed for higher output pull-up speed

Programmable clocks allowing for versatile rate control

Supports 7-bit addressing mode

Supports multiple address recognition (four slave address registers with mask option)

Supports Power-down wake-up function

Support FIFO function
May 22, 2014
2
Page 40 of 70
2
Revision 1.01
NuMicro MINI51 DE Series Datasheet
6.10 Enhanced PWM Generator
6.10.1 Overview
The NuMicro Mini51 series has built one PWM unit which is specially designed for motor driving
control applications. The PWM unit supports six PWM generators which can be configured as six
independent PWM outputs, PWM0~PWM5, or as three complementary PWM pairs, (PWM0,
PWM1), (PWM2, PWM3) and (PWM4, PWM5) with three programmable dead-zone generators.
Every complementary PWM pairs share one 8-bit prescaler. There are six clock dividers providing
five divided frequencies (1, 1/2, 1/4, 1/8, 1/16) for each channel. Each PWM output has
independent 16-bit counter for PWM period control, and 16-bit comparators for PWM duty control.
The six PWM generators provide twelve independent PWM interrupt flags which are set by
hardware when the corresponding PWM period counter comparison matched period and duty.
Each PWM interrupt source with its corresponding enable bit can request PWM interrupt. The
PWM generators can be configured as One-shot mode to produce only one PWM cycle signal or
Auto-reload mode to output PWM waveform continuously.
To prevent PWM driving output pin with unsteady waveform, the 16-bit period down counter and
16-bit comparator are implemented with double buffer. When user writes data to
counter/comparator buffer registers, the updated value will be loaded into the 16-bit down
counter/ comparator at the end of current period. The double buffering feature avoids glitch at
PWM outputs.
6.10.2 Features
The PWM unit supports the following features:

Independent 16-bit PWM duty control units with maximum six port pins:

Six independent PWM outputs – PWM0, PWM1, PWM2, PWM3, PWM4, and
PWM5

Three complementary PWM pairs, with each pin in a pair mutually complement
to each other and capable of programmable dead-zone insertion – (PWM0,
PWM1), (PWM2, PWM3) and (PWM4, PWM5)

Three synchronous PWM pairs, with each pin in a pair in-phase – (PWM0,
PWM1), (PWM2, PWM3) and (PWM4, PWM5)

Group control bit – PWM2 and PWM4 are synchronized with PWM0, PWM3 and
PWM5 are synchronized with PWM1

One-shot (only support edge alignment mode) or Auto-reload mode PWM

Up to 16-bit resolution

Supports Edge-aligned and Center-aligned mode

Programmable dead-zone insertion between complementary paired PWMs

Each pin of PWM0 to PWM5 has independent polarity setting control

Hardware fault brake protections
May 22, 2014
Page 41 of 70
Revision 1.01
NUMICRO MINI51™ DE SERIES DATASHEET
Besides PWM, Motor controlling also need Timer, ACMP and ADC to work together. In order to
control motor more precisely, we provide some registers that not only configure PWM but also
Timer, ADC and ACMP, by doing so, it can save more CPU time and control motor with ease
especially in BLDC.
NuMicro MINI51 DE Series Datasheet

Two Interrupt source types:

Synchronously requested at PWM frequency when down counter
comparison matched (edge- and center-aligned mode) or underflow (edgealigned mode)

Requested when external fault brake asserted

BKP0: EINT0 or CPO1

BKP1: EINT1 or CPO0

The PWM signals before polarity control stage are defined in the view of positive logic.
The PWM ports is active high or active low are controlled by polarity control register.

Supports independently rising CMR matching (in Center-aligned mode), CNR
matching (in Center-aligned mode), falling CMR matching, period matching to trigger
ADC conversion

Timer comparing matching event trigger PWM to do phase change in BLDC
application

Supports ACMP output event trigger PWM to force PWM output at most one period
low, this feature is usually for step motor control

Provides interrupt accumulation function
NUMICRO MINI51™ DE SERIES DATASHEET
May 22, 2014
Page 42 of 70
Revision 1.01
NuMicro MINI51 DE Series Datasheet
6.11 Serial Peripheral Interface (SPI)
6.11.1 Overview
The Serial Peripheral Interface (SPI) applies to synchronous serial data communication and
allows full duplex transfer. Devices communicate in Master/Slave mode with 4-wire bi-direction
interface. The SPI controller performing a serial-to-parallel conversion on data received from a
peripheral device, and a parallel-to-serial conversion on data transmitted to a peripheral device.
SPI controller can be configured as a master or a slave device.
6.11.2 Features
•
Supports Master or Slave mode operation
•
Configurable transfer bit length
•
Provides four 32-bit FIFO buffers
•
Supports MSB first or LSB first transfer
•
Supports byte reorder function
•
Supports byte or word suspend mode
•
Supports Slave 3-wire mode
NUMICRO MINI51™ DE SERIES DATASHEET
May 22, 2014
Page 43 of 70
Revision 1.01
NuMicro MINI51 DE Series Datasheet
6.12 Timer Controller (TMR)
6.12.1 Overview
The Timer Controller includes two 32-bit timers, TIMER0 ~ TIMER1, allowing user to easily
implement a timer control for applications. The timer can perform functions, such as frequency
measurement, delay timing, clock generation, and event counting by external input pins, and
interval measurement by external capture pins.
6.12.2 Features
NUMICRO MINI51™ DE SERIES DATASHEET

Two sets of 32-bit timers with 24-bit up-timer and one 8-bit pre-scale counter

Independent clock source for each channel (TMR0_CLK, TMR1_CLK)

Provides four timer counting modes: one-shot, periodic, toggle and continuous
counting

Time-out period = (period of timer clock input) * (8-bit pre-scale counter + 1) * (24-bit
TCMP)

8
24
Maximum counting cycle time = (1 / T MHz) * (2 ) * (2 ); T is the period of timer clock

24-bit up counter value is readable through TDR (Timer Data Register)

Supports event counting function to count the event from external pin (T0, T1)

24-bit capture value is readable through TCAP (Timer Capture Data Register)

Supports external capture pin (T0EX, T1EX) for interval measurement

Supports internal signal (CPO0, CPO1) for interval measurement

Supports external capture pin (T0EX, T1EX) to reset 24-bit up counter

Supports chip wake-up from Idle/Power-down mode if a timer interrupt signal is
generated
May 22, 2014
Page 44 of 70
Revision 1.01
NuMicro MINI51 DE Series Datasheet
6.13 UART Controller (UART)
6.13.1 Overview
The NuMicro Mini51 series provides one channel of Universal Asynchronous
Receiver/Transmitters (UART). UART Controller performs Normal Speed UART, and supports
flow control function. The UART Controller performs a serial-to-parallel conversion on data
received from the peripheral, and a parallel-to-serial conversion on data transmitted from the
CPU. The UART controller also supports IrDA SIR Function, and RS-485 function mode.
6.13.2 Features
Full duplex, asynchronous communications

Separates 16-byte receive and transmitted FIFO for data payloads

Supports hardware auto flow control, flow control function (CTS, RTS) and
programmable RTS flow control trigger level

Programmable receiver buffer trigger level

Supports programmable baud-rate generator for each channel individually

Supports CTS wake-up function

Supports 8-bit receiver buffer time-out detection function

Programmable transmitting data delay time between the last stop and the next start bit
by setting DLY(UA_TOR[15:8]) register

Supports break error, frame error, parity error and receive/transmit buffer overflow
detection function

Fully programmable serial-interface characteristics


Programmable number of data bit, 5-, 6-, 7-, 8- bit character

Programmable parity bit, even, odd, no parity or stick parity bit

Programmable stop bit, 1, 1.5, or 2 stop bit
Supports IrDA SIR function mode


May 22, 2014
Supports 3/16-bit duration for normal mode
Supports RS-485 function mode

Supports RS-485 9-bit mode

Supports hardware or software enable to program RTS pin to control RS-485
transmission direction directly
Page 45 of 70
Revision 1.01
NUMICRO MINI51™ DE SERIES DATASHEET

NuMicro MINI51 DE Series Datasheet
6.14 Watchdog Timer (WDT)
6.14.1 Overview
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 the function to wake-up system from Idle/Power-down mode.
6.14.2 Features

18-bit free running up counter for Watchdog Timer time-out interval

Selectable time-out interval (24 ~ 218) WDT_CLK cycle and the time-out interval period is
104 ms ~ 26.3168 s if WDT_CLK = 10 kHz

System kept in reset state for a period of (1 / WDT_CLK) * 63

Supports Watchdog Timer time-out wake-up function only if WDT clock source is selected
as 10 kHz
NUMICRO MINI51™ DE SERIES DATASHEET
May 22, 2014
Page 46 of 70
Revision 1.01
NuMicro MINI51 DE Series Datasheet
7
7.1
ARM® CORTEX™-M0 CORE
Overview
The Cortex™-M0 processor is a configurable, multistage, 32-bit RISC processor which has an
AMBA AHB-Lite interface and includes an NVIC component. It also has optional hardware debug
TM
functionality. The processor can execute Thumb code and is compatible with other Cortex -M
profile processors. The profile supports two modes - Thread mode and Handler mode. Handler
mode is entered as a result of an exception. An exception return can only be issued in Handler
mode. Thread mode is entered on Reset and can be entered as a result of an exception return.
The following figure shows the functional controller of the processor.
Cortex-M0 components
Cortex-M0 processor
Nested
Vectored
Interrupt
Controller
(NVIC)
Interrupts
Debug
Cortex-M0
Processor
core
Breakpoint
and
Watchpoint
unit
Bus matrix
Debugger
interface
Wakeup
Interrupt
Controller
(WIC)
AHB-Lite interface
Debug
Access Port
(DAP)
Figure 7.1-1 Functional Block Diagram
7.2
Features

A low gate count processor

ARMv6-M Thumb® instruction set

Thumb-2 technology

ARMv6-M compliant 24-bit SysTick timer

A 32-bit hardware multiplier

System interface supported with little-endian data accesses

Ability to have deterministic, fixed-latency, interrupt handling

Load/store-multiples and multicycle-multiplies that can be abandoned and
restarted to facilitate rapid interrupt handling

C Application Binary Interface compliant exception model:
This is the ARMv6-M, C Application Binary Interface (C-ABI) compliant
exception model that enables the use of pure C functions as interrupt handlers


May 22, 2014
Low power Idle mode entry using the Wait For Interrupt (WFI), Wait For Event
(WFE) instructions, or return from interrupt sleep-on-exit feature
NVIC
Page 47 of 70
Revision 1.01
NUMICRO MINI51™ DE SERIES DATASHEET
Serial Wire or
JTAG debug port
NuMicro MINI51 DE Series Datasheet


7.3

32 external interrupt inputs, each with four levels of priority

Dedicated Non-maskable Interrupt (NMI) input

Supports for both level-sensitive and pulse-sensitive interrupt lines

Supports Wake-up Interrupt Controller (WIC) and, providing Ultra-low Power Idle
mode
Debug support

Four hardware breakpoints

Two watch points

Program Counter Sampling Register (PCSR) for non-intrusive code profiling

Single step and vector catch capabilities
Bus interfaces

Single 32-bit AMBA-3 AHB-Lite system interface that provides simple integration
to all system peripherals and memory

Single 32-bit slave port that supports the DAP (Debug Access Port)
System Timer (SysTick)
NUMICRO MINI51™ DE SERIES DATASHEET
The Cortex™-M0 includes an integrated system timer, SysTick, which provides a simple, 24-bit
clear-on-write, decrementing, wrap-on-zero counter with a flexible control mechanism. The
counter can be used as a Real Time Operating System (RTOS) tick timer or as a simple counter.
When system timer is enabled, it will count down from the value in the SysTick Current Value
Register (SYST_CVR) to zero, and reload (wrap) to the value in the SysTick Reload Value
Register (SYST_RVR) on the next clock edge, and then decrement on subsequent clocks. When
the counter transitions to zero, the COUNTFLAG status bit is set. The COUNTFLAG bit clears on
reads.
The SYST_CVR value is UNKNOWN on reset. Software should write to the register to clear it to
zero before enabling the feature. This ensures the timer to count from the SYST_RVR value
rather than an arbitrary value when it is enabled.
If the SYST_RVR is zero, the timer will be maintained with a current value of zero after it is
reloaded with this value. This mechanism can be used to disable the feature independently from
the timer enable bit.
®
For more detailed information, please refer to the “ARM
®
Manual” and “ARM v6-M Architecture Reference Manual”.
May 22, 2014
Page 48 of 70
Cortex™-M0 Technical Reference
Revision 1.01
NuMicro MINI51 DE Series Datasheet
8
APPLICATION CIRCUIT
DVCC
[1]
AVCC
SPISS
SPICLK
MISO
MOSI
AVDD
DVCC
Power
FB
VDD
CS
CLK
MISO
MOSI
VDD
SPI Device
VSS
0.1uF
0.1uF
VSS
DVCC
FB
DVCC
AVSS
4.7K
4.7K
CLK
SCL
VDD
ICE_DAT
ICE_CLK
/RESET
VSS
SWD
Interface
DIO
SDA
VDD
I2C Device
VSS
20p
XTAL1
Crystal
Mini5xxDE
LQFP48
4~24 MHz
crystal
20p
XTAL2
DVCC
10K
RS232 Transceiver
PC COM Port
/RESET
10uF/25V
RX
ROUT
TX
TIN
RIN
TOUT
UART
LDO_CAP
1uF
Note: For the SPI device, the Mini5x chip supply
voltage must be equal to SPI device working
voltage. For example, when the SPI Flash
working voltage is 3.3 V, the Mini5x chip supply
voltage must also be 3.3V.
LDO
May 22, 2014
Page 49 of 70
Revision 1.01
NUMICRO MINI51™ DE SERIES DATASHEET
Reset
Circuit
NuMicro MINI51 DE Series Datasheet
9
MINI51XXDE ELECTRICAL CHARACTERISTICS
9.1
Absolute Maximum Ratings
Symbol
Parameter
Min
Max
Unit
VDD− VSS
DC Power Supply
-0.3
+7.0
V
VSS -0.3
VDD +0.3
V
4
24
MHz
VIN
1/tCLCL
Input Voltage
Oscillator Frequency
TA
Operating Temperature
-40
+105
℃
TST
Storage Temperature
-55
+150
℃
IDD
Maximum Current into VDD
-
120
mA
ISS
Maximum Current out of V SS
-
120
mA
Maximum Current sunk by an I/O pin
-
35
mA
Maximum Current sourced by an I/O pin
-
35
mA
Maximum Current sunk by total I/O pins
-
100
mA
Maximum Current sourced by total I/O pins
-
100
mA
IIO
Note: Exposure to conditions beyond those listed under absolute maximum ratings may adversely affects
the life and reliability of the device.
NUMICRO MINI51™ DE SERIES DATASHEET
9.2
DC Electrical Characteristics
(VDD - VSS = 2.5 ~ 5.5 V, TA = 25°C)
Symbol
Parameter
Min
Typ
Max
Unit
VDD
Operation voltage
2.5
-
5.5
V
VSS / AVSS
Power Ground
-0.3
-
-
V
VLDO
LDO Output Voltage
1.62
1.8
1.98
V
VDD ≥ 2.5 V
1.20
1.24
1.28
V
VDD = 2.5V ~ 5.5V, TA = 25°C
VBG
Band-gap Voltage
1.18
1.24
1.32
V
-0.3
0
0.3
V
Allowed Voltage
VDD-AVDD Difference for VDD and
AVDD
IDD1
May 22, 2014
Operating Current
Normal Run Mode
HCLK = 24 MHz
while(1){}
Executed from Flash
-
9.2
Page 50 of 70
-
mA
Test Conditions
VDD = 2.5V ~ 5.5V up to 24 MHz
VDD = 2.5V ~ 5.5V,
TA = -40°C~105°C
-
VDD
5.5V
HXT
24 MHz
HIRC
Disable
All digital
modules
Enabled
Revision 1.01
NuMicro MINI51 DE Series Datasheet
IDD2
-
IDD3
-
IDD4
-
IDD5
-
7.0
7.1
5.0
6.1
-
-
-
-
mA
mA
mA
mA
VDD
5.5V
HXT
24 MHz
HIRC
Disabled
All digital
modules
Disabled
VDD
3.3V
HXT
24 MHz
HIRC
Disable
All digital
modules
Enabled
VDD
3.3 V
HXT
24 MHz
HIRC
Disabled
All digital
modules
Disabled
VDD
5.5V
Disabled
Enabled
All digital
modules
Enabled
VDD
5.5V
.
IDD6
-
3.9
-
mA
Operating Current
Normal Run Mode
HCLK =22.1184
MHz
while(1){}
Executed from Flash
IDD7
IDD8
May 22, 2014
-
-
6.0
3.9
Page 51 of 70
-
-
mA
mA
HXT
Disabled
HIRC
Enabled
All digital
modules
Disabled
VDD
3.3V
HXT
Disabled
HIRC
Enabled
All digital
modules
Enabled
VDD
3.3V
HXT
Disabled
HIRC
Enabled
All digital
modules
Disabled
Revision 1.01
NUMICRO MINI51™ DE SERIES DATASHEET
HXT
HIRC
NuMicro MINI51 DE Series Datasheet
IDD9
-
IDD10
-
5.5
4.3
-
-
mA
mA
Operating Current
Normal Run Mode
HCLK = 12MHz
while(1){}
Executed from Flash
IDD11
-
IDD12
-
NUMICRO MINI51™ DE SERIES DATASHEET
IDD13
IDD14
-
Operating Current
Normal Run Mode
HCLK =4 MHz
-
3.9
2.8
3.2
2.8
-
-
-
-
mA
mA
mA
mA
while(1){}
Executed from Flash
IDD15
May 22, 2014
-
1.8
Page 52 of 70
-
mA
VDD
5.5 V
HXT
12 MHz
HIRC
Disabled
All digital
modules
Enabled
VDD
5.5 V
HXT
12 MHz
HIRC
Disabled
All digital
modules
Disabled
VDD
3.3 V
HXT
12 MHz
HIRC
Disabled
All digital
modules
Enabled
VDD
3.3 V
HXT
12 MHz
HIRC
Disabled
All digital
modules
Disabled
VDD
5.5 V
HXT
4 MHz
HIRC
Disabled
All digital
modules
Enabled
VDD
5.5 V
HXT
4 MHz
HIRC
Disabled
All digital
modules
Disabled
VDD
3.3 V
HXT
4 MHz
HIRC
Disabled
All digital
modules
Enabled
Revision 1.01
NuMicro MINI51 DE Series Datasheet
IDD16
-
IDD17
-
1.4
225
-
-
mA
μA
VDD
3.3 V
HXT
4 MHz
HIRC
Disabled
All digital
modules
Disabled
VDD
5.5 V
HXT
Disabled
HIRC
isabled
LIRC
Enabled
All digital
modules
Enabled
Only enable modules which support 10
kHz LIRC clock source
IDD18
-
225
-
μA
IDD19
-
200
-
μA
5.5 V
HXT
Disabled
HIRC
Disabled
LIRC
Enabled
All digital
modules
Disabled
VDD
3.3 V
HXT
Disa led
HIRC
Disabled
LIRC
Enabled
All digital
modules
Enabled
Only enable modules which support 10
kHz LIRC clock source
IDD20
IIDLE1
May 22, 2014
-
Operating Current
Idle Mode
HCLK = 24MHz
-
200
7.1
Page 53 of 70
-
-
μA
mA
VDD
3.3 V
HXT
Disabled
HIRC
Disabled
LIRC
Enabled
All digital
modules
Disa led
VDD
5.5V
HXT
24 MHz
HIRC
Disable
All digital
modules
Enabled
Revision 1.01
NUMICRO MINI51™ DE SERIES DATASHEET
Operating Current
Normal Run Mode
HCLK = 10 kHz
while(1){}
Executed from Flash
VDD
NuMicro MINI51 DE Series Datasheet
IIDLE2
-
IIDLE3
-
IIDLE4
-
IIDLE5
-
4.9
5.1
2.9
4.1
-
-
-
-
mA
mA
mA
mA
VDD
5.5V
HXT
24 MHz
HIRC
Disabled
All digital
modules
Disabled
VDD
3.3V
HXT
24 MHz
HIRC
Disable
All digital
modules
Enabled
VDD
5.5V
HXT
24 MHz
HIRC
Disabled
All digital
modules
Disabled
VDD
5.5V
NUMICRO MINI51™ DE SERIES DATASHEET
HXT
Disabled
HIRC
Enabled
All digital
modules
Enabled
VDD
5.5V
.
IIDLE6
-
2.0
-
mA
Operating Current
Idle Mode
HCLK=22.1184 MHz
IIDLE7
IIDLE8
May 22, 2014
-
-
4.1
1.9
Page 54 of 70
-
-
mA
mA
HXT
Disabled
HIRC
Enabled
All digital
modules
Disabled
VDD
3.3V
HXT
Disabled
HIRC
Enabled
All digital
modules
Enabled
VDD
3.3V
HXT
Disabled
HIRC
Enabled
All digital
modules
Disabled
Revision 1.01
NuMicro MINI51 DE Series Datasheet
IIDLE9
-
IIDLE10
-
4.4
3.3
-
-
mA
mA
Operating Current
Idle Mode
HCLK =12 MHz
IIDLE11
-
IIDLE12
-
IIDLE14
IIDLE15
May 22, 2014
-
Operating Current
Idle Mode
HCLK =4 MHz
-
-
1.8
2.9
2.5
1.5
Page 55 of 70
-
-
-
-
-
mA
mA
mA
mA
mA
5.5 V
HXT
12 MHz
HIRC
Disabled
All digital
modules
Enabled
VDD
5.5 V
HXT
12 MHz
HIRC
Disabled
All digital
modules
Disabled
VDD
3.3 V
HXT
12 MHz
HIRC
Disabled
All digital
modules
Enabled
VDD
3.3 V
HXT
12 MHz
HIRC
Disabled
All digital
modules
Disabled
VDD
5.5 V
HXT
4 MHz
HIRC
Disabled
All digital
modules
Enabled
VDD
5.5 V
HXT
4 MHz
HIRC
Disabled
All digital
modules
Disabled
VDD
3.3 V
HXT
4 MHz
HIRC
Disabled
All digital
modules
Enabled
Revision 1.01
NUMICRO MINI51™ DE SERIES DATASHEET
IIDLE13
2.9
VDD
NuMicro MINI51 DE Series Datasheet
IIDLE16
-
IIDLE17
-
1.1
-
225
-
mA
μA
VDD
3.3 V
HXT
4 MHz
HIRC
Disabled
All digital
modules
Disabled
VDD
5.5 V
HXT
Disabled
HIRC
Disabled
LIRC
Enabled
All digital
modules
Enabled
Only enable modules which support 10
kHz LIRC clock source
IIDLE18
-
225
-
μA
NUMICRO MINI51™ DE SERIES DATASHEET
Operating Current
Idle Mode
at 10 kHz
IIDLE19
-
200
-
μA
VDD
5.5 V
HXT
Disabled
HIRC
Disabled
LIRC
Enabled
All digital
modules
Disabled
VDD
3.3 V
HXT
Disabled
HIRC
Disabled
LIRC
Enabled
All digital
modules
Enabled
Only enable modules which support 10
kHz LIRC clock source
IIDLE20
IPWD1
IPWD2
IIL
May 22, 2014
-
Standby Current
Power-down Mode
(Deep Sleep Mode)
Logic 0 Input Current
P0/1/2/3/4/5 (Quasibidirectional Mode)
200
-
μA
VDD
3.3 V
HXT
Disabled
HIRC
Disabled
LIRC
Enabled
All digital
modules
Disabled
-
10
-
µA
VDD = 5.5 V, All oscillators and analog
blocks turned off.
-
9
-
µA
VDD = 3.3 V, All oscillators and analog
blocks turned off.
-
-70
-75
µA
VDD = 5.5 V, VIN = 0V
Page 56 of 70
Revision 1.01
NuMicro MINI51 DE Series Datasheet
ITL
Logic 1 to 0
Transition Current
P0/1/2/3/4/5 (Quasibidirectional Mode)
[*3]
-
-690
-750
µA
VDD = 5.5 V, VIN = 2.0V
ILK
Input Leakage
Current P0/1/2/3/4/5
-1
-
+1
µA
VDD = 5.5 V, 0 < VIN< VDD
Open-drain or input only mode
Input Low Voltage
P0/1/2/3/4/5 (TTL
Input)
-0.3
-
0.8
VIL1
-0.3
-
0.6
Input High Voltage
P0/1/2/3/4/5 (TTL
Input)
2.0
-
VDD + 0.3
VIH1
VDD = 4.5 V
V
VDD = 2.5 V
VDD = 5.5 V
V
1.5
-
VDD + 0.3
0
-
0.8
0
-
0.4
3.5
-
VDD + 0.3
2.4
-
VDD + 0.3
VILS
Negative-going
Threshold
(Schmitt Input),
/RESET
-0.3
-
0.2VDD
V
-
VIHS
Positive-going
Threshold
(Schmitt Input),
/RESET
0.7 VDD
-
VDD + 0.3
V
-
RRST
Internal /RESETPin
Pull-up Resistor
40
150
kΩ
VDD = 2.5 V ~ 5.5V
VILS
Negative-going
Threshold
(Schmitt input),
P0/1/2/3/4/5
-0.3
-
0.3VDD
V
-
VIHS
Positive-going
Threshold
(Schmitt input),
P0/1/2/3/4/5
0.7 VDD
-
VDD + 0.3
V
-
-300
-400
-
µA
VDD = 4.5 V, VS = 2.4 V
-50
-80
-
µA
VDD = 2.7 V, VS = 2.2 V
-40
-73
-
µA
VDD = 2.5 V, VS = 2.0 V
-20
-26
-
mA
VDD = 4.5 V, VS = 2.4 V
-3
-5
-
mA
VDD = 2.7 V, VS = 2.2 V
-2.5
-5
-
mA
VDD = 2.5 V, VS = 2.0 V
10
15
-
mA
VDD = 4.5 V, VS = 0.45 V
6
9
-
mA
VDD = 2.7 V, VS = 0.45 V
VIL3
VIH3
Input Low Voltage
XTAL1[*2]
Input High Voltage
XTAL1[*2]
ISR12
Source Current
P0/1/2/3/4/5 (Quasibidirectional Mode)
ISR13
ISR21
ISR22
Source Current
P0/1/2/3/4/5 (Pushpull Mode)
ISR23
ISK11
ISK12
May 22, 2014
Sink Current
P0/1/2/3/4/5 (Quasibidirectional, Open-
Page 57 of 70
V
VDD = 4.5 V
VDD = 2.5 V
V
VDD = 5.5 V
VDD = 3.0 V
Revision 1.01
NUMICRO MINI51™ DE SERIES DATASHEET
ISR11
VDD = 3.0 V
NuMicro MINI51 DE Series Datasheet
ISK13
Drain and Push-pull
Mode)
5
8
-
mA
VDD = 2.5 V, VS = 0.45 V
Notes:
1. /RESET pin is a Schmitt trigger input.
2. XTAL1 is a CMOS input.
3. Pins of P0, P1, P2, P3, P4 and P5 can source a transition current when they are being externally
driven from 1 to 0. In the condition of VDD=5.5V, the transition current reaches its maximum value
when VIN approximates to 2V.
9.3
AC Electrical Characteristics
9.3.1 External Input Clock
tCLCL
tCLCH
0.7 VDD
90%
tCLCX
10%
0.3 VDD
tCHCL
tCHCX
Note: Duty cycle is 50%.
NUMICRO MINI51™ DE SERIES DATASHEET
Symbol
Parameter
Min
Typ
Max
Unit
Test Conditions
tCHCX
Clock High Time
10
-
-
ns
-
tCLCX
Clock Low Time
10
-
-
ns
-
tCLCH
Clock Rise Time
2
-
15
ns
-
tCHCL
Clock Fall Time
2
-
15
ns
-
9.3.2 External 4~24 MHz High Speed Crystal (HXT)
Symbol
Parameter
Min.
Typ.
Max
Unit
Test Conditions
VHXT
Operation Voltage
2.5
-
5.5
V
-
TA
Temperature
-40
-
105
℃
-
-
2.5
-
mA
12 MHz, VDD = 5.5V
IHXT
Operating Current
-
1.0
-
mA
12 MHz, VDD = 3.3V
4
-
24
MHz
-
fHXT
May 22, 2014
Clock Frequency
Page 58 of 70
Revision 1.01
NuMicro MINI51 DE Series Datasheet
9.3.3 Typical Crystal Application Circuits
Crystal
C1
C2
4MHz ~ 24 MHz
10~20 pF
10~20 pF
XTAL2
XTAL1
4~24 MHz
Crystal
C1
Vss
C2
Vss
Figure 9-1Mini5xDE Typical Crystal Application Circuit
9.3.4 22.1184 MHz Internal High Speed RC Oscillator (HIRC)
Parameter
Min
Typ
Max
Unit
Test Conditions
VHRC
Supply Voltage
1.62
1.8
1.98
V
-
Center Frequency
-
22.1184
MHz
-
-1
-
+1
%
-2
-
+2
%
-
700
-
μA
fHRC
IHRC
May 22, 2014
Calibrated Internal
Oscillator Frequency
Operating Current
Page 59 of 70
TA = 25 ℃
VDD = 5 V
TA = -40℃~105℃
VDD=2.5 V~ 5.5 V
TA = 25 ℃,VDD = 5 V
Revision 1.01
NUMICRO MINI51™ DE SERIES DATASHEET
Symbol
NuMicro MINI51 DE Series Datasheet
HIRC oscillator accuracy vs. temperature
1.00
0.80
Deviation Percentage %
0.60
0.40
0.20
0.00
Max
-0.20
Min
-0.40
-0.60
-0.80
-1.00
-40 -30 -20 -10 0 10 20 25 30 40 50 60 70 80 85 90 100 110
TA ℃
NUMICRO MINI51™ DE SERIES DATASHEET
9.3.5 10 kHz Internal Low Speed RC Oscillator(LIRC)
Symbol
Parameter
Min
Typ
Max
Unit
Test Conditions
VLRC
Supply Voltage
2.5
-
5.5
V
-
Center Frequency
-
10
-
kHz
-
-10
-
+10
%
VDD=2.5V~ 5.5V
TA = 25℃
-40
-
+40
%
VDD=2.5V~ 5.5V
TA = -40℃~+105℃
fLRC
May 22, 2014
Oscillator Frequency
Page 60 of 70
Revision 1.01
NuMicro MINI51 DE Series Datasheet
9.4
Analog Characteristics
9.4.1 10-bit SARADC
Symbol
Min
Typ
Max
Unit
Test Condition
Resolution
-
-
10
Bit
-
DNL
Differential Nonlinearity Error
-
-1~1.5
-1~+2.5
LSB
-
INL
Integral Nonlinearity Error
-
±1
±2
LSB
-
EO
Offset Error
-
1
2
LSB
-
EG
Gain Error (Transfer Gain)
-
-1
-3
LSB
-
EA
Absolute Error
-
3
4
LSB
-
-
-
-
-
Parameter
Monotonic
Guaranteed
-
FADC
FS
-
4.2
ADC Clock Frequency
AVDD = 4.5~5.5 V
MHz
-
-
2.8
AVDD =2.5~5.5 V
-
-
300
kSPS
AVDD = 4.5~5.5 V
-
-
200
kSPS
AVDD = 2.5~5.5 V
Sample Rate (FADC/TCONV)
Acquisition Time (Sample Stage)
N+1
TCONV
Total Conversion Time
N+14
AVDD
Supply Voltage
1/FADC N is sampling counter,
N=0,1,2, 4,8, 16,32, 4,
1/FADC
128, 256,1024
2.5
-
5.5
V
-
IDDA
Supply Current (Avg.)
-
600
-
μA
AVDD = 5.5 V
VIN
Analog Input Voltage
0
-
AVDD
V
-
CIN
Input Capacitance
-
3.2
-
pF
-
RIN
Input Load
-
6
-
kΩ
-
Note: ADC voltage reference is same with AVDD
May 22, 2014
Page 61 of 70
Revision 1.01
NUMICRO MINI51™ DE SERIES DATASHEET
TACQ
NuMicro MINI51 DE Series Datasheet
EF (Full scale error) = EO + EG
Gain Error Offset Error
EG
EO
1023
1022
1021
1020
Ideal transfer curve
7
ADC
output
code
6
5
Actual transfer curve
4
3
2
DNL
NUMICRO MINI51™ DE SERIES DATASHEET
1
1 LSB
1023
Analog input voltage
(LSB)
Offset Error
EO
9.4.2 LDO & Power Management
Symbol
Parameter
Min
Typ
Max
Unit
Test Condition
VDD
DC Power Supply
2.5
-
5.5
V
-
VLDO
Output Voltage
1.62
1.8
1.98
V
-
TA
Temperature
-40
25
105
℃
Notes:
1.
It is recommended a 0.1μF bypass capacitor is connected between VDD and the closest VSS pin of the device.
9.4.3 Low Voltage Reset
Symbol
Parameter
Min
Typ
Max
Unit
Test Condition
AVDD
Supply Voltage
0
-
5.5
V
-
May 22, 2014
Page 62 of 70
Revision 1.01
NuMicro MINI51 DE Series Datasheet
TA
Temperature
-40
25
105
℃
-
ILVR
Quiescent Current
-
1
5
μA
AVDD =5.5V
1.90
2.00
2.10
V
TA=25℃
1.70
1.90
2.05
V
TA=-40℃
2.00
2.20
2.45
V
TA =105℃
VLVR
Threshold Voltage
9.4.4 Brown-out Detector
Parameter
Min
Typ
Max
Unit
Test Condition
AVDD
Supply Voltage
0
-
5.5
V
-
TA
Temperature
-40
25
105
℃
-
IBOD
Quiescent Current
-
-
140
μA
AVDD =5.5V
4.2
4.38
4.55
V
BOD_VL [1:0]=11
Brown-out Detector
3.5
3.68
3.85
V
BOD_VL [1:0]=10
(Falling edge)
2.5
2.68
2.85
V
BOD_VL [1:0]=01
2.0
2.18
2.35
V
BOD_VL [1:0]=00
4.3
4.52
4.75
V
BOD_VL [1:0]=11
Brown-out Detector
3.5
3.8
4.05
V
BOD_VL [1:0]=10
(Rising edge)
2.5
2.77
3.05
V
BOD_VL [1:0]=01
2.0
2.25
2.55
V
BOD_VL [1:0]=00
VBOD
VBOD
9.4.5 Power-on Reset
Symbol
Parameter
Min
Typ
Max
Unit
Test Condition
TA
Temperature
-40
25
105
℃
-
VPOR
Reset Voltage
1.6
2
2.4
V
-
VPOR
VDD Start Voltage to Ensure
Power-on Reset
-
-
100
mV
RRVDD
VDD Raising Rate to Ensure
Power-on Reset
0.025
-
-
V/ms
tPOR
Minimum Time for VDD Stays
at VPOR to Ensure Poweron Reset
0.5
-
-
ms
May 22, 2014
Page 63 of 70
Revision 1.01
NUMICRO MINI51™ DE SERIES DATASHEET
Symbol
NuMicro MINI51 DE Series Datasheet
VDD
tPOR
RRVDD
VPOR
Time
Figure 9-2Power-up Ramp Condition
9.4.6 Comparator
NUMICRO MINI51™ DE SERIES DATASHEET
Symbol
Parameter
Min
Typ
Max
Unit
VCMP
Supply Voltage
2.5
-
5.5
V
TA
Temperature
-40
25
105
℃
-
ICMP
Operation Current
-
40
80
μA
AVDD=5V
VOFF
Input Offset Voltage
10
20
mV
-
VSW
Output Swing
0.1
-
AVDD -0.1
V
-
VCOM
Input Common Mode Range
0.1
-
AVDD– 0.1
V
-
-
DC Gain
40
70
-
dB
-
TPGD
Propagation Delay
-
200
-
ns
VCOM=1.2 V,
VDIFF=0.1 V
VHYS
Hysteresis
-
±30
±60
mV
VCOM=1.2 V
TSTB
Stable time
-
-
1
μs
May 22, 2014
Page 64 of 70
Test Condition
Revision 1.01
NuMicro MINI51 DE Series Datasheet
9.5
Flash DC Electrical Characteristics
Symbol
Parameter
Min
Typ
Max
Unit
Supply Voltage
1.62
1.8
1.98
V
NENDUR
Endurance
20,000
-
-
cycles
TRET
Data Retention
10
-
-
year
TERASE
Page Erase Time
-
20
-
ms
TPROG
Program Time
-
60
-
us
IDD1
Read Current
-
6
-
mA
IDD2
Program Current
-
8
-
mA
IDD3
Erase Current
-
12
-
mA
[2]
VFLA
Test Condition
[1]
TA =85℃
Notes:
1.
2.
3.
Number of program/erase cycles.
VFLA is source from chip LDO output voltage.
Guaranteed by design, not test in production.
NUMICRO MINI51™ DE SERIES DATASHEET
May 22, 2014
Page 65 of 70
Revision 1.01
NuMicro MINI51 DE Series Datasheet
10 PACKAGE DIMENSIONS
10.1 48-pin LQFP
NUMICRO MINI51™ DE SERIES DATASHEET
May 22, 2014
Page 66 of 70
Revision 1.01
NuMicro MINI51 DE Series Datasheet
10.2 33-pin QFN (4 mm x 4 mm)
NUMICRO MINI51™ DE SERIES DATASHEET
May 22, 2014
Page 67 of 70
Revision 1.01
NuMicro MINI51 DE Series Datasheet
10.3 33-pin QFN (5 mm x 5 mm)
NUMICRO MINI51™ DE SERIES DATASHEET
May 22, 2014
Page 68 of 70
Revision 1.01
NuMicro MINI51 DE Series Datasheet
10.4 20-pin TSSOP
NUMICRO MINI51™ DE SERIES DATASHEET
May 22, 2014
Page 69 of 70
Revision 1.01
NuMicro MINI51 DE Series Datasheet
11 REVISION HISTORY
Revision
Date
Description
1.00
Oct. 18, 2013
Preliminary version
1.01
May 20, 2014
Supported the Mini54FHC for NuMicro Mini51 series.
Important Notice
NUMICRO MINI51™ DE SERIES DATASHEET
Nuvoton Products are neither intended nor warranted for usage in systems or equipment, any
malfunction or failure of which may cause loss of human life, bodily injury or severe property
damage. Such applications are deemed, “Insecure Usage”.
Insecure usage includes, but is not limited to: equipment for surgical implementation, atomic
energy control instruments, airplane or spaceship instruments, the control or operation of
dynamic, brake or safety systems designed for vehicular use, traffic signal instruments, all
types of safety devices, and other applications intended to support or sustain life.
All Insecure Usage shall be made at customer’s risk, and in the event that third parties lay
claims to Nuvoton as a result of customer’s Insecure Usage, customer shall indemnify the
damages and liabilities thus incurred by Nuvoton.
May 22, 2014
Page 70 of 70
Revision 1.01
Similar pages