MCP1630 LOW-COST BATTERY
CHARGER USER’S GUIDE
©
2005 Microchip Technology Inc.
DS51555A-page 19
Appendix C. Evaluation Board Firmware
C.1
DEVICE FIRMWARE
For the latest copy of the MCP1630 Low-Cost Battery Charger User’s Guide firmware,
visit our web site at www.microchip.com.
FIGURE C-1:
Firmware Flowchart.
Power-Up
Initialize:
Ports, Clocks, ADC,
PWM, and Interrupts
Is battery
present?
Trickle Charge:
Turn on LED,
Start PWM,
Current = 200 mA
Fast Charge:
Reset Timers
Control Current to
Maintain 4.2V,
Max. Current = 2A
Temperature Fault:
Suspend Charge,
Flash LED
Timer
expired?
Is battery
present?
Is battery
> 3V?
Is Battery
present?
Is Current
< 100 mA?
Is Battery
> 4.0V?
Yes
No
Timer
expired?
No
No
No
Yes
No
No
Yes
No
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Charge Fault:
Terminate Charge
,
Flash LED
Temp. Out
of Range?
No
Is battery
present?
Yes
No
Temp. Out
of Range?
Yes
Temp. Out
of Range?
No
No
Charge Complete:
Terminate Charge
,
Turn off LED
Is Battery
present?
No
Yes
Temperature Fault:
Suspend Charge,
Flash LED
Temp. Out
of Range?
Yes
No
Содержание MCP1630 NiMH
Страница 1: ... 2005 Microchip Technology Inc DS51555A MCP1630 Low Cost Li Ion Battery Charger User s Guide ...
Страница 4: ...MCP1630 Low Cost Battery Charger User s Guide DS51555A page iv 2004 Microchip Technology Inc NOTES ...
Страница 14: ...MCP1630 Low Cost Battery Charger User s Guide DS51555A page 10 2005 Microchip Technology Inc NOTES ...
Страница 19: ...Schematic and Layouts 2005 Microchip Technology Inc DS51555A page 15 A 5 BOARD TOP LAYER Scale 2 1 ...
Страница 22: ...MCP1630 Low Cost Battery Charger User s Guide DS51555A page 18 2005 Microchip Technology Inc NOTES ...