Datasheet
Table Of Contents
- Features
- 1. Ordering Information
- 2. Pinout/Block Diagram
- 3. Overview
- 4. Resources
- 5. Capacitive touch sensing
- 6. AVR CPU
- 7. Memories
- 8. Event System
- 9. System Clock and Clock options
- 9.1 Features
- 9.2 Overview
- 9.3 Clock Sources
- 9.3.1 32kHz Ultra Low Power Internal Oscillator
- 9.3.2 32.768kHz Calibrated Internal Oscillator
- 9.3.3 32.768kHz Crystal Oscillator
- 9.3.4 0.4 - 16MHz Crystal Oscillator
- 9.3.5 2MHz Run-time Calibrated Internal Oscillator
- 9.3.6 32MHz Run-time Calibrated Internal Oscillator
- 9.3.7 External Clock Sources
- 9.3.8 PLL with 1x-31x Multiplication Factor
- 10. Power Management and Sleep Modes
- 11. System Control and Reset
- 12. WDT – Watchdog Timer
- 13. Interrupts and Programmable Multilevel Interrupt Controller
- 14. I/O Ports
- 15. TC0/1 – 16-bit Timer/Counter Type 0 and 1
- 16. TC2 – Timer/Counter Type 2
- 17. AWeX – Advanced Waveform Extension
- 18. Hi-Res – High Resolution Extension
- 19. RTC – 16-bit Real-Time Counter
- 20. USB – Universal Serial Bus Interface
- 21. TWI – Two-Wire Interface
- 22. SPI – Serial Peripheral Interface
- 23. USART
- 24. IRCOM – IR Communication Module
- 25. CRC – Cyclic Redundancy Check Generator
- 26. ADC – 12-bit Analog to Digital Converter
- 27. AC – Analog Comparator
- 28. Programming and Debugging
- 29. Pinout and Pin Functions
- 30. Peripheral Module Address Map
- 31. Instruction Set Summary
- 32. Packaging information
- 33. Electrical Characteristics TBD
- 34. Typical Characteristics TBD
- 35. Errata
- 36. Datasheet Revision History
- Table of Contents

47
8493A–AVR–02/12
XMEGA C4
26. ADC – 12-bit Analog to Digital Converter
26.1 Features
• One Analog to Digital Converter (ADC)
• 12-bit resolution
• Up to 300 thousand samples per second
– Down to 2.3µs conversion time with 8-bit resolution
– Down to 3.35µs conversion time with 12-bit resolution
• Differential and single-ended input
– 16 single-ended inputs
– 16x4 differential inputs without gain
– 8x4 differential input with gain
• Built-in differential gain stage
–
1/2x, 1x, 2x, 4x, 8x, 16x, 32x, and 64x gain options
• Single, continuous and scan conversion options
• Three internal inputs
– Internal temperature sensor
–V
CC
voltage divided by 10
– 1.1V bandgap voltage
• Internal and external reference options
• Compare function for accurate monitoring of user defined thresholds
• Optional event triggered conversion for accurate timing
• Optional interrupt/event on compare result
26.2 Overview
The ADC converts analog signals to digital values. The ADC has 12-bit resolution and is capable
of converting up to 300 thousand samples per second (ksps). The input selection is flexible, and
both single-ended and differential measurements can be done. For differential measurements,
an optional gain stage is available to increase the dynamic range. In addition, several internal
signal inputs are available. The ADC can provide both signed and unsigned results.
The ADC measurements can either be started by application software or an incoming event from
another peripheral in the device. The ADC measurements can be started with predictable timing,
and without software intervention.
Both internal and external reference voltages can be used. An integrated temperature sensor is
available for use with the ADC. The V
CC
/10 and the bandgap voltage can also be measured by
the ADC.
The ADC has a compare function for accurate monitoring of user defined thresholds with mini-
mum software intervention required.