ATmega1281R231 Atmel Corporation, ATmega1281R231 Datasheet - Page 286

no-image

ATmega1281R231

Manufacturer Part Number
ATmega1281R231
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATmega1281R231

Flash (kbytes)
128 Kbytes
Max. Operating Frequency
16 MHz
Max I/o Pins
54
Spi
3
Twi (i2c)
1
Uart
2
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Crypto Engine
AES
Sram (kbytes)
8
Eeprom (bytes)
4096
Operating Voltage (vcc)
1.8 to 3.6
Timers
6
Frequency Band
2.4 GHz
Max Data Rate (mb/s)
2
Antenna Diversity
Yes
External Pa Control
Yes
Power Output (dbm)
3
Receiver Sensitivity (dbm)
-101
Receive Current Consumption (ma)
13.2
Transmit Current Consumption (ma)
14.4
Link Budget (dbm)
104
26.6.3
26.6.4
2549N–AVR–05/11
Offset Compensation Schemes
ADC Accuracy Definitions
The stage has a built-in offset cancellation circuitry that nulls the offset of differential measure-
ments as much as possible. The remaining offset in the analog path can be measured directly by
selecting the same channel for both differential inputs. This offset residue can be then sub-
tracted in software from the measurement results. Using this kind of software based offset
correction, offset on any channel can be reduced below one LSB.
An n-bit single-ended ADC converts a voltage linearly between GND and V
(LSBs). The lowest code is read as 0, and the highest code is read as 2
Several parameters describe the deviation from the ideal behavior:
Figure 26-11. Offset Error
Figure 26-12. Gain Error
Offset: The deviation of the first transition (0x000 to 0x001) compared to the ideal transition
(at 0.5 LSB). Ideal value: 0 LSB.
Gain Error: After adjusting for offset, the Gain Error is found as the deviation of the last
transition (0x3FE to 0x3FF) compared to the ideal transition (at 1.5 LSB below maximum).
Ideal value: 0 LSB.
Output Code
Output Code
Offset
Error
ATmega640/1280/1281/2560/2561
Gain
Error
V
V
REF
REF
Input Voltage
Input Voltage
Ideal ADC
Actual ADC
n
Ideal ADC
Actual ADC
-1.
REF
in 2
n
steps
286

Related parts for ATmega1281R231