NUC100LC1BN Nuvoton Technology Corporation of America, NUC100LC1BN Datasheet

IC MCU 32BIT 32KB FLASH 48LQFP

NUC100LC1BN

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

Specifications of NUC100LC1BN

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

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
NUC100LC1BN
Manufacturer:
NuvoTon
Quantity:
1 600
Part Number:
NUC100LC1BN
Manufacturer:
Nuvoton Technology Corporation of America
Quantity:
10 000
Part Number:
NUC100LC1BN
Manufacturer:
NUVOTON
Quantity:
20 000
Nuvoton Technology Corporation and shall not be reproduced without permission from Nuvoton.
Nuvoton is providing this document only for reference purposes of NuMicro microcontroller based
For additional information or questions, please contact: Nuvoton Technology Corporation.
Technical Reference Manual
The information described in this document is the exclusive intellectual property of
NuMicro™ NUC100 Series Technical Reference Manual
system design. Nuvoton assumes no responsibility for errors or omissions.
All data and specifications are subject to change without notice.
NuMicro™ Family
NUC100 Series
32-BIT MICROCONTROLLER
- 1 -
Publication Release Date: Dec. 22, 2010
ARM Cortex™-M0
Revision V1.06

Related parts for NUC100LC1BN

NUC100LC1BN Summary of contents

Page 1

NuMicro™ NUC100 Series Technical Reference Manual NuMicro™ Family NUC100 Series Technical Reference Manual 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 ...

Page 2

NuMicro™ NUC100 Series Technical Reference Manual Contents 1 GENERAL DESCRIPTION ....................................................................................................... 13 2 FEATURES ............................................................................................................................... 14 2.1 NuMicro™ NUC100 Features – Advanced Line............................................................ 14 2.2 NuMicro™ NUC120 Features – USB Line .................................................................... 18 2.3 NuMicro™ NUC130 Features – Automotive Line.......................................................... ...

Page 3

NuMicro™ NUC100 Series Technical Reference Manual 5.2.2 System Reset ...............................................................................................................113 5.2.3 System Power Distribution ...........................................................................................114 5.2.4 System Memory Map....................................................................................................116 5.2.5 System Manager Control Registers..............................................................................118 5.2.6 System Timer (SysTick) ...............................................................................................154 5.2.7 Nested Vectored Interrupt Controller (NVIC) ................................................................159 5.2.8 System Control Register...............................................................................................183 ...

Page 4

NuMicro™ NUC100 Series Technical Reference Manual 5.8.2 Features .......................................................................................................................322 5.8.3 Block Diagram ..............................................................................................................323 5.8.4 Function Description.....................................................................................................324 5.8.5 Register Map ................................................................................................................326 5.8.6 Register Description .....................................................................................................327 5.9 Serial Peripheral Interface (SPI) ................................................................................. 341 5.9.1 Overview ......................................................................................................................341 5.9.2 Features .......................................................................................................................341 5.9.3 Block Diagram ...

Page 5

NuMicro™ NUC100 Series Technical Reference Manual 5.14.4 Functional Description ................................................................................................455 5.14.5 Register Map ..............................................................................................................460 5.14.6 Register Description ...................................................................................................461 Controller (I S)....................................................................................................... 468 5.15.1 Overview ....................................................................................................................468 5.15.2 Features .....................................................................................................................468 5.15.3 Block Diagram ............................................................................................................469 5.15.4 Functional Description ...

Page 6

NuMicro™ NUC100 Series Technical Reference Manual 6.7 User Configuration...................................................................................................... 559 6.8 In System Program (ISP)............................................................................................ 562 6.8.1 ISP Procedure ..............................................................................................................562 6.9 Flash Control Register Map ........................................................................................ 565 6.10 Flash Control Register Description ............................................................................. 566 7 ELECTRICAL CHARACTERISTICS....................................................................................... 574 7.1 Absolute ...

Page 7

NuMicro™ NUC100 Series Technical Reference Manual Figures Figure 3-1 NuMicro™ NUC100 Series selection code ................................................................... 34 Figure 3-2 NuMicro™ NUC100 Medium Density LQFP 100-pin Pin Diagram ............................... 35 Figure 3-3 NuMicro™ NUC100 Medium Density LQFP 64-pin Pin Diagram ................................. 36 ...

Page 8

NuMicro™ NUC100 Series Technical Reference Manual Figure 5-6 SysTick Clock Control Block Diagram ........................................................................ 192 Figure 5-7 Clock Source of Frequency Divider ............................................................................ 194 Figure 5-8 Block Diagram of Frequency Divider .......................................................................... 194 Figure 5-9 USB Block Diagram .................................................................................................... 216 ...

Page 9

NuMicro™ NUC100 Series Technical Reference Manual Figure 5-43 PWM Controller Output Duty Ratio........................................................................... 291 Figure 5-44 Paired-PWM Output with Dead Zone Generation Operation ................................... 291 Figure 5-45 Capture Operation Timing ........................................................................................ 292 Figure 5-46 PWM Group A PWM-Timer Interrupt Architecture ...

Page 10

NuMicro™ NUC100 Series Technical Reference Manual Figure 5-80 Format of ACK FIELD............................................................................................... 426 Figure 5-81 Format of REMOTE FRAME .................................................................................... 427 Figure 5-82 Format of ERROR FRAME....................................................................................... 427 Figure 5-83 PS/2 Device Block Diagram ..................................................................................... 454 Figure 5-84 Data Format ...

Page 11

NuMicro™ NUC100 Series Technical Reference Manual Figure 6-3 Low Density Flash Memory Organization................................................................... 555 Figure 6-4 Low Density Flash Memory Organization................................................................... 556 Figure 6-5 Medium Density Flash Memory Structure .................................................................. 557 Figure 6-6 Low Density Flash Memory Structure......................................................................... 558 Figure ...

Page 12

NuMicro™ NUC100 Series Technical Reference Manual Tables Table 1-1 Connectivity Supported Table........................................................................................ 13 Table 5-1 Address Space Assignments for On-Chip Controllers................................................. 117 Table 5-2 Exception Model .......................................................................................................... 160 Table 5-3 System Interrupt Map................................................................................................... 161 Table 5-4 Vector Table Format .................................................................................................... ...

Page 13

NuMicro™ NUC100 Series Technical Reference Manual 1 GENERAL DESCRIPTION The NuMicro™ NUC100 Series is 32-bit microcontrollers with embedded ARM for industrial control and applications which need rich communication interfaces. The Cortex™-M0 ® is the newest ARM embedded processor with 32-bit ...

Page 14

NuMicro™ NUC100 Series Technical Reference Manual 2 FEATURES The equipped features are dependent on the product line and their sub products. 2.1 NuMicro™ NUC100 Features – Advanced Line • Core ® ARM Cortex™-M0 core runs MHz – ...

Page 15

NuMicro™ NUC100 Series Technical Reference Manual • Timer Support 4 sets of 32-bit timers with 24-bit up-timer and one 8-bit pre-scale counter – Independent clock source for each timer – Provides one-shot, periodic, toggle and auto-reload counting operation modes – ...

Page 16

NuMicro™ NUC100 Series Technical Reference Manual 2 • two sets of I2C device – Master/Slave up to 1Mbit/s – Bidirectional data transfer between masters and slaves – Multi-master bus (no central master) – Arbitration between simultaneously ...

Page 17

NuMicro™ NUC100 Series Technical Reference Manual Support Brownout Interrupt and Reset option – • Low Voltage Reset Threshold voltage levels: 2.0V – • Operating Temperature: -40℃~85℃ • Packages: All Green package (RoHS) – LQFP 100-pin / 64-pin / 48-pin (100-pin ...

Page 18

NuMicro™ NUC100 Series Technical Reference Manual 2.2 NuMicro™ NUC120 Features – USB Line • Core ® ARM Cortex™-M0 core runs MHz – One 24-bit system timer – Supports low power sleep-mode – Single-cycle 32-bit hardware multiplier – ...

Page 19

NuMicro™ NUC100 Series Technical Reference Manual • Watch Dog Timer Multiple clock sources – 8 selectable time out period from 6ms ~ 3.0sec (depends on clock source) – WDT can wake up from power down or sleep mode – Interrupt ...

Page 20

NuMicro™ NUC100 Series Technical Reference Manual 2 • two sets device – Master/Slave up to 1Mbit/s – Bidirectional data transfer between masters and slaves – Multi-master bus (no central master) – Arbitration ...

Page 21

NuMicro™ NUC100 Series Technical Reference Manual • Analog Comparator Up to two analog comparator – External input or internal bandgap voltage selectable at negative node – Interrupt when compare result change – Power down wake up – • One built-in ...

Page 22

NuMicro™ NUC100 Series Technical Reference Manual 2.3 NuMicro™ NUC130 Features – Automotive Line • Core ® ARM Cortex™-M0 core runs MHz – One 24-bit system timer – Supports low power sleep-mode – Single-cycle 32-bit hardware multiplier – ...

Page 23

NuMicro™ NUC100 Series Technical Reference Manual • Watch Dog Timer Multiple clock sources – 8 selectable time out period from 6ms ~ 3.0sec (depends on clock source) – WDT can wake up from power down or sleep mode – Interrupt ...

Page 24

NuMicro™ NUC100 Series Technical Reference Manual 2 • two sets device – Master/Slave up to 1Mbit/s – Bidirectional data transfer between masters and slaves – Multi-master bus (no central master) – Arbitration ...

Page 25

NuMicro™ NUC100 Series Technical Reference Manual Threshold voltage detection – Conversion start by software programming or external input – Support PDMA Mode – • Analog Comparator Up to two analog comparator – External input or internal bandgap voltage selectable at ...

Page 26

NuMicro™ NUC100 Series Technical Reference Manual 2.4 NuMicro™ NUC140 Features – Connectivity Line • Core ® ARM Cortex™-M0 core runs MHz – One 24-bit system timer – Supports low power sleep-mode – Single-cycle 32-bit hardware multiplier – ...

Page 27

NuMicro™ NUC100 Series Technical Reference Manual • Watch Dog Timer Multiple clock sources – 8 selectable time out period from 6ms ~ 3.0sec (depends on clock source) – WDT can wake up from power down or sleep mode – Interrupt ...

Page 28

NuMicro™ NUC100 Series Technical Reference Manual 2 • two sets device – Master/Slave up to 1Mbit/s – Bidirectional data transfer between masters and slaves – Multi-master bus (no central master) – Arbitration ...

Page 29

NuMicro™ NUC100 Series Technical Reference Manual Accessible space: 64KB in 8-bit mode or 128KB in 16-bit mode – Support 8bit/16bit data width – Support byte write in 16bit data width mode – • ADC 12-bit SAR ADC with 600K SPS ...

Page 30

... NUC100RE3AN 128 Definable 4x32-bit NUC100VD2AN 4x32-bit NUC100VD3AN 4x32-bit NUC100VE3AN 128 Definable 4x32-bit 3.1.2 NuMicro™ NUC100 Low Density Advance Line Selection Guide ISP Data Part number APROM RAM Loader I/O Flash ROM NUC100LC1BN 4x32-bit NUC100LD1BN 4x32-bit NUC100LD2BN 4x32-bit NUC100RC1BN 4x32-bit NUC100RD1BN ...

Page 31

NuMicro™ NUC100 Series Technical Reference Manual 3.2 NuMicro™ NUC120 Products Selection Guide 3.2.1 NuMicro™ NUC120 Medium Density USB Line Selection Guide ISP Data Part number APROM RAM Loader I/O Flash ROM NUC120LD3AN ...

Page 32

NuMicro™ NUC100 Series Technical Reference Manual 3.3 NuMicro™ NUC130 Products Selection Guide 3.3.1 NuMicro™ NUC130 Medium Density Automotive Line Selection Guide ISP Data Part number APROM RAM Loader I/O Flash ROM NUC130LD3AN ...

Page 33

NuMicro™ NUC100 Series Technical Reference Manual 3.4 NuMicro™ NUC140 Products Selection Guide 3.4.1 NuMicro™ NUC140 Medium Density Connectivity Line Selection Guide ISP Data Part number APROM RAM Loader I/O Flash ROM NUC140LD3AN ...

Page 34

NuMicro™ NUC100 Series Technical Reference Manual NUC ARM-Based 32-bit Microcontroller CPU core 1: Cortex-M0 5/7: ARM7 9: ARM9 Function 0: Advance Line 2: USB Line 3: Automotive Line 4: Connectivity Line Package Type Y: QFN 36 L: ...

Page 35

NuMicro™ NUC100 Series Technical Reference Manual 3.5 Pin Configuration 3.5.1 NuMicro™ NUC100/NUC120/NUC130/NUC140 Medium Density Pin Diagram ™ 3.5.1.1 NuMicro NUC100 LQFP 100 pin ADC5/PA.5 76 ADC6/PA.6 77 ADC7/SPISS21/PA.7 78 Vref 79 AVDD 80 SPISS20/PD.0 81 SPICLK2/PD.1 82 MISO20/PD.2 83 MOSI20/PD.3 ...

Page 36

NuMicro™ NUC100 Series Technical Reference Manual ™ 3.5.1.2 NuMicro NUC100 LQFP 64 pin ADC5/PA.5 49 ADC6/PA.6 50 ADC7/PA.7 51 AVDD 52 CPN0/PC.7 53 CPP0/PC.6 54 CPN1/PC.15 55 CPP1/PC.14 56 INT1/PB.15 57 XT1_Out 58 XT1_In 59 /RESET 60 VSS 61 VDD ...

Page 37

NuMicro™ NUC100 Series Technical Reference Manual ™ 3.5.1.3 NuMicro NUC100 LQFP 48 pin Figure 3-4 NuMicro™ NUC100 Medium Density LQFP 48-pin Pin Diagram Publication Release Date: Oct 22, 2010 - 37 - Revision V1.06 ...

Page 38

NuMicro™ NUC100 Series Technical Reference Manual ™ 3.5.1.4 NuMicro NUC120 LQFP 100 pin Figure 3-5 NuMicro™ NUC120 Medium Density LQFP 100-pin Pin Diagram Publication Release Date: Dec. 22, 2010 - 38 - Revision V1.06 ...

Page 39

NuMicro™ NUC100 Series Technical Reference Manual ™ 3.5.1.5 NuMicro NUC120 LQFP 64 pin ADC5/PA.5 49 ADC6/PA.6 50 ADC7/PA.7 51 AVDD 52 CPN0/PC.7 53 CPP0/PC.6 54 CPN1/PC.15 55 CPP1/PC.14 56 INT1/PB.15 57 XT1_Out 58 XT1_In 59 /RESET 60 VSS 61 VDD ...

Page 40

NuMicro™ NUC100 Series Technical Reference Manual ™ 3.5.1.6 NuMicro NUC120 LQFP 48 pin Figure 3-7 NuMicro™ NUC120 Medium Density LQFP 48-pin Pin Diagram Publication Release Date: Dec. 22, 2010 - 40 - Revision V1.06 ...

Page 41

NuMicro™ NUC100 Series Technical Reference Manual ™ 3.5.1.7 NuMicro NUC130 LQFP 100 pin Figure 3-8 NuMicro™ NUC130 Medium Density LQFP 100-pin Pin Diagram Publication Release Date: Oct 22, 2010 - 41 - Revision V1.06 ...

Page 42

NuMicro™ NUC100 Series Technical Reference Manual ™ 3.5.1.8 NuMicro NUC130 LQFP 64 pin ADC5/PA.5 49 ADC6/PA.6 50 ADC7/PA.7 51 AVDD 52 CPN0/PC.7 53 CPP0/PC.6 54 CPN1/PC.15 55 CPP1/PC.14 56 INT1/PB.15 57 XT1_Out 58 XT1_In 59 /RESET 60 VSS 61 VDD ...

Page 43

NuMicro™ NUC100 Series Technical Reference Manual ™ 3.5.1.9 NuMicro NUC130 LQFP 48 pin Figure 3-10 NuMicro™ NUC130 Medium Density LQFP 48-pin Pin Diagram Publication Release Date: Oct 22, 2010 - 43 - Revision V1.06 ...

Page 44

NuMicro™ NUC100 Series Technical Reference Manual ™ 3.5.1.10 NuMicro NUC140 LQFP 100 pin Figure 3-11 NuMicro™ NUC140 Medium Density LQFP 100-pin Pin Diagram Publication Release Date: Dec. 22, 2010 - 44 - Revision V1.06 ...

Page 45

NuMicro™ NUC100 Series Technical Reference Manual ™ 3.5.1.11 NuMicro NUC140 LQFP 64 pin Figure 3-12 NuMicro™ NUC140 Medium Density LQFP 64-pin Pin Diagram Publication Release Date: Oct 22, 2010 - 45 - Revision V1.06 ...

Page 46

NuMicro™ NUC100 Series Technical Reference Manual ™ 3.5.1.12 NuMicro NUC140 LQFP 48 pin Figure 3-13 NuMicro™ NUC140 Medium Density LQFP 48-pin Pin Diagram Publication Release Date: Dec. 22, 2010 - 46 - Revision V1.06 ...

Page 47

NuMicro™ NUC100 Series Technical Reference Manual 3.5.2 NuMicro™ NUC100/120/130/140 Low Density Pin Diagram ™ 3.5.2.1 NuMicro NUC100 LQFP 64 pin Figure 3-14 NuMicro™ NUC100 Low Density LQFP 64-pin Pin Diagram Publication Release Date: Oct 22, 2010 - 47 - Revision ...

Page 48

NuMicro™ NUC100 Series Technical Reference Manual ™ 3.5.2.2 NuMicro NUC100 LQFP 48 pin Figure 3-15 NuMicro™ NUC100 Low Density LQFP 48-pin Pin Diagram Publication Release Date: Dec. 22, 2010 - 48 - Revision V1.06 ...

Page 49

NuMicro™ NUC100 Series Technical Reference Manual ™ 3.5.2.3 NuMicro NUC120 LQFP 64 pin Figure 3-16 NuMicro™ NUC120 Low Density LQFP 64-pin Pin Diagram Publication Release Date: Oct 22, 2010 - 49 - Revision V1.06 ...

Page 50

NuMicro™ NUC100 Series Technical Reference Manual ™ 3.5.2.4 NuMicro NUC120 LQFP 48 pin ADC5/PA.5 37 ADC6/PA.6 38 ADC7/PA.7 39 AVDD 40 CPN0/PC.7 41 CPP0/PC.6 42 INT1/PB.15 43 XT1_Out 44 XT1_In 45 /RESET 46 PVSS 47 STADC/TM0/PB.8 48 Figure 3-17 NuMicro™ ...

Page 51

NuMicro™ NUC100 Series Technical Reference Manual ™ 3.5.2.5 NuMicro NUC130 LQFP 64 pin Figure 3-18 NuMicro™ NUC130 Low Density LQFP 64-pin Pin Diagram Publication Release Date: Oct 22, 2010 - 51 - Revision V1.06 ...

Page 52

NuMicro™ NUC100 Series Technical Reference Manual ™ 3.5.2.6 NuMicro NUC130 LQFP 48 pin Figure 3-19 NuMicro™ NUC130 Low Density LQFP 48-pin Pin Diagram Publication Release Date: Dec. 22, 2010 - 52 - Revision V1.06 ...

Page 53

NuMicro™ NUC100 Series Technical Reference Manual ™ 3.5.2.7 NuMicro NUC140 LQFP 64 pin Figure 3-20 NuMicro™ NUC140 Low Density LQFP 64-pin Pin Diagram Publication Release Date: Oct 22, 2010 - 53 - Revision V1.06 ...

Page 54

NuMicro™ NUC100 Series Technical Reference Manual ™ 3.5.2.8 NuMicro NUC140 LQFP 48 pin Figure 3-21 NuMicro™ NUC140 Low Density LQFP 48-pin Pin Diagram Publication Release Date: Dec. 22, 2010 - 54 - Revision V1.06 ...

Page 55

NuMicro™ NUC100 Series Technical Reference Manual 3.6 Pin Description 3.6.1 NuMicro™ NUC100/NUC120/NUC130/NUC140 Medium Density Pin Description ™ 3.6.1.1 NuMicro NUC100 Medium Density Pin Description Pin No. Pin Name Pin Type LQFP LQFP LQFP 100 PE.15 2 PE.14 ...

Page 56

NuMicro™ NUC100 Series Technical Reference Manual Pin No. Pin Name Pin Type LQFP LQFP LQFP 100 64 48 MISO30 I PD.11 I/O 16 MOSI30 O PD.12 I/O 17 MISO31 I PD.13 I/O 18 MOSI31 O PB.4 I ...

Page 57

NuMicro™ NUC100 Series Technical Reference Manual Pin No. Pin Name Pin Type LQFP LQFP LQFP 100 64 48 PB.3 I CTS0 36 21 PD.6 I PD.7 I/O PD.14 I RXD2 I PD.15 I/O ...

Page 58

NuMicro™ NUC100 Series Technical Reference Manual Pin No. Pin Name Pin Type LQFP LQFP LQFP 100 64 48 PB.10 I TM2 O SPISS01 I/O PB.9 I TM1 O SPISS11 I/O 51 PE.4 I/O 52 ...

Page 59

NuMicro™ NUC100 Series Technical Reference Manual Pin No. Pin Name Pin Type LQFP LQFP LQFP 100 64 48 PA.13 I PWM1 O PA.12 I PWM0 ICE_DAT I ...

Page 60

NuMicro™ NUC100 Series Technical Reference Manual Pin No. Pin Name Pin Type LQFP LQFP LQFP 100 64 48 PD.1 I/O 82 SPICLK2 I/O PD.2 I/O 83 MISO20 I PD.3 I/O 84 MOSI20 O PD.4 I/O 85 MISO21 I PD.5 I/O ...

Page 61

NuMicro™ NUC100 Series Technical Reference Manual Pin No. Pin Name Pin Type LQFP LQFP LQFP 100 64 48 STADC TM0 O Note: Pin Type I=Digital Input, O=Digital Output; AI=Analog Input; P=Power Pin; AP=Analog Power Description STADC: ADC external trigger input. ...

Page 62

NuMicro™ NUC100 Series Technical Reference Manual ™ 3.6.1.2 NuMicro NUC120 Medium Density Pin Description Pin No. Pin Name Pin Type LQFP LQFP LQFP 100 PE.15 2 PE.14 3 PE.13 PB. /INT0 SPISS31 PB. ...

Page 63

NuMicro™ NUC100 Series Technical Reference Manual Pin No. Pin Name Pin Type LQFP LQFP LQFP 100 64 48 MOSI30 O PD.12 I/O 17 MISO31 I PD.13 I/O 18 MOSI31 O PB.4 I RXD1 I PB.5 I/O 20 ...

Page 64

NuMicro™ NUC100 Series Technical Reference Manual Pin No. Pin Name Pin Type LQFP LQFP LQFP 100 64 48 CTS0 36 PD.6 I/O 37 PD.7 I/O PD.14 I/O 38 RXD2 I PD.15 I/O 39 TXD2 O PC.5 I/O 40 MOSI01 O ...

Page 65

NuMicro™ NUC100 Series Technical Reference Manual Pin No. Pin Name Pin Type LQFP LQFP LQFP 100 64 48 TM2 O SPISS01 I/O PB.9 I TM1 O SPISS11 I/O 51 PE.4 I/O 52 PE.3 I/O 53 PE.2 I/O PE.1 ...

Page 66

NuMicro™ NUC100 Series Technical Reference Manual Pin No. Pin Name Pin Type LQFP LQFP LQFP 100 64 48 PWM1 O PA.12 I PWM0 ICE_DAT I ICE_CK I 68 VDD P ...

Page 67

NuMicro™ NUC100 Series Technical Reference Manual Pin No. Pin Name Pin Type LQFP LQFP LQFP 100 64 48 SPICLK2 I/O PD.2 I/O 83 MISO20 I PD.3 I/O 84 MOSI20 O PD.4 I/O 85 MISO21 I PD.5 I/O 86 MOSI21 O ...

Page 68

NuMicro™ NUC100 Series Technical Reference Manual Pin No. Pin Name Pin Type LQFP LQFP LQFP 100 64 48 TM0 O Note: Pin Type I=Digital Input, O=Digital Output; AI=Analog Input; P=Power Pin; AP=Analog Power Description TM0: Timer0 external counter input Publication ...

Page 69

NuMicro™ NUC100 Series Technical Reference Manual ™ 3.6.1.3 NuMicro NUC130 Medium Density Pin Description Pin No. Pin Name Pin Type LQFP LQFP LQFP 100 PE.15 2 PE.14 3 PE.13 PB. /INT0 SPISS31 PB. ...

Page 70

NuMicro™ NUC100 Series Technical Reference Manual Pin No. Pin Name Pin Type LQFP LQFP LQFP 100 64 48 MOSI30 O PD.12 I/O 17 MISO31 I PD.13 I/O 18 MOSI31 O PB.4 I RXD1 I PB.5 I/O 20 ...

Page 71

NuMicro™ NUC100 Series Technical Reference Manual Pin No. Pin Name Pin Type LQFP LQFP LQFP 100 64 48 PD.6 I CANRX0 I PD.7 I CANTX0 PD.14 I/O 38 RXD2 I 24 ...

Page 72

NuMicro™ NUC100 Series Technical Reference Manual Pin No. Pin Name Pin Type LQFP LQFP LQFP 100 64 48 PWM4 O PB.10 I TM2 O SPISS01 I/O PB.9 I TM1 O SPISS11 I/O 51 PE.4 I/O 52 ...

Page 73

NuMicro™ NUC100 Series Technical Reference Manual Pin No. Pin Name Pin Type LQFP LQFP LQFP 100 64 48 PWM2 O PA.13 I PWM1 O PA.12 I PWM0 ICE_DAT I/O 67 ...

Page 74

NuMicro™ NUC100 Series Technical Reference Manual Pin No. Pin Name Pin Type LQFP LQFP LQFP 100 64 48 SPISS20 I/O PD.1 I/O 82 SPICLK2 I/O PD.2 I/O 83 MISO20 I PD.3 I/O 84 MOSI20 O PD.4 I/O 85 MISO21 I ...

Page 75

NuMicro™ NUC100 Series Technical Reference Manual Pin No. Pin Name Pin Type LQFP LQFP LQFP 100 64 48 PB.8 I/O 100 64 48 STADC TM0 O Note: Pin Type I=Digital Input, O=Digital Output; AI=Analog Input; P=Power Pin; AP=Analog Power Description ...

Page 76

NuMicro™ NUC100 Series Technical Reference Manual ™ 3.6.1.4 NuMicro NUC140 Medium Density Pin Description Pin No. Pin Name Pin Type LQFP LQFP LQFP 100 PE.15 2 PE.14 3 PE.13 PB. /INT0 SPISS31 PB. ...

Page 77

NuMicro™ NUC100 Series Technical Reference Manual Pin No. Pin Name Pin Type LQFP LQFP LQFP 100 64 48 MOSI30 O PD.12 I/O 17 MISO31 I PD.13 I/O 18 MOSI31 O PB.4 I RXD1 I PB.5 I/O 20 ...

Page 78

NuMicro™ NUC100 Series Technical Reference Manual Pin No. Pin Name Pin Type LQFP LQFP LQFP 100 64 48 CTS0 PD.6 I CANRX0 I PD.7 I CANTX0 O PD.14 I RXD2 I PD.15 ...

Page 79

NuMicro™ NUC100 Series Technical Reference Manual Pin No. Pin Name Pin Type LQFP LQFP LQFP 100 64 48 TM3 O PWM4 O PB.10 I/O 49 TM2 O SPISS01 I/O PB.9 I/O 50 TM1 O SPISS11 I/O 51 PE.4 I/O 52 ...

Page 80

NuMicro™ NUC100 Series Technical Reference Manual Pin No. Pin Name Pin Type LQFP LQFP LQFP 100 64 48 PA.14 I PWM2 O PA.13 I PWM1 O PA.12 I PWM0 O 66 ...

Page 81

NuMicro™ NUC100 Series Technical Reference Manual Pin No. Pin Name Pin Type LQFP LQFP LQFP 100 64 48 PD.0 I/O 81 SPISS20 I/O PD.1 I/O 82 SPICLK2 I/O PD.2 I/O 83 MISO20 I PD.3 I/O 84 MOSI20 O PD.4 I/O ...

Page 82

NuMicro™ NUC100 Series Technical Reference Manual Pin No. Pin Name Pin Type LQFP LQFP LQFP 100 PVSS P PB.8 I/O 100 64 48 STADC TM0 O Note: Pin Type I=Digital Input, O=Digital Output; AI=Analog Input; ...

Page 83

NuMicro™ NUC100 Series Technical Reference Manual 3.6.2 NuMicro™ NUC100/NUC120/NUC130/NUC140 Low Density Pin Description ™ 3.6.2.1 NuMicro NUC100 Low Density Pin Description Pin No. Pin Name Pin Type LQFP LQFP 64 48 PB.14 I/O 1 /INT0 I PB.13 I/O 2 CPO1 ...

Page 84

NuMicro™ NUC100 Series Technical Reference Manual Pin No. Pin Name Pin Type LQFP LQFP 64 48 ALE O PB.7 I/O CTS1 13 nCS LDO VDD VSS P PB.0 I ...

Page 85

NuMicro™ NUC100 Series Technical Reference Manual Pin No. Pin Name Pin Type LQFP LQFP 64 48 PC.1 I SPICLK0 I/O I2SBCLK I/O PC.0 I SPISS00 I/O I2SLRCLK I PE.5 I/O PB.11 I ...

Page 86

NuMicro™ NUC100 Series Technical Reference Manual Pin No. Pin Name Pin Type LQFP LQFP 64 48 AD14 I/O PA.12 I PWM0 O AD13 I ICE_DAT I ICE_CK AVSS AP PA.0 I/O ...

Page 87

NuMicro™ NUC100 Series Technical Reference Manual Pin No. Pin Name Pin Type LQFP LQFP AVDD AP PC.7 I CPN0 I AD5 I/O PC.6 I CPP0 I AD4 I/O PC.15 I/O 55 CPN1 ...

Page 88

NuMicro™ NUC100 Series Technical Reference Manual ™ 3.6.2.2 NuMicro NUC120 Low Density Pin Description Pin No. Pin Name Pin Type LQFP LQFP 64 48 PB.14 I/O 1 /INT0 I PB.13 I/O 2 CPO1 O AD1 I/O PB.12 I/O 1 CPO0 ...

Page 89

NuMicro™ NUC100 Series Technical Reference Manual Pin No. Pin Name Pin Type LQFP LQFP 64 48 PB.7 I/O CTS1 13 nCS LDO VDD VSS VBUS USB 18 14 ...

Page 90

NuMicro™ NUC100 Series Technical Reference Manual Pin No. Pin Name Pin Type LQFP LQFP 64 48 I2SBCLK I/O PC.0 I SPISS00 I/O I2SLRCLK I/O 29 PE.5 I/O PB.11 I/O 30 TM3 O PB.10 I/O 31 TM2 O PB.9 ...

Page 91

NuMicro™ NUC100 Series Technical Reference Manual Pin No. Pin Name Pin Type LQFP LQFP 64 48 PWM0 O AD13 I ICE_DAT I ICE_CK AVSS AP PA.0 I ADC0 AI PA.1 I/O ...

Page 92

NuMicro™ NUC100 Series Technical Reference Manual Pin No. Pin Name Pin Type LQFP LQFP 64 48 CPN0 I AD5 I/O PC.6 I CPP0 I AD4 I/O PC.15 I/O 55 CPN1 I AD3 I/O PC.14 I/O 56 CPP1 I ...

Page 93

NuMicro™ NUC100 Series Technical Reference Manual ™ 3.6.2.3 NuMicro NUC130 Low Density Pin Description Pin No. Pin Name Pin Type LQFP LQFP 64 48 PB.14 I/O 1 /INT0 I PB.13 I/O 2 CPO1 O AD1 I/O PB.12 I/O 1 CPO0 ...

Page 94

NuMicro™ NUC100 Series Technical Reference Manual Pin No. Pin Name Pin Type LQFP LQFP 64 48 PB.7 I/O CTS1 13 nCS LDO VDD VSS P PB.0 I RXD0 I ...

Page 95

NuMicro™ NUC100 Series Technical Reference Manual Pin No. Pin Name Pin Type LQFP LQFP 64 48 PC.1 I SPICLK0 I/O I2SBCLK I/O PC.0 I SPISS00 I/O I2SLRCLK I/O 29 PE.5 I/O PB.11 I/O 30 TM3 O ...

Page 96

NuMicro™ NUC100 Series Technical Reference Manual Pin No. Pin Name Pin Type LQFP LQFP 64 48 PWM1 O AD14 I/O PA.12 I PWM0 O AD13 I ICE_DAT I ICE_CK AVSS AP ...

Page 97

NuMicro™ NUC100 Series Technical Reference Manual Pin No. Pin Name Pin Type LQFP LQFP 64 48 AD6 I AVDD AP PC.7 I CPN0 I AD5 I/O PC.6 I CPP0 I AD4 I/O PC.15 I/O ...

Page 98

NuMicro™ NUC100 Series Technical Reference Manual ™ 3.6.2.4 NuMicro NUC140 Low Density Pin Description Pin No. Pin Name Pin Type LQFP LQFP 64 48 PB.14 I/O 1 /INT0 I PB.13 I/O 2 CPO1 O AD1 I/O PB.12 I/O 1 CPO0 ...

Page 99

NuMicro™ NUC100 Series Technical Reference Manual Pin No. Pin Name Pin Type LQFP LQFP 64 48 PB.7 I/O CTS1 13 nCS LDO VDD VSS VBUS USB 18 14 ...

Page 100

NuMicro™ NUC100 Series Technical Reference Manual Pin No. Pin Name Pin Type LQFP LQFP 64 48 MOSI00 O I2SDO O PC.2 I MISO00 I I2SDI I PC.1 I SPICLK0 I/O I2SBCLK I/O PC.0 I ...

Page 101

NuMicro™ NUC100 Series Technical Reference Manual Pin No. Pin Name Pin Type LQFP LQFP 64 48 PWM0 O AD13 I ICE_DAT I ICE_CK AVSS AP PA.0 I ADC0 AI PA.1 I/O ...

Page 102

NuMicro™ NUC100 Series Technical Reference Manual Pin No. Pin Name Pin Type LQFP LQFP 64 48 CPN0 I AD5 I/O PC.6 I CPP0 I AD4 I/O PC.15 I/O 55 CPN1 I AD3 I/O PC.14 I/O 56 CPP1 I ...

Page 103

NuMicro™ NUC100 Series Technical Reference Manual 4 BLOCK DIAGRAM 4.1 NuMicro™ NUC100/NUC120/NUC130/NUC140 Medium Density Block Diagram 4.1.1 NuMicro™ NUC100 Medium Density Block Diagram Cortex-M0 FLASH 128KB SRAM ISP 4KB 16KB PS2 SPI 2/3 I2C 1 -1M UART 1 -115K UART ...

Page 104

NuMicro™ NUC100 Series Technical Reference Manual 4.1.2 NuMicro™ NUC120 Medium Density Block Diagram Cortex-M0 FLASH 128KB SRAM ISP 4KB 16KB PS2 SPI 2/3 I2C 1 -1M UART 1 -115K UART 2 -115K I2S Peripherals with PDMA Figure 4-2 NuMicro™ NUC120 ...

Page 105

NuMicro™ NUC100 Series Technical Reference Manual 4.1.3 NuMicro™ NUC130 Medium Density Block Diagram Cortex-M0 FLASH 128KB SRAM ISP 4KB 16KB PS2 SPI 2/3 I2C 1 -1M UART 1 -115K UART 2 -115K I2S Peripherals with PDMA Figure 4-3 NuMicro™ NUC130 ...

Page 106

NuMicro™ NUC100 Series Technical Reference Manual 4.1.4 NuMicro™ NUC140 Medium Density Block Diagram Cortex-M0 FLASH 128KB SRAM ISP 4KB 16KB PS2 SPI 2/3 I2C 1 -1M UART 1 -115K UART 2 -115K I2S Peripherals with PDMA Figure 4-4 NuMicro™ NUC140 ...

Page 107

NuMicro™ NUC100 Series Technical Reference Manual 4.2 NuMicro™ NUC100/NUC120/NUC130/NUC140 Low Density Block Diagram 4.2.1 NuMicro™ NUC100 Low Density Block Diagram Figure 4-5 NuMicro™ NUC100 Low Density Block Diagram Publication Release Date: Oct 22, 2010 - 107 - Revision V1.06 ...

Page 108

NuMicro™ NUC100 Series Technical Reference Manual 4.2.2 NuMicro™ NUC120 Low Density Block Diagram Cortex-M0 FLASH 64KB SRAM ISP 4KB 8KB I2C 1 -1M UART 1 -115K I2S Peripherals with PDMA Figure 4-6 NuMicro™ NUC120 Low Density Block Diagram PDMA 50MHz ...

Page 109

NuMicro™ NUC100 Series Technical Reference Manual 4.2.3 NuMicro™ NUC130 Low Density Block Diagram Cortex-M0 FLASH 64KB SRAM ISP 4KB 8KB I2C 1 -1M UART 1 -115K I2S Peripherals with PDMA Figure 4-7 NuMicro™ NUC130 Low Density Block Diagram PDMA 50MHz ...

Page 110

NuMicro™ NUC100 Series Technical Reference Manual 4.2.4 NuMicro™ NUC140 Low Density Block Diagram Cortex-M0 FLASH 64KB SRAM ISP 4KB 8KB I2C 1 -1M UART 1 -115K I2S Peripherals with PDMA Figure 4-8 NuMicro™ NUC140 Low Density Block Diagram PDMA 50MHz ...

Page 111

NuMicro™ NUC100 Series Technical Reference Manual 5 FUNCTIONAL DESCRIPTION ® 5.1 ARM Cortex™-M0 Core The Cortex™-M0 processor is a configurable, multistage, 32-bit RISC processor. It has an AMBA AHB-Lite interface and includes an NVIC component. It also has optional hardware ...

Page 112

NuMicro™ NUC100 Series Technical Reference Manual NVIC that features: 32 external interrupt inputs, each with four levels of priority Dedicated Non-Maskable Interrupt (NMI) input. Support for both level-sensitive and pulse-sensitive interrupt lines Wake-up Interrupt Controller (WIC), providing ultra-low power sleep ...

Page 113

NuMicro™ NUC100 Series Technical Reference Manual 5.2 System Manager 5.2.1 Overview System management includes these following sections: System Resets System Memory Map System management registers for Part Number ID, chip reset and on-chip controllers reset , multi-functional pin control System ...

Page 114

NuMicro™ NUC100 Series Technical Reference Manual 5.2.3 System Power Distribution In this chip, the power distribution is divided into three segments. Analog power from AVDD and AVSS provides the power for analog components operation. Digital power from VDD and VSS ...

Page 115

NuMicro™ NUC100 Series Technical Reference Manual 12-bit AVDD SAR-ADC AVSS Analog Comparator Low Brown Voltage Out Reset Detector Temperature FLASH Seneor External 32.768 kHz PLL Crystal Figure 5-3 NuMicro™ NUC100/ NUC130 Power Distribution Diagram NUC100/ NUC130 Power Distribution Internal Digital ...

Page 116

NuMicro™ NUC100 Series Technical Reference Manual 5.2.4 System Memory Map NuMicro™ NUC100 Series provides 4G-byte addressing space. The memory locations assigned to each on-chip controllers are shown in the following table. The detailed register definition, memory space, and programming detailed ...

Page 117

NuMicro™ NUC100 Series Technical Reference Manual 0x4006_0000 – 0x4006_3FFF USBD_BA 0x400D_0000 – 0x400D_3FFF ACMP_BA 0x400E_0000 – 0x400E_FFFF ADC_BA APB2 Controllers Space (0x4010_0000 ~ 0x401F_FFFF) 0x4010_0000 – 0x4010_3FFF PS2_BA 0x4011_0000 – 0x4011_3FFF TMR23_BA 0x4012_0000 – 0x4012_3FFF I2C1_BA 0x4013_0000 – 0x4013_3FFF SPI2_BA ...

Page 118

NuMicro™ NUC100 Series Technical Reference Manual 5.2.5 System Manager Control Registers R: read only, W: write only, R/W: both read and write Register Offset R/W GCR_BA = 0x5000_0000 GCR_BA+0x00 R PDID GCR_BA+0x04 R/W RSTSRC GCR_BA+0x08 R/W IPRSTC1 GCR_BA+0x0C R/W IPRSTC2 ...

Page 119

NuMicro™ NUC100 Series Technical Reference Manual Part Device ID Code Register (PDID) Register Offset R/W Description GCR_BA+0x00 R Part Device Identification Number Register PDID [1] Every part number has a unique default reset value ...

Page 120

NuMicro™ NUC100 Series Technical Reference Manual System Reset Source Register (RSTSRC) This register provides specific information for software to identify this chip’s reset source from last operation. Register Offset R/W Description GCR_BA+0x04 R/W System Reset Source Register RSTSRC 31 30 ...

Page 121

NuMicro™ NUC100 Series Technical Reference Manual Software can write 1 to clear this bit to zero. The RSTS_WDT flag is set by the “reset signal” from the watchdog timer to indicate the previous reset source The watchdog timer ...

Page 122

NuMicro™ NUC100 Series Technical Reference Manual Peripheral Reset Control Register1 (IPRSTC1) Register Offset R/W Description GCR_BA+0x08 R/W IP Reset Control Register 1 IPRSTC1 Reserved Bits Descriptions [31:4] Reserved ...

Page 123

NuMicro™ NUC100 Series Technical Reference Manual Setting this bit will reset the whole chip, including CPU kernel and all peripherals, and this bit will automatically return to 0 after the 2 clock cycles. The CHIP_RST is same as the POR ...

Page 124

NuMicro™ NUC100 Series Technical Reference Manual Peripheral Reset Control Register2 (IPRSTC2) Setting these bits 1 will generate asynchronous reset signals to the corresponding IP controller. Users need to set these bits release corresponding IP controller from reset ...

Page 125

NuMicro™ NUC100 Series Technical Reference Manual 1 = PWM47 controller reset 0 = PWM47 controller normal operation PWM03 controller Reset [20 PWM03 controller reset PWM03_RST 0 = PWM03 controller normal operation [19] Reserved Reserved UART2 controller Reset (Medium ...

Page 126

NuMicro™ NUC100 Series Technical Reference Manual 1 = Timer2 controller reset 0 = Timer2 controller normal operation Timer1 controller Reset [ Timer1 controller reset TMR1_RST 0 = Timer1 controller normal operation Timer0 controller Reset [ Timer0 ...

Page 127

NuMicro™ NUC100 Series Technical Reference Manual High Performance Mode Register (CPR) This register is used to control CHIP performance (Low Density Only) Register Offset R/W Description GCR_BA+0x10 R/W High Performance Mode Register CPR ...

Page 128

NuMicro™ NUC100 Series Technical Reference Manual Brown-Out Detector Control Register (BODCR) Partial of the BODCR control registers values are initiated by the flash configuration and partial bits are write-protected bit. Programming write-protected bits needs to write “59h”, “16h”, “88h” to ...

Page 129

NuMicro™ NUC100 Series Technical Reference Manual REGWRPROT at address GCR_BA+0x100. Brown Out Detector Interrupt Flag 1 = When Brown Out Detector detects the VDD is dropped down through the voltage of BOD_VL setting or the VDD is raised up through ...

Page 130

NuMicro™ NUC100 Series Technical Reference Manual Temperature Sensor Control Register (TEMPCR) Register Offset R/W Description GCR_BA+0x1C R/W Temperature Sensor Control Register TEMPCR Bits Descriptions [31:1] Reserved Reserved Temperature ...

Page 131

NuMicro™ NUC100 Series Technical Reference Manual Power-On-Reset Control Register (PORCR) Register Offset R/W Description GCR_BA+0x24 R/W Power-On-Reset Controller Register PORCR Bits Descriptions [31:16] Reserved Reserved The register is ...

Page 132

NuMicro™ NUC100 Series Technical Reference Manual Multiple Function Pin GPIOA Control Register (GPA_MFP) Register Offset R/W Description GCR_BA+0x30 R/W GPIOA Multiple Function and Input Type Control Register GPA_MFP ...

Page 133

NuMicro™ NUC100 Series Technical Reference Manual 0 1 PA.12 Pin Function Selection The pin function depends on GPA_MFP12 and EBI_HB_EN[5] (ALT_MFP[21]) and EBI_EN (ALT_MFP[11]). EBI_HB_EN[5] [12] GPA_MFP12 PA.11 Pin Function Selection The pin function depends on ...

Page 134

NuMicro™ NUC100 Series Technical Reference Manual EBI_EN PA.5 Pin Function Selection The pin function depends on GPA_MFP5 and EBI_HB_EN[0] (ALT_MFP[16]) and EBI_EN (ALT_MFP[11]). EBI_HB_EN[0] [5] GPA_MFP5 PA.4 Pin Function Selection The pin function ...

Page 135

NuMicro™ NUC100 Series Technical Reference Manual EBI_EN (ALT_MFP[11]). EBI_HB_EN[ PA.0 Pin Function Selection 1 = The ADC0 (Analog-to-Digital converter channel 0) function is selected to the pin [0] GPA_MFP0 PA The GPIOA[0] is selected ...

Page 136

NuMicro™ NUC100 Series Technical Reference Manual Multiple Function Pin GPIOB Control Register (GPB_MFP) Register Offset R/W Description GCR_BA+0x34 R/W GPIOB Multiple Function and Input Type Control Register GPB_MFP ...

Page 137

NuMicro™ NUC100 Series Technical Reference Manual PB.11 Pin Function Selection The pin function depends on GPB_MFP11 and PB11_PWM4 (ALT_MFP[4]). PB11_PWM4 [11] GPB_MFP11 PB.10 Pin Function Selection The pin function depends on GPB_MFP10 and ...

Page 138

NuMicro™ NUC100 Series Technical Reference Manual 0 1 PB. 5 Pin Function Selection [ The UART1 TXD function is selected to the pin PB.5 GPB_MFP5 0 = The GPIOB[5] is selected to the pin PB.5 PB.4 Pin Function ...

Page 139

NuMicro™ NUC100 Series Technical Reference Manual Multiple Function Pin GPIOC Control Register (GPC_MFP) Register Offset R/W Description GCR_BA+0x38 R/W GPIOC Multiple Function and Input Type Control Register GPC_MFP ...

Page 140

NuMicro™ NUC100 Series Technical Reference Manual 1 = The SPI1 MOSI0 (master output, slave input pin-0) function is selected to the pin PC. The GPIOC[11] is selected to the pin PC.11 PC.10 Pin Function Selection 1 = The ...

Page 141

NuMicro™ NUC100 Series Technical Reference Manual PC2_I2SDO PC.2 Pin Function Selection Bits PC2_I2SDI (ALT_MFP[7]) and GPC_MFP[2] determine the PC.2 function. PC2_I2SDI [2] GPC_MFP2 PC.1 Pin Function Selection Bits PC1_I2SBCLK (ALT_MFP[6]) and GPC_MFP[1] determine the ...

Page 142

NuMicro™ NUC100 Series Technical Reference Manual Multiple Function Pin GPIOD Control Register (GPD_MFP) Register Offset R/W Description GCR_BA+0x3C R/W GPIOD Multiple Function and Input Type Control Register GPD_MFP ...

Page 143

NuMicro™ NUC100 Series Technical Reference Manual 0 = The GPIOD[10] is selected to the pin PD.10 PD.9 Pin Function Selection (Medium Density Only) [ The SPI3 SPICLK function is selected to the pin PD.9 GPD_MFP9 0 = The ...

Page 144

NuMicro™ NUC100 Series Technical Reference Manual 1 = The SPI2 SS20 function is selected to the pin PD The GPIOD[0] is selected to the pin PD.0 - 144 - Publication Release Date: Dec. 22, 2010 Revision V1.06 ...

Page 145

NuMicro™ NUC100 Series Technical Reference Manual Multiple Function Pin GPIOE Control Register (GPE_MFP) Register Offset R/W Description GCR_BA+0x40 R/W GPIOE Multiple Function and Input Type Control Register GPE_MFP In this register, Low Density only has GPE_TYPE5 register bit 31 30 ...

Page 146

NuMicro™ NUC100 Series Technical Reference Manual Alternative Multiple Function Pin Control Register (ALT_MFP) Register Offset R/W Description GCR_BA+0x50 R/W Alternative Multiple Function Pin Control Register ALT_MFP EBI_nWRH_E EBI_nWRL_E Reserved N N ...

Page 147

NuMicro™ NUC100 Series Technical Reference Manual 1 Bits EBI_HB_EN[4], EBI_EN and GPA_MFP[1] determine the PA.1 function. EBI_HB_EN[4] x [20] EBI_HB_EN[ Bits EBI_HB_EN[3], EBI_EN and GPA_MFP[2] determine the PA.2 function. EBI_HB_EN[3] x [19] EBI_HB_EN[ Bits ...

Page 148

NuMicro™ NUC100 Series Technical Reference Manual Bits EBI_nWRL_EN, EBI_EN and GPB_MFP[2] determine the PB.2 function. EBI_nWRL_EN x [13] EBI_nWRL_EN Bits EBI_MCLK_EN, EBI_EN and GPC_MFP[8] determine the PC.8 function. EBI_MCLK_EN x [12] EBI_MCLK_EN x 0 ...

Page 149

NuMicro™ NUC100 Series Technical Reference Manual 0 1 EBI_EN GPC_MFP[15] PC.15 function EBI_EN GPC_MFP[14] PC.14 function EBI_EN GPB_MFP[13] PB.13 function EBI_EN PB12_CLKO EBI_EN GPA_MFP[11] PA.11 function x ...

Page 150

NuMicro™ NUC100 Series Technical Reference Manual EBI_EN Bits PB12_CLKO, GPB_MFP[12] and EBI_EN (ALT_MFP[11]) determine the PB.12 function. EBI_EN x [10] PB12_CLKO Bits PA15_I2SMCLK and GPA_MFP[15] determine the PA.15 function. PA15_I2SMCLK [9] ...

Page 151

NuMicro™ NUC100 Series Technical Reference Manual PC0_I2SLRCLK Bits PB11_PWM4 and GPB_MFP[11] determine the PB.11 function. PB11_PWM4 x [4] PB11_PWM4 0 1 Bits PB14_S31 and GPB_MFP[14] determine the PB.14 function. PB14_S31 x [3] PB14_S31 0 1 Bits PA7_S21, ...

Page 152

NuMicro™ NUC100 Series Technical Reference Manual Register Write-Protection Control Register (REGWRPROT) Some of the system control registers need to be protected to avoid inadvertent write and disturb the chip operation. These system control registers are protected after the power on ...

Page 153

NuMicro™ NUC100 Series Technical Reference Manual PORCR: address 0x5000_0024 PWRCON: address 0x5000_0200 (bit[6] is not protected for power wake-up interrupt clear) APBCLK bit[0]: address 0x5000_0208 (bit[0] is watch dog clock enable) CLKSEL0: address 0x5000_0210 (for HCLK and CPU STCLK clock ...

Page 154

NuMicro™ NUC100 Series Technical Reference Manual 5.2.6 System Timer (SysTick) The Cortex-M0 includes an integrated system timer, SysTick. SysTick 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 ...

Page 155

NuMicro™ NUC100 Series Technical Reference Manual 5.2.6.1 System Timer Control Register Map R: read only, W: write only, R/W: both read and write Register Offset R/W SCS_BA = 0xE000_E000 SCS_BA+0x10 R/W SYST_CSR SCS_BA+0x14 R/W SYST_RVR SCS_BA+0x18 R/W SYST_CVR Description SysTick ...

Page 156

NuMicro™ NUC100 Series Technical Reference Manual 5.2.6.2 System Timer Control Register Description SysTick Control and Status (SYST_CSR) Register Offset R/W SCS_BA+0x10 R/W SYST_CSR Reserved Bits Descriptions [31:17] Reserved ...

Page 157

NuMicro™ NUC100 Series Technical Reference Manual SysTick Reload Value Register (SYST_RVR) Register Offset R/W Description SCS_BA+0x14 R/W SysTick Reload Value Register SYST_RVR Bits Descriptions [31:24] Reserved Reserved [23:0] ...

Page 158

NuMicro™ NUC100 Series Technical Reference Manual SysTick Current Value Register (SYST_CVR) Register Offset R/W Description SCS _BA+0x18 R/W SysTick Current Value Register SYST_CVR Bits Descriptions [31:24] Reserved Reserved ...

Page 159

NuMicro™ NUC100 Series Technical Reference Manual 5.2.7 Nested Vectored Interrupt Controller (NVIC) Cortex-M0 provides an interrupt controller as an integral part of the exception mode, named as “Nested Vectored Interrupt Controller (NVIC)” closely coupled to the processor kernel ...

Page 160

NuMicro™ NUC100 Series Technical Reference Manual 5.2.7.1 Exception Model and System Interrupt Map Table 5-2 lists the exception model supported by NuMicro™ NUC100 Series. Software can set four levels of priority on some of these exceptions as well as on ...

Page 161

NuMicro™ NUC100 Series Technical Reference Manual 27 11 TMR3_INT 28 12 UART02_INT 29 13 UART1_INT 30 14 SPI0_INT 31 15 SPI1_INT 32 16 SPI2_INT 33 17 SPI3_INT 34 18 I2C0_INT 35 19 I2C1_INT 36 20 CAN0_INT 37 21 Reserved 38 ...

Page 162

NuMicro™ NUC100 Series Technical Reference Manual 5.2.7.2 Vector Table When any interrupts 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 base ...

Page 163

NuMicro™ NUC100 Series Technical Reference Manual 5.2.7.4 NVIC Control Registers R: read only, W: write only, R/W: both read and write Register Offset R/W SCS_BA = 0xE000_E000 SCS_BA+0x100 R/W NVIC_ISER SCS_BA+0x180 R/W NVIC_ICER SCS_BA+0x200 R/W NVIC_ISPR SCS_BA+0x280 R/W NVIC_ICPR SCS_BA+0x400 ...

Page 164

NuMicro™ NUC100 Series Technical Reference Manual IRQ0 ~ IRQ31 Set-Enable Control Register (NVIC_ISER) Register Offset R/W Description SCS _BA+0x100 R/W IRQ0 ~ IRQ31 Set-Enable Control Register NVIC_ISER Bits ...

Page 165

NuMicro™ NUC100 Series Technical Reference Manual IRQ0 ~ IRQ31 Clear-Enable Control Register (NVIC_ICER) Register Offset R/W Description SCS _BA+0x180 R/W IRQ0 ~ IRQ31 Clear-Enable Control Register NVIC_ICER Bits ...

Page 166

NuMicro™ NUC100 Series Technical Reference Manual IRQ0 ~ IRQ31 Set-Pending Control Register (NVIC_ISPR) Register Offset R/W Description SCS _BA+0x200 R/W IRQ0 ~ IRQ31 Set-Pending Control Register NVIC_ISPR Bits ...

Page 167

NuMicro™ NUC100 Series Technical Reference Manual IRQ0 ~ IRQ31 Clear-Pending Control Register (NVIC_ICPR) Register Offset R/W Description SCS _BA+0x280 R/W IRQ0 ~ IRQ31 Clear-Pending Control Register NVIC_ICPR Bits ...

Page 168

NuMicro™ NUC100 Series Technical Reference Manual IRQ0 ~ IRQ3 Interrupt Priority Register (NVIC_IPR0) Register Offset R/W Description SCS _BA+0x400 R/W IRQ0 ~ IRQ3 Interrupt Priority Control Register NVIC_IPR0 PRI_3 PRI_2 PRI_1 ...

Page 169

NuMicro™ NUC100 Series Technical Reference Manual IRQ4 ~ IRQ7 Interrupt Priority Register (NVIC_IPR1) Register Offset R/W Description SCS _BA+0x404 R/W IRQ4 ~ IRQ7 Interrupt Priority Control Register NVIC_IPR1 PRI_7 PRI_6 PRI_5 ...

Page 170

NuMicro™ NUC100 Series Technical Reference Manual IRQ8 ~ IRQ11 Interrupt Priority Register (NVIC_IPR2) Register Offset R/W Description SCS _BA+0x408 R/W IRQ8 ~ IRQ11 Interrupt Priority Control Register NVIC_IPR2 PRI_11 PRI_10 PRI_9 ...

Page 171

NuMicro™ NUC100 Series Technical Reference Manual IRQ12 ~ IRQ15 Interrupt Priority Register (NVIC_IPR3) Register Offset R/W Description SCS _BA+0x40C R/W IRQ12 ~ IRQ15 Interrupt Priority Control Register NVIC_IPR3 PRI_15 PRI_14 PRI_13 ...

Page 172

NuMicro™ NUC100 Series Technical Reference Manual IRQ16 ~ IRQ19 Interrupt Priority Register (NVIC_IPR4) Register Offset R/W Description SCS _BA+0x410 R/W IRQ16 ~ IRQ19 Interrupt Priority Control Register NVIC_IPR4 PRI_19 PRI_18 PRI_17 ...

Page 173

NuMicro™ NUC100 Series Technical Reference Manual IRQ20 ~ IRQ23 Interrupt Priority Register (NVIC_IPR5) Register Offset R/W Description SCS _BA+0x414 R/W IRQ20 ~ IRQ23 Interrupt Priority Control Register NVIC_IPR5 PRI_23 PRI_22 PRI_21 ...

Page 174

NuMicro™ NUC100 Series Technical Reference Manual IRQ24 ~ IRQ27 Interrupt Priority Register (NVIC_IPR6) Register Offset R/W Description SCS _BA+0x418 R/W IRQ24 ~ IRQ27 Interrupt Priority Control Register NVIC_IPR6 PRI_27 PRI_26 PRI_25 ...

Page 175

NuMicro™ NUC100 Series Technical Reference Manual IRQ28 ~ IRQ31 Interrupt Priority Register (NVIC_IPR7) Register Offset R/W Description SCS _BA+0x41C R/W IRQ28 ~ IRQ31 Interrupt Priority Control Register NVIC_IPR7 PRI_31 PRI_30 PRI_29 ...

Page 176

NuMicro™ NUC100 Series Technical Reference Manual 5.2.7.5 Interrupt Source Control Registers Besides the interrupt control registers associated with the NVIC, NuMicro™ NUC100 Series also implement some specific control registers to facilitate the interrupt functions, including “interrupt source identification”, ”NMI source ...

Page 177

NuMicro™ NUC100 Series Technical Reference Manual IRQ23_SRC INT_BA+0x5C R IRQ23 (USBD) interrupt source identity IRQ24_SRC INT_BA+0x60 R IRQ24 (PS2) interrupt source identity IRQ25_SRC INT_BA+0x64 R IRQ25 (ACMP) interrupt source identity IRQ26_SRC INT_BA+0x68 R IRQ26 (PDMA) interrupt source identity IRQ27_SRC INT_BA+0x6C ...

Page 178

NuMicro™ NUC100 Series Technical Reference Manual Interrupt Source Identity Register (IRQn_SRC) Register Offset R/W Description IRQ0 (BOD) interrupt source identity INT_BA+0x00 …….. R : IRQn_SRC INT_BA+0x7C IRQ31 (RTC) interrupt source identity ...

Page 179

NuMicro™ NUC100 Series Technical Reference Manual [3:0] INT_BA+0x1C 7 [2:0] INT_BA+0x20 8 [2:0] INT_BA+0x24 9 [2:0] INT_BA+0x28 10 [2:0] INT_BA+0x2C 11 [2:0] INT_BA+0x30 12 [2:0] INT_BA+0x34 13 [2:0] INT_BA+0x38 14 [2:0] INT_BA+0x3C 15 [2:0] INT_BA+0x40 16 [2:0] INT_BA+0x44 17 [2:0] ...

Page 180

NuMicro™ NUC100 Series Technical Reference Manual [2:0] INT_BA+0x50 20 [2:0] INT_BA+0x54 21 [2:0] INT_BA+0x58 22 [2:0] INT_BA+0x5C 23 [2:0] INT_BA+0x60 24 [2:0] INT_BA+0x64 25 [2:0] INT_BA+0x68 26 [2:0] INT_BA+0x6C 27 [2:0] INT_BA+0x70 28 [2:0] INT_BA+0x74 29 [2:0] INT_BA+0x78 30 [2:0] ...

Page 181

NuMicro™ NUC100 Series Technical Reference Manual Reserved Bits Descriptions [31:5] Reserved Reserved NMI interrupt source select [4:0] NMI_SEL The NMI interrupt to Cortex-M0 can be selected from one of the peripheral ...

Page 182

NuMicro™ NUC100 Series Technical Reference Manual MCU Interrupt Request Source Register (MCU_IRQ) Register Offset R/W Description INT_BA+0x84 R/W MCU Interrupt Request Source Register MCU_IRQ Bits Descriptions MCU IRQ ...

Page 183

NuMicro™ NUC100 Series Technical Reference Manual 5.2.8 System Control Register Cortex-M0 status and operating mode control are managed System Control Registers. Including CPUID, Cortex-M0 interrupt priority and Cortex-M0power management can be controlled through these system control register For more detailed ...

Page 184

NuMicro™ NUC100 Series Technical Reference Manual CPUID Register (CPUID) Register Offset R/W Description SCS_BA+0xD00 R CPUID Register CPUID Reserved PARTNO[3:0] Bits Descriptions [31:24] Implementer code assigned by ARM. ...

Page 185

NuMicro™ NUC100 Series Technical Reference Manual Interrupt Control State Register (ICSR) Register Offset R/W Description SCS_BA+0xD04 R/W Interrupt Control State Register ICSR NMIPENDSE Reserved ISRPREEMP ISRPENDING Reserved VECTPENDING[3:0] 7 ...

Page 186

NuMicro™ NUC100 Series Technical Reference Manual Value > the exception number for the current executing exception. This is a read only bit. - 186 - Publication Release Date: Dec. 22, 2010 Revision V1.06 ...

Page 187

NuMicro™ NUC100 Series Technical Reference Manual Application Interrupt and Reset Control Register (AIRCR) Register Offset R/W Description SCS_BA+0xD0C R/W Application Interrupt and Reset Control Register AIRCR Reserved Bits ...

Page 188

NuMicro™ NUC100 Series Technical Reference Manual System Control Register (SCR) Register Offset R/W Description SCS_BA+0xD10 R/W System Control Register SCR Reserved Bits Descriptions [31:5] Reserved Reserved When enabled, ...

Page 189

NuMicro™ NUC100 Series Technical Reference Manual System Handler Priority Register 2 (SHPR2) Register Offset R/W Description SCS_BA+0xD1C R/W System Handler Priority Register 2 SHPR2 PRI_11 Bits Descriptions Priority ...

Page 190

NuMicro™ NUC100 Series Technical Reference Manual System Handler Priority Register 3 (SHPR3) Register Offset R/W Description SCS_BA+0xD20 R/W System Handler Priority Register 3 SHPR3 PRI_15 PRI_14 Bits Descriptions ...

Page 191

NuMicro™ NUC100 Series Technical Reference Manual 5.3 Clock Controller 5.3.1 Overview The clock controller generates the clocks for the whole chip, including system clocks and all peripheral clocks. The clock controller also implements the power control function with the individually ...

Page 192

NuMicro™ NUC100 Series Technical Reference Manual 5.3.3 System Clock & SysTick Clock The system clock has 5 clock sources which were generated from clock generator block. The clock source switch depends on the register HCLK_S (CLKSEL0[2:0]). The block diagram is ...

Page 193

NuMicro™ NUC100 Series Technical Reference Manual 5.3.4 Peripherals Clock The peripherals clock had different clock source switch setting which depends on the different peripheral. Please refer the CLKSEL1 and CLKSEL2 register description in 5.3.7. 5.3.5 Power down mode (Deep Sleep ...

Page 194

NuMicro™ NUC100 Series Technical Reference Manual 5.3.6 Frequency Divider Output This device is equipped a power-of-2 frequency divider which is composed by16 chained divide- by-2 shift registers. One of the 16 shift register outputs selected by a sixteen to one ...

Page 195

NuMicro™ NUC100 Series Technical Reference Manual 5.3.7 Register Map R: read only, W: write only, R/W: both read and write Register Offset R/W CLK_BA = 0x5000_0200 CLK_BA+0x00 R/W PWRCON CLK_BA+0x04 R/W AHBCLK CLK_BA+0x08 R/W APBCLK CLKSTATUS CLK_BA+0x0C R/W CLK_BA+0x10 R/W ...

Page 196

NuMicro™ NUC100 Series Technical Reference Manual 5.3.8 Register Description Power Down Control Register (PWRCON) Except the BIT[6], all the other bits are protected, program these bits need to write “59h”, “16h”, “88h” to address 0x5000_0100 to disable register protection. Reference ...

Page 197

NuMicro™ NUC100 Series Technical Reference Manual 1 = Chip enter the power down mode instant or wait CPU sleep command WFI 0 = Chip operate in normal mode or CPU in idle mode (sleep mode) because of WFI command Power ...

Page 198

NuMicro™ NUC100 Series Technical Reference Manual Register/Instruction PWR_DOWN_EN PD_WAIT_CPU Mode Normal Running Mode 0 IDLE Mode 0 (CPU entry Sleep Mode) Power_down Mode 1 Power_down Mode 1 (CPU entry deep sleep mode) Table 5-5 Power Down Mode Control Table When ...

Page 199

NuMicro™ NUC100 Series Technical Reference Manual AHB Devices Clock Enable Control Register (AHBCLK) These bits for this register are used to enable/disable clock for system clock PDMA clock and EBI clock. Register Offset R/W Description CLK_BA+0x04 R/W AHB Devices Clock ...

Page 200

NuMicro™ NUC100 Series Technical Reference Manual APB Devices Clock Enable Control Register (APBCLK) These bits of this register are used to enable/disable clock for peripheral controller clocks. Register Offset R/W Description CLK_BA+0x08 R/W APB Devices Clock Enable Control Register APBCLK ...

Related keywords