MCP1631RD-DCPC1 Microchip Technology, MCP1631RD-DCPC1 Datasheet - Page 19

REF DES BATT CHARG OR LED DRIVER

MCP1631RD-DCPC1

Manufacturer Part Number
MCP1631RD-DCPC1
Description
REF DES BATT CHARG OR LED DRIVER
Manufacturer
Microchip Technology

Specifications of MCP1631RD-DCPC1

Current - Output / Channel
700mA
Outputs And Type
1, Non-Isolated
Features
Firmware for Li-Ion, NiMH, and NiCd Battery Charger
Voltage - Input
3.5 ~ 16 V
Utilized Ic / Part
MCP1631HV, PIC16F616
Core Chip
MCP1631HV, PIC16F616
Topology
Parallel, Series
Output Current
1A
No. Of Outputs
1
Input Voltage
3.5V To 16V
Dimming Control Type
Analog
Kit Contents
Board
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Voltage - Output
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
© 2009 Microchip Technology Inc.
2.3.1.6
The MCP1631HV Digitally Controlled Programmable Current Source Reference
Design is able to show, using an oscilloscope, the system state. To use this feature,
connect the scope probe to test point TP1. Testpoint TP1 is output pin U2-8 of the
PIC16F616 microcontroller. There are nine status waveforms listed below. A pulse
stream of one to nine 10 µs pulses are generated at TP1 test point every one second
interval. The pulse stream indicates the current state of the system software. Note that
the first two states may complete immediately and thus may be difficult to capture on a
non-storage scope.
• 1 pulse - output power is switched ON
• 2 pulses - qualification charging
• 3 pulses - charging - NiMH / NiCd constant current mode
• 4 pulses - charging - NiMH / NiCd top off current mode
• 5 pulses - charging - Li-Ion constant current mode
• 6 pulses - charging - Li-Ion constant voltage mode
• 7 pulses - dimming - LED constant current mode
• 8 pulses - fault - overvoltage protection state
• 9 pulses - output power switched OFF (Standby)
2.3.1.7
To evaluate the board, the firmware package provides 3 hex files for the LED driver,
Li-Ion Battery Charger, and NiMH/NiCd Battery Charger. The board is factory
programmed with the LED driver firmware for 700 mA maximum current and 10:1
dimming (~70 mA/step). All parameters may be changed in firmware to the desired
value according to the output capability. The source code is commented extensively
and helps the user to define the board.
The header file,
system. The user may modify the definitions to change specific system parameters to
meet design goals.
mikroElektronika’s mikroC compiler was used to compile the source code and create
the hex files for downloading to the reference board. The mikroC compiler is available
at http://www.mikroe.com. The compiler is not included with the reference board kit.
Header J3 is provided for in-system circuit programming. A PICkit
be connected to J3 to program the reference board.
1. Connect the PICkit
2. Start the PICkit
3. Set Device to PIC16F616.
4. Erase the device.
5. Select “File” then “Import Hex” from the menu. Browse to the desired
6. Write the file.
7. The status window should indicate success or failure of the download.
firmware file to download.
VIEW THE STATE OF MCP1631HV DIGITALLY CONTROLLED
PROGRAMMABLE CURRENT SOURCE REFERENCE DESIGN
PROGRAMMING THE PIC16F616 MICROCONTROLLER
00234R1.h
TM
2 software.
TM
2 programmer to J3.
, contains the pre-processor definitions which define the
Installation and Operation
TM
2 programmer may
DS51798A-page 15
*.hex

Related parts for MCP1631RD-DCPC1