NuMicro
NUC122 Datasheet
ARM Cortex
®
-M0
32-BIT MICROCONTROLLER
NuMicro Family
NUC122 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.
Nuvoton is providing this document only for reference purposes of NuMicro
TM
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
Jan. 09, 2015
Page
1
of
66
Revision 1.11
NuMicro
NUC122 Datasheet
TABLE OF CONTENTS
LIST OF FIGURES .................................................................................................................................. 4
LIST OF TABLES .................................................................................................................................... 5
1
GENERAL DESCRIPTION ......................................................................................................... 6
2
FEATURES ................................................................................................................................. 7
2.1
3
3.1
3.2
NuMicro
NUC122 Features........................................................................................... 7
NuMicro
NUC122 Products Selection Guide .............................................................. 10
NuMicro
NUC122 Pin Diagram ................................................................................... 11
3.2.1
3.2.2
3.2.3
NuMicro
NUC122 LQFP 64-pin .................................................................................... 11
NuMicro
NUC122 LQFP 48-pin .................................................................................... 12
NuMicro
NUC122 QFN 33-pin ...................................................................................... 13
NuMicro
NUC122 Pin Description for LQFP64/LQFP48/QFN33 .................................. 14
PARTS INFORMATION LIST AND PIN CONFIGURATION .................................................... 10
3.3
4
5
NuMicro
NUC122 Pin Description .............................................................................. 14
3.3.1
BLOCK DIAGRAM .................................................................................................................... 18
4.1
NuMicro
NUC122 Block Diagram ............................................................................... 18
FUNCTIONAL DESCRIPTION.................................................................................................. 19
®
®
5.1
ARM Cortex -M0 Core ................................................................................................ 19
5.2
System Manager ........................................................................................................... 21
5.2.1
5.2.2
5.2.3
5.2.4
5.2.5
Overview ........................................................................................................................ 21
System Reset ................................................................................................................. 21
System Power Distribution ............................................................................................. 22
System Timer (SysTick) ................................................................................................. 23
Nested Vectored Interrupt Controller (NVIC) .................................................................. 24
5.3
Clock Controller ............................................................................................................ 28
5.3.1
5.3.2
5.3.3
5.3.4
5.3.5
Overview ........................................................................................................................ 28
Clock Generator ............................................................................................................. 29
System Clock & SysTick Clock ....................................................................................... 30
Peripherals Clock ........................................................................................................... 31
Power Down Mode Clock ............................................................................................... 31
5.4
FLASH MEMORY CONTROLLER (FMC) .................................................................... 32
5.4.1
5.4.2
Overview ........................................................................................................................ 32
Features ......................................................................................................................... 32
5.5
General Purpose I/O (GPIO) ........................................................................................ 33
5.5.1
5.5.2
Overview and Features .................................................................................................. 33
Function Description ....................................................................................................... 33
5.6
Timer Controller (TMR) ................................................................................................. 35
5.6.1
5.6.2
Overview ........................................................................................................................ 35
Features ......................................................................................................................... 35
5.7
PWM Generator and Capture Timer (PWM) ................................................................ 36
5.7.1
5.7.2
Overview ........................................................................................................................ 36
Features ......................................................................................................................... 37
Jan. 09, 2015
Page
2
of
66
Revision 1.11
NuMicro
NUC122 Datasheet
5.8
5.9
Watchdog Timer (WDT) ................................................................................................ 38
5.8.1
Features ......................................................................................................................... 39
Real Time Clock (RTC) ................................................................................................. 40
5.9.1
5.9.2
Overview ........................................................................................................................ 40
Features ......................................................................................................................... 40
5.10
UART Interface Controller (UART) ............................................................................... 41
5.10.1
5.10.2
Overview ...................................................................................................................... 41
Features ....................................................................................................................... 43
5.11
PS/2 Device Controller (PS2D)..................................................................................... 44
5.11.1
5.11.2
Overview ...................................................................................................................... 44
Features ....................................................................................................................... 44
2
5.12
5.13
I C Serial Interface Controller (Master/Slave) (I C) ...................................................... 45
5.12.1
Overview ...................................................................................................................... 45
2
Serial Peripheral Interface (SPI) ................................................................................... 47
5.13.1
5.13.2
Overview ...................................................................................................................... 47
Features ....................................................................................................................... 47
5.14
USB Device Controller (USB) ....................................................................................... 48
5.14.1
5.14.2
Overview ...................................................................................................................... 48
Features ....................................................................................................................... 48
6
ELECTRICAL CHARACTERISTICS ......................................................................................... 49
6.1
Absolute Maximum Ratings .......................................................................................... 49
6.2
6.3
DC Electrical Characteristics ........................................................................................ 50
6.2.1
NuMicro
NUC122 DC Electrical Characteristics ........................................................... 50
AC Electrical Characteristics ........................................................................................ 54
6.3.1
6.3.2
6.3.3
6.3.4
6.3.5
External 4~24 MHz High Speed Crystal AC Electrical Characteristics ........................... 54
External 4~24 MHz High Speed Crystal ......................................................................... 54
External 32.768 KHz Low Speed Crystal........................................................................ 55
Internal 22.1184 MHz High Speed Oscillator.................................................................. 55
Internal 10 KHz Low Speed Oscillator ............................................................................ 55
6.4
Analog Characteristics .................................................................................................. 56
6.4.1
6.4.2
6.4.3
6.4.4
6.4.5
Specification of LDO & Power management .................................................................. 56
Specification of Low Voltage Reset ................................................................................ 57
Specification of Brownout Detector ................................................................................ 57
Specification of Power-On Reset (5 V) ........................................................................... 57
Specification of USB PHY .............................................................................................. 58
6.5
7
SPI Dynamic Characteristics ........................................................................................ 59
6.5.1
Dynamic Characteristics of Data Input and Output Pin................................................... 59
PACKAGE DIMENSIONS ......................................................................................................... 61
7.1
64L LQFP (7x7x1.4mm footprint 2.0 mm) .................................................................... 61
7.2
7.3
48L LQFP (7x7x1.4mm footprint 2.0mm) ..................................................................... 62
33L QFN (5x5x0.8mm) ................................................................................................. 63
8
REVISION HISTORY ................................................................................................................ 64
Page
3
of
66
Revision 1.11
Jan. 09, 2015
NuMicro
NUC122 Datasheet
List of Figures
Figure 5-1 Functional Controller Diagram ...................................................................................... 19
Figure 5-2 NuMicro
NUC122 Power Distribution Diagram ........................................................... 22
Figure 5-3 Clock Generator Global View Diagram......................................................................... 28
Figure 5-4 Clock Generator Block Diagram ................................................................................... 29
Figure 5-5 System Clock Block Diagram ....................................................................................... 30
Figure 5-6 SysTick Clock Control Block Diagram .......................................................................... 30
Figure 5-7 Push-Pull Output........................................................................................................... 33
Figure 5-8 Open-Drain Output ....................................................................................................... 34
Figure 5-9 Quasi-bidirectional I/O Mode ........................................................................................ 34
Figure 5-10 Timing of Interrupt and Reset Signals ........................................................................ 39
Figure 5-11 I C Bus Timing ............................................................................................................ 45
Figure 6-1 Typical Crystal Application Circuit ................................................................................ 54
Figure 6-2 SPI Master Mode Timing .............................................................................................. 59
Figure 6-3 SPI Slave Mode Timing ................................................................................................ 60
2
Jan. 09, 2015
Page
4
of
66
Revision 1.11
NuMicro
NUC122 Datasheet
List of Tables
Table 1-1 Connectivity Supported Table .......................................................................................... 6
Table 5-1 Exception Model ............................................................................................................ 25
Table 5-2 System Interrupt Map..................................................................................................... 26
Table 5-3 Vector Table Format ...................................................................................................... 27
Table 5-4 Watchdog Timer Time-out Interval Selection ................................................................ 38
Table 5-5 UART Baud Rate Equation ............................................................................................ 41
Table 5-6 UART Baud Rate Setting Table ..................................................................................... 42
Jan. 09, 2015
Page
5
of
66
Revision 1.11