2014 Microchip Technology Inc.
DS50002321A-page 15
2.3
EVALUATING THE APPLICATION
The best way to evaluate the MCP1632 Single-Cell Li-Ion Battery Charger Demo Board
is to examine the circuit and measure voltages and currents with a Digital Voltage Meter
(DVM) and probe the board with an oscilloscope.
Additional tools are necessary to evaluate some technical parameters of the board
(temperature of power components, ability to withstand surge voltage pulse on input,
EMI).
The firmware program in the PIC12F1822 can also be edited to modify the operation
of the application.
2.4
FIRMWARE DESCRIPTION
The PIC12F1822 comes pre-programmed with firmware to operate the system as
described above. The firmware structure is shown in Figure 2-2.
The main loop controls all the voltage and current regulating functions. The battery
charging state machine is only called every second and makes decisions based only
on the output voltage and current values. It sets the voltage and current limit, depend-
ing on the charging state.
FIGURE 2-2:
Library File Structure.
Main Program
Loop
Batterycharger.h
Hardware.h
Batterycharger.c
Hardware.c
LiCo.h
Содержание ARD00558
Страница 23: ...2014 Microchip Technology Inc DS50002321A page 23 A 3 BOARD TOP SILK...
Страница 25: ...2014 Microchip Technology Inc DS50002321A page 25 A 5 BOARD TOP COPPER...
Страница 27: ...2014 Microchip Technology Inc DS50002321A page 27 A 7 BOARD BOTTOM COPPER AND SILK...
Страница 31: ...2014 Microchip Technology Inc DS50002321A page 31 NOTES...