EasyManuals Logo

Atmel ATtiny26 User Manual

Atmel ATtiny26
182 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #98 background imageLoading...
Page #98 background image
98
ATtiny26(L)
1477G–AVR–03/05
Figure 54. ADC Timing Diagram, Single Conversion
Figure 55. ADC Timing Diagram, Free Running Conversion
Changing Channel or
Reference Selection
The MUXn and REFS1:0 bits in the ADMUX Register are single buffered through a tem-
porary register to which the CPU has random access. This ensures that the channels
and reference selection only takes place at a safe point during the conversion. The
channel and reference selection is continuously updated until a conversion is started.
Once the conversion starts, the channel and reference selection is locked to ensure a
sufficient sampling time for the ADC. Continuous updating resumes in the last ADC
clock cycle before the conversion completes (ADIF in ADCSR is set). Note that the con-
version starts on the following rising ADC clock edge after ADSC is written. The user is
thus advised not to write new channel or reference selection values to ADMUX until one
ADC clock cycle after ADSC is written.
Table 43. ADC Conversion Time
Condition
Sample & Hold (Cycles from
Start of Conversion)
Conversion
Time (Cycles)
Conversion
Time (µs)
Extended conversion 13.5 25 125 - 500
Normal conversions 1.5 13 65 - 260
1 2 3 4 5 6 7 8 9 10 11 12 13
MSB of Result
LSB of Result
A
DC Clock
A
DSC
A
DIF
A
DCH
A
DCL
C
ycle Number
12
One Conversion Next Conversion
3
Sample & Hold
MUX and REFS
Update
Conversion
Complete
MUX and REF
S
Update
11 12 13
MSB of Result
LSB of Result
A
DC Clock
A
DSC
A
DIF
A
DCH
A
DCL
C
ycle Number
12
One Conversion Next Conversion
34
Conversion
Complete
Sample & Ho
ld
MUX and REFS
Update

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Atmel ATtiny26 and is the answer not in the manual?

Atmel ATtiny26 Specifications

General IconGeneral
BrandAtmel
ModelATtiny26
CategoryMicrocontrollers
LanguageEnglish

Related product manuals