Introduction

Authors: Egil Rotevatn, Rupali Honrao, and Amund Aune, Microchip Technology Inc.

This technical brief explains how to use the Burst mode with the 12-bit Analog-to-Digital Converter (ADC) featured in the tinyAVR® 2 family.

The code examples below are given using the Burst mode:
  • Interrupt using Window Comparator
  • Event-triggered burst conversion
  • ADC oversampling to increase resolution
  • Burst Accumulation with Scaling to increase ADC resolution

In Burst mode, the ADC samples a configurable number of samples as fast as possible after a single trigger. The conversion results are accumulated into a single ADC result. A maximum of 1024 samples can be accumulated on a single ADC conversion trigger.

The ADC operation modes can be split into three groups:

  • Single mode – Single conversion per trigger, with 8- or 12-bit conversion output
  • Series Accumulation mode – One conversion per trigger, with accumulation of n samples
  • Burst Accumulation mode – A burst with n samples accumulated as fast as possible after a single trigger

Refer to Section Relevant Documents for details on the other ADC modes.