ATtiny1624/1626/1627

Single Conversion Mode with PGA

The figure below shows the timing diagram for the ADC when running in Single 8- or 12-bit mode with the PGA.

Figure 1. Timing Diagram - Single Conversion with PGA
Notes:
  1. 1.The PGA will start sampling the input once the PGA initialization is done, even if the ADC initialization is still ongoing. In this case, the first sampling period will be longer than configured by SAMPDUR.
  2. 2.In Single 8-bit mode, the length of the Conversion state is nine CLK_ADC cycles. In all other modes, it is thirteen cycles.
  3. 3.If the Low Latency (LOWLAT) bit is set to ‘1’ in the Control A (ADCn.CTRLA) register, the PGA and the analog modules in the ADC will not turn OFF at the end of the conversion, eliminating the initialization time when triggering the following conversion. The PGA will stay in the Input Sampling state until a new PGA sampling occurs.
  4. 4.The time from the conversion has finished to the outputs are available in the registers is 0.5 CLK_ADC cycles followed by 1 CLK_MAIN cycle. With minimum prescaling, this sums up to 1 CLK_ADC cycle.

The total conversion time (tconv) for a single result, in μs, is calculated by:

tconv(12-bit)=tinitialization+SAMPDUR+ADCPGASAMPDUR+15.5fCLK_ADC
tconv(8-bit)=tinitialization+SAMPDUR+ADCPGASAMPDUR+11.5fCLK_ADC

A new conversion starts immediately after a result is available in the Result (ADCn.RESULT) register if the Free-Running (FREERUN) bit is set to ‘1’ in the Control F (ADCn.CTRLF) register. The Free-Running conversion rate (fconv) is calculated by:

fconv(12-bit)=fCLK_ADCSAMPDUR+ADCPGASAMPDUR+15.5
fconv(8-bit)=fCLK_ADCSAMPDUR+ADCPGASAMPDUR+11.5