atmega32c1 ATMEL Corporation, atmega32c1 Datasheet - Page 247

no-image

atmega32c1

Manufacturer Part Number
atmega32c1
Description
Atmega32m1 Automotive 8-bit Avr Microcontroller With 32k/64k Bytes In-system Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
atmega32c1-15AZ
Manufacturer:
ATMEL
Quantity:
170
Part Number:
atmega32c1-15AZ
Manufacturer:
Atmel
Quantity:
10 000
18.10 Amplifier
7647A–AVR–02/08
analog signal is applied to an analog pin and the digital input from this pin is not needed, this bit
should be written logic one to reduce power consumption in the digital input buffer.
The ATmega32/64/M1/C1 features three differential amplified channels with programmable 5,
10, 20, and 40 gain stage.
Because the amplifiers are switching capacitor amplifiers, they need to be clocked by a synchro-
nization signal called in this document the amplifier synchronization clock. To ensure an
accurate result, the amplifier input needs to have a quite stable input value during at least 4
Amplifier synchronization clock periods.
To ensure an accurate result, the amplifier input needs to have a quite stable input value at the
sampling point during at least 4 amplifier synchronization clock periods.
Amplified conversions can be synchronized to PSC events (See
Description in One Ramp Mode” on page 151
tered Mode” on page
frequency. In case the synchronization is done the ADC clock divided by 8, this synchronization
is done automatically by the ADC interface in such a way that the sample-and-hold occurs at a
specific phase of CK
first free running conversion) when CK
ended conversion (13 ADC clock cycles from the next prescaled clock cycle). A conversion initi-
ated by the user when CK
mechanism.
The normal way to use the amplifier is to select a synchronization clock via the AMPxTS1:0 bits
in the AMPxCSR register. Then the amplifier can be switched on, and the amplification is done
on each synchronization event.
In order to start an amplified Analog to Digital Conversion on the amplified channel, the ADMUX
must be configured as specified on
The ADC starting requirement is done by setting the ADSC bit of the ADCSRA Register.
Until the conversion is not achieved, it is not possible to start a conversion on another channel.
In order to have a better understanding of the functioning of the amplifier synchronization, two
timing diagram examples are shown
As soon as a conversion is requested thanks to the ADSC bit, the Analog to Digital Conversion
is started. In case the amplifier output is modified during the sample phase of the ADC, the on-
going conversion is aborted and restarted as soon as the output of the amplifier is stable. This
ensure a fast response time. The only precaution to take is to be sure that the trig signal (PSC)
frequency is lower than ADCclk/4.
ADC2
151) or to the internal clock CK
. A conversion initiated by the user (i.e., all single conversions, and the
ADC2
is high will take 14 ADC clock cycles due to the synchronization
Table 18-5 on page
Figure 18-16
ADC2
is low will take the same amount of time as a single
and
and
“Synchronization Source Description in Cen-
Figure
243.
ATmega32/64/M1/C1
ADC
18-17.
equal to eighth the ADC clock
“Synchronization Source
247

Related parts for atmega32c1