UM10360 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2013. All rights reserved.
User manual Rev. 3 — 20 December 2013 818 of 841
continued >>
NXP Semiconductors
UM10360
Chapter 35: Supplementary information
35.5 Contents
Chapter 1: LPC176x/5x Introductory information
1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.2 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.3 Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.4 Ordering information. . . . . . . . . . . . . . . . . . . . . 8
1.4.1 Part options summary. . . . . . . . . . . . . . . . . . . . 8
1.5 Simplified block diagram . . . . . . . . . . . . . . . . . 9
1.6 Architectural overview . . . . . . . . . . . . . . . . . . 10
1.7 ARM Cortex-M3 processor. . . . . . . . . . . . . . . 10
1.7.1 Cortex-M3 Configuration Options . . . . . . . . . 10
System options: . . . . . . . . . . . . . . . . . . . . . . . . 10
Debug related options:. . . . . . . . . . . . . . . . . . . 11
1.8 On-chip flash memory system. . . . . . . . . . . . . 11
1.9 On-chip Static RAM. . . . . . . . . . . . . . . . . . . . . . 11
1.10 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . 12
Chapter 2: LPC176x/5x Memory map
2.1 Memory map and peripheral addressing. . . . 13
2.2 Memory maps. . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.3 APB peripheral addresses . . . . . . . . . . . . . . . 15
2.4 Memory re-mapping. . . . . . . . . . . . . . . . . . . . . 16
Boot ROM re-mapping. . . . . . . . . . . . . . . . . . . 16
2.5 AHB arbitration . . . . . . . . . . . . . . . . . . . . . . . . 16
2.6 Bus fault exceptions. . . . . . . . . . . . . . . . . . . . 16
Chapter 3: LPC176x/5x System control
3.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.2 Pin description. . . . . . . . . . . . . . . . . . . . . . . . . 18
3.3 Register description . . . . . . . . . . . . . . . . . . . . 19
3.4 Reset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.4.1 Reset Source Identification Register (RSID -
0x400F C180). . . . . . . . . . . . . . . . . . . . . . . . . 22
3.5 Brown-out detection . . . . . . . . . . . . . . . . . . . . 23
3.6 External interrupt inputs . . . . . . . . . . . . . . . . . 24
3.6.1 Register description . . . . . . . . . . . . . . . . . . . . 25
3.6.2 External Interrupt flag register (EXTINT -
0x400F C140) . . . . . . . . . . . . . . . . . . . . . . . . 25
3.6.3 External Interrupt Mode register (EXTMODE -
0x400F C148) . . . . . . . . . . . . . . . . . . . . . . . . 26
3.6.4 External Interrupt Polarity register (EXTPOLAR -
0x400F C14C) . . . . . . . . . . . . . . . . . . . . . . . . 27
3.7 Other system controls and status flags . . . . 29
3.7.1 System Controls and Status register (SCS -
0x400F C1A0) . . . . . . . . . . . . . . . . . . . . . . . . 29
Chapter 4: LPC176x/5x Clocking and power control
4.1 Summary of clocking and power control
functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
4.2 Register description . . . . . . . . . . . . . . . . . . . . 31
4.3 Oscillators . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
4.3.1 Internal RC oscillator . . . . . . . . . . . . . . . . . . . 32
4.3.2 Main oscillator. . . . . . . . . . . . . . . . . . . . . . . . . 32
4.3.3 RTC oscillator. . . . . . . . . . . . . . . . . . . . . . . . . 34
4.4 Clock source selection multiplexer . . . . . . . . 35
4.4.1 Clock Source Select register (CLKSRCSEL -
0x400F C10C) . . . . . . . . . . . . . . . . . . . . . . . . 35
4.5 PLL0 (Phase Locked Loop 0) . . . . . . . . . . . . . 36
4.5.1 PLL0 operation . . . . . . . . . . . . . . . . . . . . . . . . 36
4.5.1.1 PLL0 and startup/boot code interaction . . . . . 36
4.5.2 PLL0 register description . . . . . . . . . . . . . . . . 37
4.5.3 PLL0 Control register (PLL0CON - 0x400F C080)
37
4.5.4 PLL0 Configuration register (PLL0CFG -
0x400F C084) . . . . . . . . . . . . . . . . . . . . . . . . 38
4.5.5 PLL0 Status register (PLL0STAT - 0x400F
C088) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
4.5.6 PLL0 Interrupt: PLOCK0 . . . . . . . . . . . . . . . . 40
4.5.7 PLL0 Modes. . . . . . . . . . . . . . . . . . . . . . . . . . 40
4.5.8 PLL0 Feed register (PLL0FEED - 0x400F
C08C). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
4.5.9 PLL0 and Power-down mode. . . . . . . . . . . . . 41
4.5.10 PLL0 frequency calculation . . . . . . . . . . . . . . 41
4.5.11 Procedure for determining PLL0 settings. . . . 43
4.5.12 Examples of PLL0 settings . . . . . . . . . . . . . . 44
Example 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44