Datasheet

MCP1631HV Multi-Chemistry Battery Charger Reference Design
DS51791A-page 36 © 2009 Microchip Technology Inc.
30. EE_CHEMISTRY_DEFAULT = LiIon
Default Chemistry.
31. EE_NUMBER_OF_CELLS_DEFAULT = 2
Default number of cells value.
32. EE_LION_CAL_VOLTAGE_DEFAULT = ((int)((float)(4200.00 /
BATTERY_MV_PER_BIT)))
Default Lithium Ion battery calibration value.
33. EE_CHARGE_TIMEOUT_DEFAULT = (5*60*60)
Maximum charging time.
NiMH = Use (C rating in mAh/Charge Current) + 1hr Topoff + 0.25hr pre-condition)
*60 sec * 60 min
Lithium Ion = Use about 2.5 * (C rating in mAh/Charge Current) * 60 sec * 60 min
34. OSCILLATOR_DUTY_CYCLE = 25
Oscillator duty cycle in percent. Must be in 1/16th intervals due to 4 bit counter.
35. RS232_DATALOGGING = ENABLED
Set to ENABLE for logging data out to USART port and PICkit
TM
Serial Analyzer.
Set to DISABLED to remove logging code.
36. THERMISTOR_SUPPORT = ENABLED
Set to ENABLE for thermistor support. Used for NiMH and NiCD charging.
Set to DISABLED to remove thermistor code.
37. LED_DRIVER_SUPPORT = ENABLED
Set to ENABLE for LED driver support.
Set to DISABLED to remove LED driver code.
38. LED_DRIVER_OVER_VOLTAGE = ((int)(3600.0 / BATTERY_MV_PER_BIT))
Set this value to the voltage in mV that is the absolute limit of each single LED.
The system will go into overvoltage shutdown mode if the output voltage exceeds
this value times the number of LED series connected cells being driven.
39. LED_DRIVER_CONDITION_CURRENT =
((int)(10.0/BATTERY_MA_PER_BIT))
LED conditioning (startup) current.
40. LED_DRIVER_CONDITION_VOLTAGE = ((int)(0.0/ BATTERY_MV_PER_BIT))
LED conditioning voltage is 0 volts. No conditioning required.
41. LED_DRIVER_CURRENT = ((int)(300.0 / BATTERY_MA_PER_BIT))
LED Driver current maximum value. This is the upper current limit value that the
driver will deliver to the LED output.
42. LED_DRIVER_OVTEMP_SETPOINT = ((float)(THERMISTOR_OHMS_45C))
Optional LED overtemperature limit may be used to limit LED temperature.
Set LED_DRIVER_OVTEMP_SETPOINT to one of the Thermistor Ohms
definitions for the desired shutdown temperature.
43. MAX_LED_CELLS = 2
Maximum number of 1W LED cells in series that will be driven by the driver
output.