M0517LBN.pdf 데이터시트 (총 30 페이지) - 파일 다운로드 M0517LBN 데이타시트 다운로드

No Preview Available !

NuMicro M0517LBN Technical Reference Manual
ARM Cortex-M0
32-BIT MICROCONTROLLER
NuMicro M0517LBN
Technical Reference Manual
Publication Release Date: Sep.20, 2012
- 1 - Revision V1.0

No Preview Available !

NuMicro M0517LBN Technical Reference Manual
TABLE OF CONTENTS
1 GENERAL DESCRIPTION ·················································································································10
2 FEATURES ··········································································································································11
3 BLOCK DIAGRAM ······························································································································16
4 PIN CONFIGURATION ·······················································································································17
4.1 LQFP 48 pin ··············································································································································17
4.2 Pin Description··········································································································································18
5 FUNCTIONAL DESCRIPTION ···········································································································22
5.1 ARM® Cortex™-M0 Core ·······················································································································22
5.2 System Manager ······································································································································24
5.2.1 Overview·······································································································································24
5.2.2 System Reset ······························································································································24
5.2.3 System Power Architecture ·······································································································25
5.2.4 Whole System Memory Map ·····································································································26
5.2.5 Whole System Memory Mapping Table···················································································28
5.2.6 System Manager Controller Registers Map ············································································29
5.2.7 System Timer (SysTick) ·············································································································60
5.2.8 Nested Vectored Interrupt Controller (NVIC) ··········································································65
5.2.9 System Controller Registers Map ·····························································································91
5.3 Clock Controller ······································································································································101
5.3.1 Overview·····································································································································101
5.3.2 Clock Generator Block Diagram ·····························································································101
5.3.3 System Clock & SysTick Clock ·······························································································103
5.3.4 AHB Clock Source Select ········································································································104
5.3.5 Peripherals Clock Source Select ····························································································105
5.3.6 Power Down Mode (Deep Sleep Mode) Clock ·····································································107
5.3.7 Frequency Divider Output ········································································································107
5.3.8 Clock Controller Registers Map ······························································································109
5.3.9 Clock Controller Registers Description ··················································································110
5.4 General Purpose I/O ······························································································································131
5.4.1 Overview·····································································································································131
5.4.2 Port 0-4 Controller Registers Map ··························································································133
5.4.3 Port 0-4 Controller Registers Description ··············································································137
5.5 I2C Serial Interface Controller (Master/Slave) ····················································································152
5.5.1 Overview·····································································································································152
5.5.2 Features······································································································································153
5.5.3
5.5.4
5.5.5
5.5.6
Function Description ·················································································································154
I2C Protocol Registers ··············································································································157
I2C Controller Registers Map···································································································161
I2C Controller Registers Description·······················································································162
5.5.7 Modes of Operation ··················································································································170
Publication Release Date: Sep.20, 2012
- 2 - Revision V1.0

No Preview Available !

NuMicro M0517LBN Technical Reference Manual
5.6 PWM Generator and Capture Timer····································································································176
5.6.1 Overview·····································································································································176
5.6.2 Features······································································································································178
5.6.3 Block Diagram ···························································································································179
5.6.4 Function Description ·················································································································183
5.6.5 Controller Registers Map ·········································································································191
5.6.6 Controller Registers Description ·····························································································194
5.7 Serial Peripheral Interface (SPI) ··········································································································218
5.7.1 Overview·····································································································································218
5.7.2 Features······································································································································218
5.7.3 Block Diagram ···························································································································219
5.7.4 Function Description ·················································································································220
5.7.5 Timing Diagram ·························································································································228
5.7.6 Programming Examples···········································································································231
5.7.7 Register Map······························································································································234
5.7.8 Register Description ·················································································································235
5.8 Timer Controller ······································································································································246
5.8.1 Overview·····································································································································246
5.8.2 Features: ····································································································································246
5.8.3 Block Diagram ···························································································································247
5.8.4 Function Description ·················································································································248
5.8.5 Timer Controller Registers Map ······························································································252
5.9 Watchdog Timer (WDT)·························································································································263
5.9.1 Overview·····································································································································263
5.9.2 Features······································································································································265
5.9.3 WDT Block Diagram ·················································································································265
5.9.4 WDT Controller Registers Map ·······························································································266
5.10 UART Interface Controller (UART) ····································································································269
5.10.1 Overview·····································································································································269
5.10.2 Features······································································································································272
5.10.3 Block Diagram ···························································································································273
5.10.4 IrDA Mode ··································································································································276
5.10.5 LIN (Local Interconnection Network) mode ···········································································278
5.10.6 RS-485 function mode··············································································································279
5.10.7 Register Map······························································································································281
5.10.8 Register Description ·················································································································283
5.11 Analog-to-Digital Converter (ADC) ····································································································308
5.11.1 Overview·····································································································································308
5.11.2 Features······································································································································308
5.11.3 ADC Block Diagram ··················································································································309
5.11.4 ADC Operation Procedure ·······································································································310
5.11.5 ADC Controller Registers Map································································································316
5.11.6 ADC Controller Registers Description····················································································317
5.12 Analog Comparator (ACMP)···············································································································329
Publication Release Date: Sep.20, 2012
- 3 - Revision V1.0

No Preview Available !

NuMicro M0517LBN Technical Reference Manual
5.12.1
5.12.2
5.12.3
5.12.4
5.12.5
5.12.6
Overview·····································································································································329
Features······································································································································329
Block Diagram ···························································································································330
Functional Description ··············································································································331
Register Map······························································································································332
Register Description ·················································································································333
5.13 External Bus Interface (EBI) ···············································································································336
5.13.1 Overview·····································································································································336
5.13.2 Features······································································································································336
5.13.3 EBI Block Diagram ····················································································································337
5.13.4 Operation Procedure ················································································································338
5.13.5 EBI Controller Registers Map··································································································344
5.13.6 EBI Controller Registers Description······················································································345
5.14 Flash Memory Controller (FMC) ········································································································348
5.14.1 Overview·····································································································································348
5.14.2 Features······································································································································348
5.14.3 Block Diagram ···························································································································349
5.14.4 FMC Memory Organization······································································································350
5.14.5 Boot Selection····························································································································352
5.14.6 Data Flash ··································································································································353
5.14.7 In System Program (ISP) ·········································································································354
5.14.8 FMC Controller Registers Map································································································357
5.14.9 FMC Controller Registers Description ···················································································358
6 USER CONFIGURATION ·················································································································366
7 TYPICAL APPLICATION CIRCUIT ·································································································368
8 ELECTRICAL CHARACTERISTICS································································································369
8.1 Absolute Maximum Ratings ··················································································································369
8.2 DC Electrical Characteristics ················································································································370
8.3 AC Electrical Characteristics ················································································································374
8.3.1 External Crystal ·························································································································374
8.3.2 External Oscillator ·····················································································································374
8.3.3 Typical Crystal Application Circuits ························································································375
8.3.4 Internal 22.1184 MHz RC Oscillator·······················································································376
8.3.5 Internal 10kHz RC Oscillator ···································································································376
8.4 Analog Characteristics···························································································································377
8.4.1 Specification of 12-bit SARADC······························································································377
8.4.2 Specification of LDO & Power management·········································································379
8.4.3 Specification of Low Voltage Reset ························································································380
8.4.4 Specification of Brown-Out Detector ······················································································380
8.4.5 Specification of Power-On Reset (5V) ···················································································380
8.4.6 Specification of Temperature Sensor·····················································································381
8.4.7 Specification of Comparator ····································································································381
Publication Release Date: Sep.20, 2012
- 4 - Revision V1.0

No Preview Available !

NuMicro M0517LBN Technical Reference Manual
8.5 Flash DC Electrical Characteristics ·····································································································382
9 PACKAGE DIMENSIONS·················································································································383
10 REVISION HISTORY ·················································································································384
Publication Release Date: Sep.20, 2012
- 5 - Revision V1.0