Datasheet

162
8024A–AVR–04/08
ATmega8HVA/16HVA
28. Operating Circuit
Figure 28-1. Operating Circuit Diagram, 2-cell.
Notes: 1. The series resistors on the SPI lines are required for In-System Programming and On-chip
Debug support. The value of the series resistor depends on the application. A value of 10k will
ensure that programming and debugging operates correctly, but it must be determined by the
end user that this does not affect the normal operation of the SPI interface.
2. PA1 should be connected to SGND when measuring V(RT
2
).
PA0 should be connected to SGND when measuring V(RT
1
).
3. It is recommended to connect CF1P, CF2N, and CF2P to GND.
RP
RP
Rsense
Rpi
Rni
RT2 RT1
AT m e g a8HVA/16HVA
VFET
+
-
PV2
PV1
NV
PI
NI
PA1/ADC1/SGND
PA0/ADC0/SGND
RESET
VREG
GND
RP
100
100
0.1uF
0.010
470
470
CREG
2.2 uF
VREFGNDVREF
0.1uF
VCC
BATT +
BATT -
Rcf
1k
Rdf
1k
OC OD BATT
Rbatt
1k
CF1N
CVCC
0.1 uF
470
0.1uF
Ci
CP
CP
R1
10K
CREF
1 uF
CRESET
0.1 uF
(SCK) PB1
(MISO) PB3
(MOSI) PB2
SPI-communication
(1)
(SS) PB0
PC0
Serial communication