Atmel ARM-Based Evaluation Kit for SAM4S16C, 32-Bit ARM® Cortex® Microcontroller ATSAM4S-WPIR-RD ATSAM4S-WPIR-RD Data Sheet

Product codes
ATSAM4S-WPIR-RD
Page of 1231
SAM4S Series [DATASHEET]
Atmel-11100G-ATARM-SAM4S-Datasheet_27-May-14
1068
42.6.5 Conversion Triggers
Conversions of the active analog channels are started with a software or hardware trigger. The software trigger is 
provided by writing the Control Register (ADC_CR) with the START bit at 1. 
The hardware trigger can be one of the TIOA outputs of the Timer Counter channels, PWM Event line, or the 
external trigger input of the ADC (ADTRG). The hardware trigger is selected with the TRGSEL field in the 
 (ADC_MR). The selected hardware trigger is enabled with the TRGEN bit in the 
The minimum time between two consecutive trigger events must be strictly greater than the duration time of the 
longest conversion sequence according to configuration of registers ADC_MR, ADC_CHSR, ADC_SEQR1, 
ADC_SEQR2.
If a hardware trigger is selected, the start of a conversion is triggered after a delay starting at each rising edge of 
the selected signal. Due to asynchronous handling, the delay may vary in a range of two MCK clock periods to on 
ADC clock period.
Figure 42-6.
Hardware Trigger Delay
If one of the TIOA outputs is selected, the corresponding Timer Counter channel must be programmed in 
Waveform Mode.
Only one start command is necessary to initiate a conversion sequence on all the channels. The ADC hardware 
logic automatically performs the conversions on the active channels, then waits for a new request. The Channel 
Enable (ADC_CHER) and Channel Disable (ADC_CHDR) registers permit the analog channels to be enabled or 
disabled independently. 
If the ADC is used with a PDC, only the transfers of converted data from enabled channels are performed and the 
resulting data buffers should be interpreted accordingly.
42.6.6 Sleep Mode and Conversion Sequencer
The ADC Sleep Mode maximizes power saving by automatically deactivating the ADC when it is not being used for 
conversions. Sleep Mode is selected by setting the SLEEP bit in the Mode Register (ADC_MR). 
The Sleep mode is automatically managed by a conversion sequencer, which can automatically process the 
conversions of all channels at lowest power consumption.
This mode can be used when the minimum period of time between two successive trigger events is greater than 
the startup period of the analog-to-digital converter (see the product “ADC Characteristics” section).
When a start conversion request occurs, the ADC is automatically activated. As the analog cell requires a start-up 
time, the logic waits during this time and starts the conversion on the enabled channels. When all conversions are 
complete, the ADC is deactivated until the next trigger. Triggers occurring during the sequence are not taken into 
account.
A fast wake-up mode is available in the ADC_MR as a compromise between power saving strategy and 
responsiveness. Setting the FWUP bit enables the fast wake-up mode. In fast wake-up mode the ADC cell is not 
fully deactivated while no conversion is requested, thereby providing less power saving but faster wakeup.
The conversion sequencer allows automatic processing with minimum processor intervention and optimized power 
consumption. Conversion sequences can be performed periodically using a Timer/Counter output or the PWM 
event line. The periodic acquisition of several samples can be processed automatically without any intervention of 
the processor thanks to the  PDC.
trigger
start
delay