AT32UC3C2512C Automotive Atmel Corporation, AT32UC3C2512C Automotive Datasheet - Page 1107

no-image

AT32UC3C2512C Automotive

Manufacturer Part Number
AT32UC3C2512C Automotive
Description
Manufacturer
Atmel Corporation
36.6.4.5
36.6.4.6
9166C–AVR-08/11
Sequencer start/stop mode
Sequencer free running-mode
Thanks to the Software Acknowledge bit (SA) in the SEQCFGx register, the behavior of
sequencer x at the end of a sequence can be configured.
Table 36-6.
The Sequencer x Overrun Error bit (OVRx) in SR register indicates that an overrun error
occurred in the sequencer x. This means that the RES0 register has not been read while a new
sequence is starting. Events such as end-of-sequence or end-of-conversion can be caught by
interrupt servicing or polling routines thanks to the SEOSx and SEOCx bits in the SR register.
Only SEQ0 has the free-running mode capability. In free-running mode the ADC continuously
converts analog values configured in the sequencer. In this mode, the sequence restarts auto-
matically after each end of sequence without waiting for the last conversion to finish. This mode
is configured by setting the Free Running Mode (FRM) bit in the CFG register. The conversion
sequence will start on the first SOC defined by the Trigger Selection (TRGSEL) field in the
SEQCFG0 register. In this mode only SEQ0 is running once triggered.
When converting at full speed the sequencer always wait for the last conversion to be finished to
rise the sequencer end of sequence status bit (EOS).
sequence running. When the third channel is sampled the sequencer has to wait for the pipeline
to be flushed. This takes SRES/2+3-SHD clock cycles. To avoid this you can run that sequence
in free running mode. Please refer to
waiting for the pipeline to be flushed but the user will have to read the converted value before it
is overwritten by a new conversion.
Figure 36-4. Not Using FRM and Converting at Full Speed
SA
0
1
Comment
The sequencer waits for software acknowledge.
Acknowledge is done by writing a 1 in the SEOSx bit of the SCR register.
The sequencer will restart automatically a new sequence on a new SOC.
Results will be overwritten if not processed.
Sequencer Start/Stop Mode
Figure
36-5. The sequencer will run the sequence without
Figure 36-4
shows a 3 conversions
AT32UC3C
1107

Related parts for AT32UC3C2512C Automotive