Rainbow-electronics ATmega128RFA1 Instrukcja Użytkownika Strona 415

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 524
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 414
415
8266A-MCU Wireless-12/09
ATmega128RFA1
Parameter Duration in ADC Clock Cycles
Gain Amplifier Initialization Time t
AINIT
2(ADTHT+2)
Figure 27-4. ADC Timing Diagram, Start-Up for Single Ended Channels
A D C C lo c k
A D E N
A D S C
A V D D O K
A D IF
A D C H
A D C L
A D C
S ta r t -U p
t
A V P U
t
A D S U
M U X a n d R E F S U pd a te
1 1 T
A D C _ C L K
C o n v e r s io n
A V D D
P o w e r - U p
S ig n a n d M S B o f R e s u lt
L S B o f R e s u lt
S a m p le
& H old
C on v e r s io n
C o m p le te
Figure 27-5. ADC Timing Diagram, Start-Up for Differential Channels
A D C C lo c k
A D E N
A D S C
A V D D O K
A D IF
A D C H
A D C L
A D C
S t a rt -U p
t
A V P U
t
A D S U
M U X a n d R E F S U p d a te
1 1 T
A D C _ C LK
C o n v e rs io n
A V D D
P o w e r -U p
S ig n a n d M S B
L S B o f R e s u lt
S a m p le
& H o ld
C on v e rs io n
C o m p le te
A m p l ifie r
In it
t
A I N IT
27.5.3 Conversion Timing
The delay from requesting a conversion start by setting the ADSC bit in ADCSRA to the
moment where the sample-and-hold takes place is fixed. The same fixed delay also
applies for auto triggered conversions. In this case three additional CPU clock cycles
are used for the trigger event synchronization logic. The delay depends on the
prescaler configuration ADPS and if single-ended or differential channels are used. A
summary is given in Table 27-3 on page 416. All conversions take 11 ADC clock cycles.
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 simultaneously. The software
may then set ADSC again, and a new conversion will be initiated at the earliest after the
following tracking phase. The tracking phase is required after each conversion. Its
duration can be adjusted according to the ADC clock speed by the ADTHT bits in
ADCSRC and is different for single-ended and differential channels. For details see
Table 27-4 on page 416.
In Free Running mode, a new conversion will be started immediately after the tracking
phase of the previous conversion while ADSC remains high. The calculation of the
resulting sample rate is given in Table 27-5 on page 416.
For timing diagrams of single and auto triggered and free running conversions see
Figure 27-6 on page 416 to Figure 27-8 on page 417.
Przeglądanie stron 414
1 2 ... 410 411 412 413 414 415 416 417 418 419 420 ... 523 524

Komentarze do niniejszej Instrukcji

Brak uwag