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
514 of 515
continued >>
NXP Semiconductors
UM11029
Chapter 32: Supplementary information
Chapter 25: LPC84x System tick timer (SysTick)
How to read this chapter . . . . . . . . . . . . . . . . 434
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 434
Basic configuration . . . . . . . . . . . . . . . . . . . . 434
Pin description . . . . . . . . . . . . . . . . . . . . . . . . 434
General description . . . . . . . . . . . . . . . . . . . . 434
Register description . . . . . . . . . . . . . . . . . . . 435
System Timer Control and status register . . 435
System Timer Reload value register . . . . . . 436
System Timer Current value register . . . . . 436
System Timer Calibration value register . . . 437
Functional description . . . . . . . . . . . . . . . . . 437
. . . . . . . . . . . . . . 437
Example (system clock = 20 MHz). . . . . . . . . 437
Chapter 26: LPC84x 12-bit Analog-to-Digital Converter (ADC)
How to read this chapter . . . . . . . . . . . . . . . . 438
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 438
Basic configuration . . . . . . . . . . . . . . . . . . . . 438
ADC hardware trigger inputs . . . . . . . . . . . . 440
self-calibration . . . . . . . . . . . . . . . 441
Pin description . . . . . . . . . . . . . . . . . . . . . . . . 441
ADC vs. digital receiver . . . . . . . . . . . . . . . . 442
General description . . . . . . . . . . . . . . . . . . . . 443
Register description . . . . . . . . . . . . . . . . . . . 444
ADC Control Register . . . . . . . . . . . . . . . . . 445
A/D Conversion Sequence A Control Register . .
446
A/D Conversion Sequence B Control Register . .
449
A/D Global Data Register A and B . . . . . . . . 452
A/D Channel Data Registers 0 to 11. . . . . . . 454
A/D Compare Low Threshold Registers 0 and 1 .
456
A/D Compare High Threshold Registers 0 and 1
457
A/D Channel Threshold Select register . . . . 458
A/D Interrupt Enable Register . . . . . . . . . . . 459
26.6.10 A/D Flag register . . . . . . . . . . . . . . . . . . . . . 462
26.6.11
A/D trim register . . . . . . . . . . . . . . . . . . . . . 464
Functional description . . . . . . . . . . . . . . . . . 464
Conversion Sequences . . . . . . . . . . . . . . . . 464
conversion . . . . . . . . . . 465
26.7.2.1 Avoiding spurious hardware triggers . . . . . . 465
26.7.3
Software-triggered conversion . . . . . . . . . . . 466
Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . 466
26.7.4.1 Conversion-Complete or Sequence-Complete
interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . 466
Optional operating modes . . . . . . . . . . . . . . 467
DMA control . . . . . . . . . . . . . . . . . . . . . . . . . 467
Source Selection . . . . . . . 468
Chapter 27: LPC84x Digital-to-Analog Converter (DAC)
Basic configuration . . . . . . . . . . . . . . . . . . . . 469
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 469
Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . 470
Pin description . . . . . . . . . . . . . . . . . . . . . . . . 470
Register description . . . . . . . . . . . . . . . . . . . 471
D/A Converter Register . . . . . . . . . . . . . . . . 471
D/A Converter Control register. . . . . . . . . . . 471
D/A Converter Counter Value register . . . . . 472
Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 473
DMA counter . . . . . . . . . . . . . . . . . . . . . . . . 473
Double buffering. . . . . . . . . . . . . . . . . . . . . . 473
Chapter 28: LPC84x Analog comparator
How to read this chapter . . . . . . . . . . . . . . . . 474
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 474
Basic configuration . . . . . . . . . . . . . . . . . . . . 474
Connect the comparator output to the
SCTimer/PWM . . . . . . . . . . . . . . . . . . . . . . . 474
Connect the comparator output to the ADC. 474
Pin description . . . . . . . . . . . . . . . . . . . . . . . 475
description . . . . . . . . . . . . . . . . . . . 475
Reference voltages . . . . . . . . . . . . . . . . . . . 476
Settling times . . . . . . . . . . . . . . . . . . . . . . . . 476