ATMEGA8HVD-4MX Atmel, ATMEGA8HVD-4MX Datasheet - Page 109

no-image

ATMEGA8HVD-4MX

Manufacturer Part Number
ATMEGA8HVD-4MX
Description
MCU AVR 8K FLASH 2.1-8V 4MHZ QFN
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheet

Specifications of ATMEGA8HVD-4MX

Core Processor
AVR
Core Size
8-Bit
Speed
4MHz
Peripherals
POR, WDT
Number Of I /o
5
Program Memory Size
8KB (4K x 16)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 2.4 V
Data Converters
A/D 1x10b
Oscillator Type
Internal
Operating Temperature
-20°C ~ 85°C
Package / Case
18-MLF® Exposed Pad (Staggered Leads), DFN
For Use With
ATSTK600 - DEV KIT FOR AVR/AVR32ATSTK500 - PROGRAMMER AVR STARTER KIT
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Connectivity
-
20.8.2
8052B–AVR–09/08
BPCR – Battery Protection Control Register
• Bit 1 – BPPLE: Battery Protection Parameter Lock Enable
• Bit 0 – BPPL: Battery Protection Parameter Lock
The BPCR, BPOCTR, BPSCTR, BPDOCD, BPCOCD and BPSCD Battery Protection regis-
ters can be locked from any further software updates. Once locked, these registers cannot be
accessed until the next hardware reset. This provides a safe method for protecting the regis-
ters from unintentional modification by software runaway. It is recommended that software
sets these registers shortly after reset, and then protect the registers from further updates.
To lock these registers, the following algorithm must be followed:
1. In the same operation, write a logic one to BPPLE and BPPL.
2. Within the next four clock cycles, in the same operation, write a logic zero to BPPLE
• Bit 7:6 – Res: Reserved Bits
These bits are reserved and will always read as zero.
• bit 5 – EPID: External Protection Input Disable
When this bit is set, the External Protection Input is disabled and any External Protection Input
will be ignored. Note that this bit overrides the GPIO functionallity in the External Protection
Input port. If not using the External Protection Input feature, it is recommended that this bit is
always set.
• Bit 4 – SCD: Short Circuit Protection Disable
When the SCD bit is set, the Short-circuit Protection is disabled. The Short-circuit Detection
will be disabled, and any Short-circuit condition will be ignored.
• Bit 3 – DOCD: Discharge Over-current Protection Disable
When the DOCD bit is set, the Discharge Over-current Protection is disabled. The Discharge
Over-current Detection will be disabled, and any Discharge Over-current condition will be
ignored.
• Bit 2 – COCD: Charge Over-current Protection Disable
When the COCD bit is set, the Charge Over-current Protection is disabled. The Charge Over-
current Detection will be disabled, and any Charge Over-current condition will be ignored.
• Bit 1:0 – Res: Reserved Bits
These bits are reserved and will always read as zero.
Note:
Bit
Read/Write
Initial Value
and a logic one to BPPL.
Due to synchronization of parameters between clock domains, a guard time of 3 ULP oscillator
cycles + 3 CPU clock cycles is required between each time the BPCR register is written. Any
writing to the BPCR register during this period will be ignored.
R
7
0
R
6
0
EPID
R/W
5
0
SCD
R/W
4
0
DOCD
R/W
3
0
ATmega4HVD/8HVD
COCD
R/W
2
0
R
1
0
-
R
0
0
-
BPCR
109

Related parts for ATMEGA8HVD-4MX