UM11029
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2017. All rights reserved.
User manual
Rev. 1.0 — 16 June 2017
507 of 515
continued >>
NXP Semiconductors
UM11029
Chapter 32: Supplementary information
Chapter 8: LPC84x System configuration (SYSCON)
How to read this chapter . . . . . . . . . . . . . . . . . 79
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Basic configuration . . . . . . . . . . . . . . . . . . . . . 79
Set up the FRO. . . . . . . . . . . . . . . . . . . . . . . . 79
Set up the PLL . . . . . . . . . . . . . . . . . . . . . . . . 80
Configure the main clock and system clock . . 80
Pin description . . . . . . . . . . . . . . . . . . . . . . . . . 82
General description . . . . . . . . . . . . . . . . . . . . . 82
Clock generation. . . . . . . . . . . . . . . . . . . . . . . 82
Power control of analog components . . . . . . . 85
Configuration of reduced power-modes . . . . . 86
Reset and interrupt control . . . . . . . . . . . . . . . 86
Register description . . . . . . . . . . . . . . . . . . . . 86
System memory remap register . . . . . . . . . . . 89
System PLL control register . . . . . . . . . . . . . . 89
System PLL status register. . . . . . . . . . . . . . . 90
System oscillator control register . . . . . . . . . . 90
Watchdog oscillator control register . . . . . . . . 91
FRO oscillator control register . . . . . . . . . . . . 92
FRO direct clock source update register . . . . 92
System reset status register . . . . . . . . . . . . . . 93
System PLL clock source select register . . . . 93
System PLL clock source update register . . . 94
Main clock PLL source select register . . . . . . 94
Main clock PLL source update enable register 94
Main clock source select register . . . . . . . . . . 95
Main clock source update enable register . . . 95
System clock divider register . . . . . . . . . . . . . 95
ADC clock source select register . . . . . . . . . . 96
ADC clock divider register . . . . . . . . . . . . . . . 96
SCT clock source select register . . . . . . . . . . 96
SCT clock divider register. . . . . . . . . . . . . . . . 96
External clock source select register . . . . . . . 97
System clock control 0 register . . . . . . . . . . . 97
System clock control 1 register . . . . . . . . . . 100
Peripheral reset control 0 register . . . . . . . . 100
Peripheral reset control 1 register . . . . . . . . 102
Peripheral clock source select registers . . . . 104
Fractional generator 0 divider value register 104
Fractional generator 0 multiplier value register . .
105
FRG0 clock source select register . . . . . . . . 106
Fractional generator 1 divider value register 106
Fractional generator 1 multiplier value register . .
107
FRG1 clock source select register . . . . . . . . 107
CLKOUT clock source select register . . . . . 108
CLKOUT clock divider register. . . . . . . . . . . 108
External trace buffer command register . . . 109
POR captured PIO0 status register 0 . . . . . 109
POR captured PIO1 status register 1 . . . . . 109
IOCON glitch filter clock divider registers 6 to 0 .
109
BOD control register . . . . . . . . . . . . . . . . . . . 110
System tick counter calibration register . . . . . 110
IRQ latency register . . . . . . . . . . . . . . . . . . . . 111
NMI source selection register . . . . . . . . . . . . 111
Pin interrupt select registers . . . . . . . . . . . . . 112
Start logic 0 pin wake-up enable register . . . 112
Start logic 1 interrupt wake-up enable register . .
113
Deep-sleep mode configuration register . . . . 115
Wake-up configuration register . . . . . . . . . . . 115
Power configuration register . . . . . . . . . . . . . 116
Device ID register . . . . . . . . . . . . . . . . . . . . . 118
Functional description . . . . . . . . . . . . . . . . . . 118
Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
Brown-out detection . . . . . . . . . . . . . . . . . . . . 118
System PLL functional description. . . . . . . . 120
Lock detector . . . . . . . . . . . . . . . . . . . . . . . . 120
Power-down control . . . . . . . . . . . . . . . . . . . 121
Divider ratio programming . . . . . . . . . . . . . . 121
Frequency selection. . . . . . . . . . . . . . . . . . . 121
Chapter 9: LPC84x FRO API ROM routine
How to read this chapter . . . . . . . . . . . . . . . . 123
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
General description . . . . . . . . . . . . . . . . . . . . 123
API description . . . . . . . . . . . . . . . . . . . . . . . 125
set_fro_frequency . . . . . . . . . . . . . . . . . . . . 125
Param0: frequency. . . . . . . . . . . . . . . . . . . . 125