Datasheet
LPC122X All information provided in this document is subject to legal disclaimers. © NXP B.V. 2011. All rights reserved.
Product data sheet Rev. 2 — 26 August 2011 21 of 61
NXP Semiconductors
LPC122x
32-bit ARM Cortex-M0 microcontroller
• Bidirectional data transfer between masters and slaves.
• Multi-master bus (no central master).
• Arbitration between simultaneously transmitting masters without corruption of serial
data on the bus.
• Serial clock synchronization allows devices with different bit rates to communicate via
one serial bus.
• Serial clock synchronization can be used as a handshake mechanism to suspend and
resume serial transfer.
• The I
2
C-bus can be used for test and diagnostic purposes.
• The I
2
C-bus controller supports multiple address recognition and a bus monitor mode.
7.13 10-bit ADC
The LPC122x contains one ADC. It is a single 10-bit successive approximation ADC with
eight channels.
7.13.1 Features
• 10-bit successive approximation ADC.
• Input multiplexing among 8 pins.
• Power-down mode.
• Measurement range 0 V to V
DD(3V3)
.
• 10-bit conversion time of 257 kHz.
• Burst conversion mode for single or multiple inputs.
• Optional conversion on transition of input pin or counter/timer match signal.
• Individual result registers for each ADC channel to reduce interrupt overhead.
7.14 Comparator block
The comparator block consists of two analog comparators.
7.14.1 Features
• Up to six selectable external sources per comparator; fully configurable on either
positive or negative comparator input channels.
• BOD 0.9 V internal reference voltage selectable on both comparators; configurable on
either positive or negative comparator input channels.
• 32-stage voltage ladder internal reference voltage selectable on both comparators;
configurable on either positive or negative comparator input channels.
• Voltage ladder source voltage is selectable from an external pin or an internal 3.3 V
voltage rail if external power source is not available.
• Voltage ladder can be separately powered down for applications only requiring the
comparator function.
• Relaxation oscillator circuitry output for a feedback 555-style timer application.
• Common interrupt connected to NVIC.
• Comparator outputs selectable as synchronous or asynchronous.