ATmega324P Automotive Atmel Corporation, ATmega324P Automotive Datasheet - Page 256

no-image

ATmega324P Automotive

Manufacturer Part Number
ATmega324P Automotive
Description
Manufacturer
Atmel Corporation

Specifications of ATmega324P Automotive

Flash (kbytes)
32 Kbytes
Pin Count
44
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
16
Hardware Qtouch Acquisition
No
Max I/o Pins
32
Ext Interrupts
32
Usb Speed
No
Usb Interface
No
Spi
3
Twi (i2c)
1
Uart
2
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
2
Eeprom (bytes)
1024
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
Yes
Temp. Range (deg C)
-40 to 125
I/o Supply Class
2.7 to 5.5
Operating Voltage (vcc)
2.7 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
3
Output Compare Channels
6
Input Capture Channels
1
Pwm Channels
6
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes
21.8
256
ADC Conversion Result
ATmega164P/324P/644P
After the conversion is complete (ADIF is high), the conversion result can be found in the ADC
Result Registers (ADCL, ADCH).
For single ended conversion, the result is
where V
Table 21-3 on page 258
0x3FF represents the selected reference voltage minus one LSB.
If differential channels are used, the result is
where V
GAIN the selected gain factor, and V
in two’s complement form, from 0x200 (-512d) through 0x1FF (+511d). Note that if the user
wants to perform a quick polarity check of the results, it is sufficient to read the MSB of the result
(ADC9 in ADCH). If this bit is one, the result is negative, and if this bit is zero, the result is posi-
tive.
Table 21-2 on page 257
(ADCn - ADCm) is selected with a gain of GAIN and a reference voltage of V
Figure 21-14 on page 257
IN
POS
is the voltage on the selected input pin and V
is the voltage on the positive input pin, V
ADC
and
shows the resulting output codes if the differential input channel pair
Table 21-4 on page
=
shows the decoding of the differential input range.
----------------------------------------------------------------------------- -
V
POS
ADC
REF
the selected voltage reference. The result is presented
V
=
NEG
V
---------------------------- -
V
IN
REF
V
REF
1024
GAIN
259). 0x000 represents analog ground, and
NEG
REF
the voltage on the negative input pin,
512
the selected voltage reference (see
REF
.
7674F–AVR–09/09

Related parts for ATmega324P Automotive