ATmega1284RZAP Atmel Corporation, ATmega1284RZAP Datasheet - Page 253

no-image

ATmega1284RZAP

Manufacturer Part Number
ATmega1284RZAP
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATmega1284RZAP

Flash (kbytes)
128 Kbytes
Max. Operating Frequency
20 MHz
Max I/o Pins
32
Spi
3
Twi (i2c)
1
Uart
2
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Crypto Engine
No
Sram (kbytes)
16
Eeprom (bytes)
4096
Operating Voltage (vcc)
1.8 to 3.6
Timers
3
Frequency Band
2.4 GHz
Max Data Rate (mb/s)
0.25
Antenna Diversity
No
External Pa Control
No
Power Output (dbm)
3
Receiver Sensitivity (dbm)
-101
Receive Current Consumption (ma)
16.0
Transmit Current Consumption (ma)
17.0
Link Budget (dbm)
104
21.8
8059D–AVR–11/09
ADC Conversion Result
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 255
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 254
(ADCn - ADCm) is selected with a gain of GAIN and a reference voltage of V
Figure 21-14 on page 254
IN
POS
is the voltage on the selected input pin and V
is the voltage on the positive input pin, V
and
shows the resulting output codes if the differential input channel pair
ADC
Table 21-4 on page
shows the decoding of the differential input range.
=
(
----------------------------------------------------------------------- -
V
ADC
POS
REF
the selected voltage reference. The result is presented
=
V
NEG
V
--------------------------
V
IN
REF
V
) GAIN 512
REF
1024
256). 0x000 represents analog ground, and
NEG
REF
the voltage on the negative input pin,
the selected voltage reference (see
ATmega1284P
REF
.
253

Related parts for ATmega1284RZAP