UM10462
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2016. All rights reserved.
User manual
Rev. 5.5 — 21 December 2016
519 of 523
NXP Semiconductors
UM10462
Chapter 25: Supplementary information
Count Control Register . . . . . . . . . . . . . . . . 362
PWM Control Register . . . . . . . . . . . . . . . . . 364
Rules for single edge controlled PWM outputs. . .
365
Example timer operation . . . . . . . . . . . . . . . 366
Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . 367
Chapter 17: LPC11U3x/2x/1x Windowed Watchdog Timer (WWDT)
How to read this chapter . . . . . . . . . . . . . . . . 369
Basic configuration . . . . . . . . . . . . . . . . . . . . 369
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369
Applications . . . . . . . . . . . . . . . . . . . . . . . . . . 370
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . 370
Block diagram . . . . . . . . . . . . . . . . . . . . . . . . 370
Clocking and power control . . . . . . . . . . . . . 371
Using the WWDT lock features. . . . . . . . . . . 372
Accidental overwrite of the WWDT clock . . . 372
Changing the WWDT clock source. . . . . . . . 372
Changing the WWDT reload value . . . . . . . 372
Register description . . . . . . . . . . . . . . . . . . . 373
Watchdog mode register . . . . . . . . . . . . . . . 373
Watchdog Timer Constant register. . . . . . . . 375
Watchdog Feed register. . . . . . . . . . . . . . . . 375
Watchdog Timer Value register . . . . . . . . . . 376
Watchdog Clock Select register . . . . . . . . . . 376
Watchdog Timer Warning Interrupt register . 376
Watchdog Timer Window register . . . . . . . . 377
Watchdog timing examples . . . . . . . . . . . . . 377
Chapter 18: LPC11U3x/2x/1x System tick timer
How to read this chapter . . . . . . . . . . . . . . . . 379
Basic configuration . . . . . . . . . . . . . . . . . . . . 379
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 379
General description . . . . . . . . . . . . . . . . . . . . 379
Register description . . . . . . . . . . . . . . . . . . . 380
System Timer Control and status register . . 380
System Timer Reload value register . . . . . . 381
System Timer Current value register . . . . . 381
System Timer Calibration value register
(SYST_CALIB - 0xE000 E01C) . . . . . . . . . . 382
Functional description . . . . . . . . . . . . . . . . . 382
Example timer calculations . . . . . . . . . . . . . 382
Example (system clock = 50 MHz). . . . . . . . . 382
Chapter 19: LPC11U3x/2x/1x ADC
How to read this chapter . . . . . . . . . . . . . . . . 383
Basic configuration . . . . . . . . . . . . . . . . . . . . 383
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 383
Pin description . . . . . . . . . . . . . . . . . . . . . . . . 383
Register description . . . . . . . . . . . . . . . . . . . 384
A/D Control Register (CR - 0x4001 C000) . . 385
A/D Global Data Register
(GDR - 0x4001 C004). . . . . . . . . . . . . . . . . . 386
A/D Status Register (STAT - 0x4001 C030) . 387
Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388
conversion . . . . . . . . . . 388
Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . 388
Accuracy vs. digital receiver . . . . . . . . . . . . 388
Chapter 20: LPC11U3x/2x/1x Flash programming firmware
How to read this chapter . . . . . . . . . . . . . . . . 389
Bootloader . . . . . . . . . . . . . . . . . . . . . . . . . . . 390
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 390
Description . . . . . . . . . . . . . . . . . . . . . . . . . . . 390
Memory map after any reset . . . . . . . . . . . . . 391
Flash content protection mechanism . . . . . 391
Criterion for Valid User Code . . . . . . . . . . . . 392
ISP/IAP communication protocol . . . . . . . . . 393
ISP command format . . . . . . . . . . . . . . . . . . 393
ISP response format . . . . . . . . . . . . . . . . . . . 393
ISP data format. . . . . . . . . . . . . . . . . . . . . . . 393
ISP flow control. . . . . . . . . . . . . . . . . . . . . . . 393
ISP command abort . . . . . . . . . . . . . . . . . . . 393
Interrupts during ISP. . . . . . . . . . . . . . . . . . . 393
Interrupts during IAP . . . . . . . . . . . . . . . . . . 394
RAM used by ISP command handler . . . . . . 394
RAM used by IAP command handler . . . . . . 394
USB communication protocol . . . . . . . . . . . 394
Usage note. . . . . . . . . . . . . . . . . . . . . . . . . . 395
Boot process flowchart . . . . . . . . . . . . . . . . 396
Sector numbers. . . . . . . . . . . . . . . . . . . . . . . 397
LPC11U1x/2x . . . . . . . . . . . . . . . . . . . . . . . . 397
LPC11U3x . . . . . . . . . . . . . . . . . . . . . . . . . . 397
Code Read Protection (CRP) . . . . . . . . . . . . 398
ISP entry protection . . . . . . . . . . . . . . . . . . . 400
ISP commands . . . . . . . . . . . . . . . . . . . . . . . 401