30.3.3.1 Operation Modes
The ADC supports six different operation modes, with differential and single-ended conversions possible for each mode. This is configured in the Command (ADCn.COMMAND) register.
- Single mode - Single conversion per trigger, with 8- or 12-bit conversion output
- Series Accumulation mode - One conversion per trigger, with an accumulation of n samples
- Burst Accumulation mode - A burst with n samples accumulated as fast as possible after a single trigger
Series and Burst modes utilize 12-bit conversions and can be configured with or without scaling of the accumulated result. The number of samples to accumulate is controlled by the SAMPNUM bit in the Control F (ADCn.CTRLF) register. The accumulator is always reset to zero when a new Series or Burst accumulation is started.
The table below shows an overview of the available operation modes.
Operation Mode | COMMAND Mode | Conversions Per Trigger | Accumulation Type | RESULT Update |
---|---|---|---|---|
Single 8-bit | 0 | 1 | N/A | Every conversion |
Single 12-bit | 1 | |||
Series Accumulation | 2 | 1 | Full | After SAMPNUM conversions |
Series Accumulation with Scaling | 3 | Scaled | ||
Burst Accumulation | 4 | SAMPNUM | Full | After SAMPNUM conversions |
Burst Accumulation with Scaling | 5 | Scaled |