M031/M032
Arm® Cortex® -M
32-bit Microcontroller
NuMicro® Family
M031/M032 Series
Product Brief
Nuvoton is providing this document only for reference purposes of NuMicro 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
Feb. 19, 2019
Page 1 of 22
Rev.1.01
M031/M032 SERIES PRODUCT BRIEF
The information described in this document is the exclusive intellectual property of
Nuvoton Technology Corporation and shall not be reproduced without permission from Nuvoton.
M031/M032
1
GENERAL DESCRIPTION
®
®
®
The NuMicro M031/M032 series 32-bit microcontroller is based on Arm Cortex -M0 core with
32-bit hardware multiplier/divider. It features 1.8 ~ 3.6V operating voltage, 5V I/O tolerant, and
runs up to 48/72 MHz within -40°C ~105°C.
The M031/M032 series provides a solution for the applications that need 1.8V low-voltage
interface connection with enhanced fast 2 MSPS conversion rate 12-bit ADC, comparators and
up-to 24-ch 96/144 MHz PWM control. It supports a fast and precise data conversion for the
voltage, current, and sensor data, then fast response control to the external device. Additionally,
the M031/M032 series also provides plenty of peripherals including Universal Serial Control
2
Interface(USCI) that can be set as UART/SPI/I C flexibly, up to 10 sets of UART, 4 sets of
2
2
SPI/I S, 4 sets of I C, and 1-wire UART interface for data communication between master and
slave devices.
The M031/M032 series provides Flash size from 16 Kbytes to 512 Kbytes, SRAM size from 2
Kbytes to 96 Kbytes. Supported packages from small form factor TSSOP 20-pin, TSSOP 28-pin,
QFN 33-pin, LQFP 48-pin to LQFP 64-pin and LQFP 128-pin with pin-compatible for different part
numbers makes the system design and parts change easily.
Part Numbers with the M032 series are all based on the M031 series and enhanced with the
crystal-less USB 2.0 full-speed device feature for USB related applications.
For the development, Nuvoton provides the NuMaker-PFM evaluation board and Nuvoton Nu-Link
rd
debugger. The 3 Party IDE such as Keil MDK, IAR EWARM, Eclippse IDE with GNU GCC
compilers are also supported.
Product Line
UART
I2C
SPI/ I2S
Timer
USCI
PWM
PDMA
EBI
ADC
ACMP
Divider
USBD
M031/M032
8
2
2
4
2
24
9
1
16
2
1
1
®
Table 1-1 NuMicro M031/M032 Series Key Features Support Table
M031/M032 SERIES PRODUCT BRIEF
®
The NuMicro M031/M032 series is suitable for a wide range of applications such as:
Laser Distance Meter
Air Detector/Cleaner
Mobile LCD Panel Controller
IoT Sensing Device
HMI Controller
Micro Printer
Gaming Keyboard and Mouse
WPC Wireless Charger
Feb. 19, 2019
Page 2 of 22
Rev.1.01
M031/M032
2 FEATURES
Operating Characteristics
–
–
–
–
Analog
Voltage range: 1.8V to 3.6V
Temperature range: -40°C to +105°C
EFT 4.4 KV
ESD HBM 6 KV
– Up to 16 channels 12-bit 2 MSPS SAR ADC
– Two rail-to-rail comparators (ACMP)
Communication interfaces
Core
®
®
– Arm Cortex -M0 processor running up to 48/72
MHz
Memories
– Up to 512 KB Flash
– Up to 96 KB SRAM
– Up to 8 KB Flash for user program loader
(LDROM)
– ISP/ICP/IAP programming
– External Bus Interface (EBI) supports maximum
external address space of 1 Mbytes
– Up to 2 KB SPROM
– Dual-Bank for Over-The–Air (OTA) upgrade
Clocks
– 4 to 32 MHz HXT crystal oscillator or external
input clock
– 32.768 kHz LXT crystal oscillator or external
input clock for low-power system operation
– Internal 48 MHz HIRC oscillator with variation ±2
% within all temperature range
– Internal 38.4 kHz LIRC for low-power operating
mode.
– One PLL up to 96/144 MHz for high speed
module operation.
– Integrated with Power-on Reset, Brown-out
Reset and Low voltage Reset
– Normal run: 180 uA/MHz
– Power-down: 12 uA
– Supports wake up from Power-down mode by:
2
ACMP, GPIO, WDT, TIMER, UART, USCI, I C,
SPI, WWDT, ADC, PDMA, PWM, USBD
Timers
–
–
–
–
–
–
Up to four 32-bit timers
96/144 MHz 16-bit PWM (Up to 24 channels)
One 24-bit SysTick timer
One Independent watchdog
One window watchdog
RTC with Calendar and Alarm
PDMA
– Up to 9 channels
Cryptography Accelerator
– Supports CRC accelerator: CRC-CCITT,
CRC-8, CRC-16, and CRC-32 polynomials
IEC-60730
Feb. 19, 2019
– USB 2.0 full speed device with on-chip PHY
[1]
(crystal-less design)
Up to 111 I/O with interrupt capability
– Schmitt trigger input
– Four I/O modes
– Supports Schmitt type (Not support TTL input)
– 5V tolerant I/O except analog pins
Serial Wire Debug (SWD)
– Nuvoton Nu-Link debugger support
32-bit H/W Divider(HDIV)
– 32-bit dividend with 16-bit divisor calculation
capacity
– 6 HCLK clocks taken for one cycle calculation
Utility Support
®
– Arm Keil RVMDK and IAR EWARM IDE support
for debugging
– Free GNU compiler with Eclipse IDE support
– ICP (In Circuit Programmer) support for updating
internal code via Nu-Link debugger
– ISP (In System Programmer) support for
2
updating internal code through UART, SPI, I C,
RS-485 peripheral interface
– Pin Viewer for real time monitor the status of all
IO pins
– PinConfigure tool for pin assignment, initial code
generation and OrCAD/Protel part generation
– ClockConfigure tool for generating the initial
source code of system clock
96-bit Unique ID (UID)
128-bit Unique Customer ID (UCID)
Package
– Channel can be operated by – software trigger,
2
2
SPI/I S, USPI, UART, UUART, I C, ADC,
USBD, PWM and Timer
– Supports IEC-60730 Safety specifications.
Advanced Communication Interface
M031/M032 SERIES PRODUCT BRIEF
Power management
– Up to 4 sets of 6 MHz UART interfaces with
UART, RS-485 and IrDA mode
– Up to 4 sets of UART for simple TX/RX operation
2
– 2 sets of 400 kHz I C interfaces
2
– 1 set of 24 MHz SPI/I S interface
– Up to 1 set of quad SPI
– Up to 2 sets of USCI interfaces that supports
2
UART, SPI and I C mode
Pin Count
128
64
48
33
28
20
Type
LQFP
LQFP
LQFP
QFN
TSSOP
TSSOP
I/O Pin
111
55
42
27
23
15
Lead Pitch
0.4
0.4
0.5
0.4
0.65
0.65
Dimensions
(nm )
14x14
x1.4
7x7x1.
4
7x7x1.
4
4x4x0.
8
4.4x9.7
x1.0
4.4x6.
5x0.9
Note
Page 3 of 22
[1]
: M032 series
Rev.1.01
M031/M032
3
BLOCK DIAGRAM
Figure 3-1 NuMicro® M031/M032 Block Diagram
M031/M032 SERIES PRODUCT BRIEF
Feb. 19, 2019
Page 4 of 22
Rev.1.01
M031/M032
4
4.1
PARTS INFORMATION
M031/M032 Series Naming Rule
M0
31
S
E
3
A
E
Core
Line
Package
Flash
SRAM
Reserve
Temperature
Cortex®-M0
31: Control
F: TSSOP20
B: 16 KB
0: 2 KB
32: USB
(4.4x6.5 mm)
C: 32 KB
1: 4 KB
E: TSSOP28
D: 64 KB
2: 8/12 KB
(4.4x9.7 mm)
E: 128 KB
3: 16 KB
T: QFN33
G: 256 KB
6: 32 KB
(4x4 mm)
I: 512 KB
8: 64 KB
L: LQFP48
E:-40°C ~ 105°C
A: 96 KB
(7x7 mm)
S: LQFP64
(7x7 mm)
K: LQFP128
(14x14 mm)
M031/M032 SERIES PRODUCT BRIEF
Feb. 19, 2019
Page 5 of 22
Rev.1.01
M031/M032
M031/M032 Series Selection Guide
4.2.1
M031 Control Series
Part Number
M031FB0
AE
M031FC1
AE
M031EB0
AE
M031EC1
AE
M031TB0
AE
M031TC1
AE
M031TD2
AE
M031LC2
AE
M031LD2
AE
M031LE3A
E
M031LG6
AE
M031LG8
AE
M031SC2
AE
M031SD2
AE
M031SE3
AE
M031SG6
AE
M031SG8
AE
M031SIAA
E
M031KG6
AE
M031KG8
AE
M031KIAA
E
4.2
Flash (KB)
16
32
16
32
16
32
64
32
64
128 256 256
32
64
128 256 256 512 256 256 512
SRAM (KB)
2
4
2
4
2
4
8
8
8
16
8
8
16
System
Frequency
(MHz)
48
ISP ROM (KB)
15
PWM
2
23
4
2
96 MHz
4
0
USCI*
2
-
64
512
4
96
8
2048
111
M031/M032 SERIES PRODUCT BRIEF
12
-
24
-
24
5
7
5
1
2
1
6
3
1
-
3
7
9
7
9
6
8
2
6
8
1
QSPI
-
I2C
2
USB FS
-
EBI
-
1
CRC
1
-
1
V
PLL(MHz)
-
96
IEC-60730
-
LXT
144
96
144
V
-
V
-
V
-
V
RTC
-
ACMP
V
-
2
Divider
Package
8
-
SPI /I2S
12-bit ADC
32
4
0
UART
96
55
12
2
4
42
2
64
72
2
2
6
0
32
48
2048
27
144 MHz
PDMA
Connectivity
4
512
I/O
64
72
2
SPROM
(Bytes)
Timer/PWM
32
1
7
9
TSSOP20 TSSOP28
10
12
QFN33
LQFP48
16
LQFP64
LQFP128
2
USCI*: supports UART, SPI or I C; Note: 256/512 KB version is under developing.
Feb. 19, 2019
Page 6 of 22
Rev.1.01
M031/M032
Part Number
M032LG6AE
M032LG8AE
M032SE3AE
M032SG6AE
M032SG8AE
M032SIAAE
M032KG6AE
M032KG8AE
M032KIAAE
M032 USB Series
M032LE3AE
4.2.2
Flash (KB)
128
256
256
128
256
256
512
256
256
512
SRAM (KB)
16
32
64
16
32
64
96
32
64
96
System
Frequency
(MHz)
48
72
72
4
ISP ROM (KB)
SPROM
48
512
2048
8
512
4
8
2048
(Bytes)
38
I/O
51
4
PWM
Timer/PWM
96 MHz
12
-
12
-
144 MHz
-
24
-
24
5
7
5
USCI
1
2
1
UART
3
6
3
PDMA
9
9
6
8
2
6
8
-
1
-
1
I2C
2
USB FS
1
EBI
1
CRC
V
PLL(MHz)
96
144
96
144
IEC-60730
-
V
-
V
V
LXT
RTC
7
1
SPI /I2S
QSPI
7
M031/M032 SERIES PRODUCT BRIEF
Connectivity
107
-
V
-
V
ACMP
2
Divider
1
12-bit ADC
12
Package
LQFP48
16
LQFP64
LQFP128
2
USCI*: supports UART, SPI or I C; Note: 256/512 KB version is under developing.
Feb. 19, 2019
Page 7 of 22
Rev.1.01
M031/M032
5
PIN CONFIGURATION
5.1
M031 Series Pin Diagram
5.1.1
M031 Series TSSOP 20-Pin Diagram
1
20
PF.1
LDO_CAP
2
19
PF.0
VDD
3
18
nRESET
PB.14
4
17
PA.0
PB.13
5
16
PA.1
PB.12
6
15
PA.2
AVDD
7
14
PA.3
PB.5
8
13
PF.2
PB.4
9
12
PF.3
PB.3
10
11
PB.2
TSSOP20
VSS
Figure 5-1 M031 Control Series TSSOP 20-pin Diagram
M031/M032 SERIES PRODUCT BRIEF
Feb. 19, 2019
Page 8 of 22
Rev.1.01
M031/M032
5.1.2
M031 Series TSSOP 28-Pin Diagram
1
28
PC.0
PA.13
2
27
PC.1
PA.14
3
26
PF.1
PA.15
4
25
PF.0
VSS
5
24
nRESET
LDO_CAP
6
23
PA.0
VDD
7
22
PA.1
PB.14
8
21
PA.2
PB.13
9
20
PA.3
PB.12
10
19
PF.2
AVDD
11
18
PF.3
PB.5
12
17
PB.0
PB.4
13
16
PB.1
PB.3
14
15
PB.2
TSSOP28
PA.12
Figure 5-2 M031 Control Series TSSOP 28-pin Diagram
M031/M032 SERIES PRODUCT BRIEF
Feb. 19, 2019
Page 9 of 22
Rev.1.01
M031/M032
VSS
25
LDO_CAP
PA.15
PA.14
PA.13
PA.12
PC.0
PC.1
PF.1
PF.0
24
23
22
21
20
19
18
17
M031 Series QFN 33-Pin Diagram
16
nRESET
26
15
PF.15
VDD
27
14
PA.0
PB.15
28
13
PA.1
PB.14
29
12
PA.2
PB.13
30
11
PA.3
PB.12
31
10
PF.2
9
PF.3
QFN33
33 VSS
2
3
4
5
6
7
8
PB.4
PB.3
PB.2
PB.1
PB.0
PF.5
PF.4
32
1
AVDD
Top transparent view
PB.5
5.1.3
M031/M032 SERIES PRODUCT BRIEF
Figure 5-3 M031 Control Series QFN 33-pin Diagram
Feb. 19, 2019
Page 10 of 22
Rev.1.01
M031/M032
PA.15
PA.14
PA.13
PA.12
PC.0
PC.1
PC.2
PC.3
PC.4
PC.5
PF.1
PF.0
36
35
34
33
32
31
30
29
28
27
26
25
M031 Series LQFP 48-Pin Diagram
VSS
37
24
nRESET
LDO_CAP
38
23
PF.15
VDD
39
22
PA.0
PC.14
40
21
PA.1
PB.15
41
20
PA.2
PB.14
42
19
PA.3
PB.13
43
18
PA.4
PB.12
44
17
PA.5
AVDD
45
16
PA.6
AVSS
46
15
PA.7
PB.7
47
14
PF.2
PB.6
48
13
PF.3
1
2
3
4
5
6
7
8
9
10
11
12
PB.3
PB.2
PB.1
PB.0
PA.11
PA.10
PA.9
PA.8
PF.5
PF.4
M031/M032 SERIES PRODUCT BRIEF
PB.4
LQFP48
PB.5
5.1.4
Figure 5-4 M031 Control Series LQFP 48-pin Diagram
Feb. 19, 2019
Page 11 of 22
Rev.1.01
M031/M032
PA.15
PA.14
PA.13
PA.12
PD.0
PD.1
PD.2
PD.3
PC.0
PC.1
PC.2
PC.3
PC.4
PC.5
PF.1
PF.0
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
M031 Series LQFP 64-Pin Diagram
VSS
49
32
nRESET
LDO_CAP
50
31
PF.15
VDD
51
30
PA.0
PC.14
52
29
PA.1
PB.15
53
28
PA.2
PB.14
54
27
PA.3
PB.13
55
26
PA.4
PB.12
56
25
PA.5
AVDD
57
24
PD.15
VREF
58
23
VDD
LQFP64
9
10
11
12
13
14
15
16
PA.9
PA.8
PF.6
PF.14
PF.5
PF.4
PF.3
M031/M032 SERIES PRODUCT BRIEF
PA.10
PF.2
8
17
7
64
PB.0
PC.7
PB.7
PA.11
PB.8
18
6
PC.6
63
PB.1
19
5
62
PB.2
PA.7
PB.9
4
20
PB.3
61
3
PA.6
PB.10
PB.4
VSS
21
PB.5
22
60
2
59
1
AVSS
PB.11
PB.6
5.1.5
®
Figure 5-5 NuMicro M031 Control Series LQFP 64-pin Diagram
Feb. 19, 2019
Page 12 of 22
Rev.1.01
M031/M032
M032 Series Pin Diagram
USB_VDD33_CAP
USB_D+
USB_D-
USB_VBUS
PC.0
PC.1
PC.2
PC.3
PC.4
PC.5
PF.1
PF.0
36
35
34
33
32
31
30
29
28
27
26
25
M032 Series LQFP 48-Pin Diagram
VSS
37
24
nRESET
LDO_CAP
38
23
PF.15
VDD
39
22
PA.0
PC.14
40
21
PA.1
PB.15
41
20
PA.2
PB.14
42
19
PA.3
PB.13
43
18
PA.4
PB.12
44
17
PA.5
AVDD
45
16
PA.6
AVSS
46
15
PA.7
PB.7
47
14
PF.2
PB.6
48
13
PF.3
5
6
7
8
9
10
11
12
PB.0
PA.11
PA.10
PA.9
PA.8
PF.5
PF.4
4
PB.2
PB.1
3
PB.3
2
M031/M032 SERIES PRODUCT BRIEF
1
LQFP48
PB.4
5.2.1
PB.5
5.2
®
Figure 5-6 NuMicro M032 USB Series LQFP 48-pin Diagram
Feb. 19, 2019
Page 13 of 22
Rev.1.01
M031/M032
USB_VDD33_CAP
USB_D+
USB_D-
USB_VBUS
PD.0
PD.1
PD.2
PD.3
PC.0
PC.1
PC.2
PC.3
PC.4
PC.5
PF.1
PF.0
48
47
46
45
44
43
42
41
40
39
38
37
36
35
34
33
M032 Series LQFP 64-Pin Diagram
VSS
49
32
nRESET
LDO_CAP
50
31
PF.15
VDD
51
30
PA.0
PC.14
52
29
PA.1
PB.15
53
28
PA.2
PB.14
54
27
PA.3
PB.13
55
26
PA.4
PB.12
56
25
PA.5
AVDD
57
24
PD.15
VREF
58
23
VDD
AVSS
59
22
VSS
PB.11
60
21
PA.6
PB.10
61
20
PA.7
PB.9
62
19
PC.6
PB.8
63
18
PC.7
PB.7
64
17
PF.2
11
12
13
14
15
16
PA.8
PF.6
PF.14
PF.5
PF.4
PF.3
7
PB.0
10
6
PB.1
PA.9
5
PB.2
9
4
PB.3
PA.10
3
PB.4
8
2
PA.11
1
M031/M032 SERIES PRODUCT BRIEF
PB.5
LQFP64
PB.6
5.2.2
Figure 5-7 M032 USB Series LQFP 64-pin Multi-function Diagram
Feb. 19, 2019
Page 14 of 22
Rev.1.01
M031/M032
6
UTILITIES
6.1 Programmer and Debugger
Nu-Link
Basic full speed USB2.0 hardware debugger/programmer
Nu-Link-Pro
Advance hardware debugger/programmer with programming counter
Nu-Link 2.0
Advance high speed USB2.0 hardware debugger/programmer with multi-functions
Nu-Link-Gang
Off-line hardware programmer supports up to four chips programming for mass-production
ISP
In system programming, a software programming tool support UART/USB
ICP
In Chip Programming, a software programming tool support Nu-Link programmer
6.2 Development Environment
Programming IDE
Keil MDK, IAR, NuEclipse(GCC)
Software Package
Board Support Package(BSP), Sample Code,
Development IDE
NuTool Pin-View, NuTool-PinView, NuTool-ClockConfig, NuConsole
RTOS
Mbed, FreeRTOS, Amazon FreeRTOS, Ali-OS
HMI
Support emWin with font create tool and easy GUI builder
Programming IDE
Keil MDK, IAR, NuEclipse(GCC)
EVB NuMaker
Part Number
NK-M031TB
M031FB0AE, M031EB0AE, M031TB0AE
NK-M031TC
M031FC1AE, M031EC1AE, M031TC1AE
NK-M031SD
M031LC2AE, M031SC2AE, M031TD2AE
Feature
M031LD2AE, M031SD2AE
NK-M031SE
M031LE3AE, M031SE3AE,
NK-M032SE
M032LE3AE, M032SE3AE
NK-M031KG
M031LG6AE, M031SG6AE, M031KG6AE,
Support Expand Connector, Arduino Uno
Interface
M031LG8AE, M031SG8AE, M031KG8AE
NK-M032KG
M032LG6AE, M032SG6AE, M032KG6AE,
M032LG8AE, M032SG8AE, M032KG8AE
NK-M031KI
M031SIAAE, M031KIAAE
NK-M032KI
M032SIAAE, M032KIAAE
Feb. 19, 2019
Page 15 of 22
Rev.1.01
M031/M032 SERIES PRODUCT BRIEF
6.3 Development Board
M031/M032
7
PACKAGE DIMENSIONS
7.1 TSSOP 20-Pin (4.4x6.5x0.9 mm)
M031/M032 SERIES PRODUCT BRIEF
Feb. 19, 2019
Page 16 of 22
Rev.1.01
M031/M032
7.2 TSSOP 28-Pin (4.4x9.7x1.0 mm)
M031/M032 SERIES PRODUCT BRIEF
Feb. 19, 2019
Page 17 of 22
Rev.1.01
M031/M032
7.3 QFN 33-pin (4X4x0.8 mm Pitch:0.40 mm)
M031/M032 SERIES PRODUCT BRIEF
Feb. 19, 2019
Page 18 of 22
Rev.1.01
M031/M032
7.4
LQFP 48-pin (7x7x1.4 mm Footprint 2.0mm)
H
36
25
37
24
48
13
H
12
1
M031/M032 SERIES PRODUCT BRIEF
Controlling dimension : Millimeters
Symbol
A
A1
A2
b
c
D
E
e
HD
HE
L
L1
Y
0
Feb. 19, 2019
Dimension in inch
Dimension in mm
Min Nom Max
Min Nom Max
0.002 0.004
0.006
0.05
0.055
0.057
1.35
1.40
1.45
0.006 0.008
0.010
0.15
0.20
0.25
0.004 0.006
0.008
0.10
0.15
0.20
0.272 0.276
0.280
6.90
7.00
7.10
0.272 0.276
0.280
6.90
7.00
7.10
0.020
0.026
0.35
0.50
0.65
0.053
0.014
0.10
0.15
0.350
0.354
0.358
8.90
9.00
9.10
0.350
0.354
0.358
8.90
9.00
9.10
0.018
0.024
0.030
0.45
0.60
0.75
1.00
0.039
0.004
0
7
Page 19 of 22
0.10
0
7
Rev.1.01
M031/M032
7.5
LQFP 64-pin (7x7x1.4 mm footprint 2.0 mm)
M031/M032 SERIES PRODUCT BRIEF
Feb. 19, 2019
Page 20 of 22
Rev.1.01
M031/M032
8
REVISION HISTORY
Date
Revision
Description
2019.01.03
1.00
Initial version.
2019.02.19
1.01
Updated 128KB ISP ROM size.
M031/M032 SERIES PRODUCT BRIEF
Feb. 19, 2019
Page 21 of 22
Rev.1.01
M031/M032
M031/M032 SERIES PRODUCT BRIEF
Important Notice
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.
Feb. 19, 2019
Page 22 of 22
Rev.1.01