Burst Average Mode

Burst Average mode is essentially the same as the Average mode, with one difference. In Burst Average mode, once the GO bit is set by software or an auto-trigger source, hardware continuously retriggers until ADCNT is equal to ADRPT. At that point, the ADFLTR holds the average value of the samples acquired during the burst, a threshold test is performed on the ADFLTR value, and ADTIF may be set depending on the threshold settings.

The table below shows a Burst Average mode example. In this case, ADRPT is loaded with a value of 8 (based on Figure 1). That means that for each trigger event, the number of samples taken in each burst is equal to ADRPT, or 8. After all eight samples are accumulated, the ADACC register is right-shifted by the value of ADCRS, and the result transferred into ADFLTR.

Table 1. Burst Average Mode Example
Trigger Samples ADCNT ADCRS ADRPT ADACC ADFLTR
1 1-8 8 3 8 2000 250
2 9-16 8 3 8 2160 270
3 17-24 8 3 8 2080 260
4 25-32 8 3 8 2120 265
5 33-40 8 3 8 2136 267
6 41-48 8 3 8 2160 270
7 49-56 8 3 8 2136 267