at90pwm81-16se ATMEL Corporation, at90pwm81-16se Datasheet - Page 207

no-image

at90pwm81-16se

Manufacturer Part Number
at90pwm81-16se
Description
8-bit Avr Microcontroller With 8k Bytes In- System Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet
7734M–AVR–03/10
When initiating a single ended conversion by setting the ADSC bit in ADCSRA, the conversion starts at
the following rising edge of the ADC clock cycle. See
page 208
A normal conversion takes 13 ADC clock cycles. The first conversion after the ADC is switched on
(ADEN in ADCSRA is set) takes 25 ADC clock cycles in order to initialize the analog circuitry.
The actual sample-and-hold takes place 3.5 ADC clock cycles after the start of a normal conversion and
13.5 ADC clock cycles after the start of an first conversion. When a conversion is complete, the result is
written to the ADC Data Registers, and ADIF is set. In Single Conversion mode, ADSC is cleared simul-
taneously. The software may then set ADSC again, and a new conversion will be initiated on the first
rising ADC clock edge.
When Auto Triggering is used, the prescaler is reset when the trigger event occurs. This assures a fixed
delay from the trigger event to the start of conversion. In this mode, the sample-and-hold takes place (four
XXX to be confirmed) two ADC clock cycles after the rising edge on the trigger source signal. Three
additional CPU clock cycles are used for synchronization logic.
In Free Running mode, a new conversion will be started immediately after the conversion completes,
while ADSC remains high. For a summary of conversion times, see
Figure 18-4.
Figure 18-5.
Cycle Number
ADC Clock
ADIF
ADCH
ADCL
ADSC
Cycle Number
ADC Clock
ADEN
ADSC
ADIF
ADCH
ADCL
for details on differential conversion timing.
ADC Timing Diagram, First Conversion (Single Conversion Mode)
ADC Timing Diagram, Single Conversion
1
1
2
MUX and REFS
Update
2
3
MUX and REFS
Update
4
12
5
6
13
Sample & Hold
7
14
8
15
9
Sample & Hold
16
10
One Conversion
First Conversion
17
11
“Changing Channel or Reference Selection” on
18
12
19
13
Conversion
Complete
14
20
Table
15
21
16
18-1.
22
Conversion
Complete
Sign and MSB of Result
23
LSB of Result
AT90PWM81
Next Conversion
1
24
2
MUX and REFS
Update
25
3
Sign and MSB of Result
Next
Conversion
1
LSB of Result
2
and REFS
Update
MUX
3
207

Related parts for at90pwm81-16se