DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
FT DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
FT DRAFT DRAFT DRAFT DRA
UM10316_0
© NXP B.V. 2008. All rights reserved.
User manual
Rev. 00.06 — 17 December 2008
569 of 571
continued >>
NXP Semiconductors
UM10316
Chapter 32: LPC29xx Supplementary information
PWM match deactive shadow registers . . . . 446
PWM interrupt bit description. . . . . . . . . . . . 446
Chapter 26: LPC29xx Analog-to-Digital Converter (ADC)
How to read this chapter . . . . . . . . . . . . . . . . 448
ADC functional description. . . . . . . . . . . . . . 448
Clock distribution . . . . . . . . . . . . . . . . . . . . . 449
Trigger ADC conversion with MSCSS timer 0 449
Interrupt handling . . . . . . . . . . . . . . . . . . . . . 449
Register overview . . . . . . . . . . . . . . . . . . . . . 450
ADC channel configuration register . . . . . . . 452
ADC channel-compare register . . . . . . . . . . 453
ADC channel conversion data register . . . . 454
Compare status register. . . . . . . . . . . . . . . . 454
Compare-status clear register . . . . . . . . . . . 455
ADC configuration register . . . . . . . . . . . . . . 455
ADC control register. . . . . . . . . . . . . . . . . . . 456
ADC status register . . . . . . . . . . . . . . . . . . . 457
ADC interrupt bit description . . . . . . . . . . . . 458
Chapter 27: LPC29xx Quadrature Encoder Interface (QEI)
How to read this chapter . . . . . . . . . . . . . . . . 459
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . 459
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . 459
Functional description . . . . . . . . . . . . . . . . . 461
Input signals . . . . . . . . . . . . . . . . . . . . . . . . . 461
Quadrature input signals . . . . . . . . . . . . . . . 461
Digital input filtering . . . . . . . . . . . . . . . . . . . 462
Position capture . . . . . . . . . . . . . . . . . . . . . . 462
Velocity capture . . . . . . . . . . . . . . . . . . . . . . 462
Velocity compare . . . . . . . . . . . . . . . . . . . . . 463
Pin description . . . . . . . . . . . . . . . . . . . . . . . . 464
Register description . . . . . . . . . . . . . . . . . . . 464
Register summary . . . . . . . . . . . . . . . . . . . . 464
Control registers . . . . . . . . . . . . . . . . . . . . . . 465
QEI Control (QEICON) . . . . . . . . . . . . . . . . 465
QEI Configuration (QEICONF) . . . . . . . . . . 465
QEI Status (QEISTAT) . . . . . . . . . . . . . . . . . 465
Position, index and timer registers . . . . . . . . 466
QEI Position (QEIPOS) . . . . . . . . . . . . . . . . 466
QEI Maximum Position (QEIMAXPOS) . . . 466
QEI Position Compare 0 (CMPOS0) . . . . . . 466
QEI Position Compare 1 (CMPOS1) . . . . . . 466
QEI Position Compare 2 (CMPOS2) . . . . . . 466
QEI Index Count (INXCNT) . . . . . . . . . . . . . 467
QEI Index Compare (INXCMP) . . . . . . . . . . 467
QEI Timer Reload (QEILOAD) . . . . . . . . . . 467
QEI Timer (QEITIME) . . . . . . . . . . . . . . . . . 467
QEI Velocity (QEIVEL) . . . . . . . . . . . . . . . . 467
QEI Velocity Capture (QEICAP) . . . . . . . . . 468
QEI Velocity Compare (VELCOMP) . . . . . . 468
QEI Digital Filter (FILTER) . . . . . . . . . . . . . 468
Interrupt registers . . . . . . . . . . . . . . . . . . . . . 468
QEI Interrupt Status (QEIINTSTAT) . . . . . . 468
QEI Interrupt Set (QEISET) . . . . . . . . . . . . 469
QEI Interrupt Clear (QEICLR) . . . . . . . . . . . 470
QEI Interrupt Enable(QEIIE) . . . . . . . . . . . . 471
QEI Interrupt Enable Set (QEIIES) . . . . . . . 472
QEI Interrupt Enable Clear (QEIIEC) . . . . . 473
Chapter 28: LPC29xx Flash/EEPROM
How to read this chapter . . . . . . . . . . . . . . . . 475
Flash memory layout . . . . . . . . . . . . . . . . . . 476
Flash memory reading . . . . . . . . . . . . . . . . . 476
Flash memory writing . . . . . . . . . . . . . . . . . . 477
Erase sequence (for one or more sectors) . . 477
Burn sequence (for one or more pages). . . . 477
Flash signature generation . . . . . . . . . . . . . . 478
Flash interrupts . . . . . . . . . . . . . . . . . . . . . . . 478
Flash memory index-sector features . . . . . . 479
Index sector programming . . . . . . . . . . . . . . 480
JTAG security. . . . . . . . . . . . . . . . . . . . . . . . 480
Flash memory sector protection. . . . . . . . . . 480
EEPROM functional description. . . . . . . . . . 481
Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . 482
Initialization . . . . . . . . . . . . . . . . . . . . . . . . . 482
EEPROM operations . . . . . . . . . . . . . . . . . . 483
Writing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 483
Programming . . . . . . . . . . . . . . . . . . . . . . . . 484
Reading . . . . . . . . . . . . . . . . . . . . . . . . . . . . 485
Error responses . . . . . . . . . . . . . . . . . . . . . . 486