ATmega1284PR231 Atmel Corporation, ATmega1284PR231 Datasheet - Page 114

no-image

ATmega1284PR231

Manufacturer Part Number
ATmega1284PR231
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATmega1284PR231

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
AES
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)
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
9.5.4
9.5.5
8111C–MCU Wireless–09/09
Bit
+0x11
Read/Write
Reset Value
Interrupt Handling
Register Description
7
R
0
Reserved
A supply voltage drop below the configured threshold value is indicated by an interrupt IRQ_7
(BAT_LOW), see
if BATMON_OK changes from 1 to 0.
No interrupt is generated when:
When the battery voltage is close to the programmed threshold voltage, noise or temporary volt-
age drops may generate unwanted interrupts. To avoid this:
Register 0x11 (BATMON):
This register configures the battery monitor to compare the supply voltage at pin 28 (EVDD) to
the threshold BATMON_VTH. Additionally the supply voltage status at pin 28 (EVDD) is accessi-
ble by reading register bit BATMON_OK according to the actual BATMON settings.
• Bit [7:6] - Reserved
• Bit 5 - BATMON_OK
The register bit BATMON_OK indicates the level of the external supply voltage with respect to
the programmed threshold BATMON_VTH.
Table 9-9.
• Bit 4 - BATMON_HR
BATMON_HR sets the range and resolution of the battery monitor.
Table 9-10.
Register Bit
BATMON_OK
Register Bit
BATMON_HR
• The battery voltage is under the default 1.8V threshold at power up
• A new threshold is set, which is still above the current supply voltage
• Disable the IRQ_7 (BAT_LOW) in register 0x0E (IRQ_MASK) and treat the battery as
• Set a lower threshold value.
6
R
0
(BATMON_OK was never 1), or
(BATMON_OK remains 0).
empty, or
BATMON_OK
5
R
0
Battery Monitor Status
Battery Monitor Range Selection
Section 6.6 “Interrupt Logic” on page
BATMON_HR
R/W
4
0
Value
Value
0
1
0
1
Description
The battery voltage is below the threshold.
The battery voltage is above the threshold.
Description
Enables the low range, see BATMON_VTH
Enables the high range, see BATMON_VTH
R/W
3
0
R/W
2
0
BATMON_VTH
29. Note that the interrupt is issued only
R/W
1
1
AT86RF231
R/W
0
0
BATMON
114

Related parts for ATmega1284PR231