MikroElektronika
MCP73213 click
MCP73213 click
SKU:MIKROE-2575
Couldn't load pickup availability
Share
MCP73213 click carries the MCP73213 dual-cell Li-Ion/Li-Polymer battery charge management controller with input overvoltage protection from Microchip. The click is designed to run on either 3.3V or 5V power supply. It communicates with the target microcontroller over SPI.
Note: The click is designed to charge a dual-cell Li-Ion/Li-Polymer battery. The input voltage needs to be higher that the voltage of a dual-cell Li-Ion/Li-Polymer battery.
MCP73213 controller features
The MCP73213 is a highly integrated Li-Ion battery charge management controller.
The MCP73213 provides specific charge algorithms for dual-cell Li-Ion/Li-Polymer batteries to achieve optimal capacity and safety in the shortest charging time possible.
The absolute maximum voltage, up to 18V, allows the use of MCP73213 in harsh environments, such as low-cost wall wart or voltage spikes from plug/unplug.
An internal overvoltage protection (OVP) circuit monitors the input voltage and keeps the charger in shutdown mode when the input supply rises above the typical 13V OVP threshold. The OVP hysteresis is approximately 150 mV for the MCP73213 device.
How it works
First you need to connect the input voltage to the input screw terminal. Then to set the input voltage, because it needs to be larger than voltage of two series connected batteries for regular charging, (which means it needs to be >8V). We can change the charging current trough SPI interface.
Now just leave the batteries to charge, and when they are charged it will be signalized on the status LED.
Specifications
Type | Battery charger |
Applications | Portable Media players, digital camcorders, handheld devices, etc. |
MCU | MCP73213 |
Key Features | 13V Input Overvoltage Protection, Resistor Programmable Fast Charge Current: 130 mA-1100 mA, Elapse Safety Timer: 4 hr, 6 hr, 8 hr or Disable |
Interface | SPI |
Input Voltage | 3.3V or 5V |
Compatibility | mikroBUS |
Click board size | S (28.6 x 25.4 mm) |
Pinout diagram
This table shows how the pinout on MCP73213 click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Maximum ratings
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Input Voltage Range | 4 | 16 | V | |
Operating Supply Voltage | 4.2 | 13 | V | |
Fast Change Current Regulation | 130 | 1100 | A |
Programming
Code examples for MCP73213 click, written for MikroElektronika hardware and compilers are available on Libstock.
Code snippet
The following code snippet shows how to initialize the SPI interface, and then use it to set output current to 250mA.
01 void main() { 02 03 /*Sets chip select*/ 04 GPIO_Digital_Output (&GPIOD_BASE, _GPIO_PINMASK_13); 05 06 GPIO_Alternate_Function_Enable(&_GPIO_MODULE_SPI3_PC10_11_12); 07 /*Initializes SPI interface*/ 08 SPI3_Init_Advanced(_SPI_FPCLK_DIV256, _SPI_MASTER | _SPI_16_BIT | 09 _SPI_CLK_IDLE_LOW | _SPI_FIRST_CLK_EDGE_TRANSITION | _SPI_MSB_FIRST | 10 _SPI_SS_DISABLE | _SPI_SSM_ENABLE | _SPI_SSI_1, 11 &_GPIO_MODULE_SPI3_PC10_11_12); 12 13 SPI_Set_Active(SPI3_Read, SPI3_Write); 14 /*Sets chip select to inactive*/ 15 GPIOD_ODR.B13 = 1; 16 17 delay_ms(5000); 18 19 20 21 //5 kOhm, 250mA 22 GPIOD_ODR.B13 = 0; 23 Spi3_Write(0b00000000); 24 Spi3_Write(0b10000010); 25 GPIOD_ODR.B13 = 1; 26 delay_ms(5000); 27 }




New Products
-
Conductivity Calibration K 1.0 Set (4 pouches)
Vendor:Atlas ScientificRegular price Rs. 1,599.00Regular priceUnit price / perSold out -
Analog Discovery 3 Pro Bundle
Vendor:DigilentRegular price Rs. 42,569.00Regular priceUnit price / per -
Lighthouse swarm bundle - Crazyflie 2.1+ (250mAh batteries)
Vendor:BitcrazeRegular price Rs. 474,999.00Regular priceUnit price / perSold out -
Loco Swarm bundle - Crazyflie 2.1+ (250mAh batteries)
Vendor:BitcrazeRegular price Rs. 544,999.00Regular priceUnit price / perSold out -
Kopis X8 Cinelifter 5" Kit - Caged (Frame Kit)
Vendor:HolybroRegular price Rs. 28,199.00Regular priceUnit price / perSold out -
Sold out
Atlas Scientific i3 InterLink
Vendor:Atlas ScientificRegular price Rs. 6,349.00Regular priceUnit price / perSold out -
Sold out
PoE Injector
Vendor:LuxonisRegular price Rs. 2,099.00Regular priceUnit price / perSold out -
Sold out
1-Port VINT Hub Phidget
Vendor:PhidgetsRegular price Rs. 2,699.00Regular priceUnit price / perSold out -
ACS37220LEZATR-100B3 Current Sensor Large Carrier -100A to +100A, 3.3V
Vendor:POLOLURegular price Rs. 829.00Regular priceUnit price / perSold out -
CT433-HSWF50MR TMR Current Sensor Compact Carrier -50A to +50A, 3.3V
Vendor:POLOLURegular price Rs. 1,039.00Regular priceUnit price / perSold out -
A5984 Stepper Motor Driver Carrier, Adjustable Current, Blue Edition
Vendor:POLOLURegular price Rs. 409.00Regular priceUnit price / perSold out -
A5984 Stepper Motor Driver Carrier, Fixed 1A@5V / 660mA@3.3V, Blue Edition (Soldered Header Pins)
Vendor:POLOLURegular price Rs. 489.00Regular priceUnit price / perSold out -
A5984 Stepper Motor Driver Carrier, Fixed 500mA@5V / 330mA@3.3V (Soldered Header Pins)
Vendor:POLOLURegular price Rs. 469.00Regular priceUnit price / perSold out -
Sold out
T Connector Male-Female Pair
Vendor:POLOLURegular price Rs. 169.00Regular priceUnit price / perSold out -
Pololu Reverse Voltage Protector, 4-60V, 10A
Vendor:POLOLURegular price Rs. 159.00Regular priceUnit price / perSold out -
Pololu Reverse Voltage Protector, 4-60V, 12A
Vendor:POLOLURegular price Rs. 199.00Regular priceUnit price / perSold out -
Pololu Ideal Diode Reverse Voltage Protector, 4-60V, 10A
Vendor:POLOLURegular price Rs. 179.00Regular priceUnit price / perSold out -
Pololu Ideal Diode Reverse Voltage Protector, 4-60V, 12A
Vendor:POLOLURegular price Rs. 229.00Regular priceUnit price / perSold out -
Pololu Mini Plastic Gearmotor Bracket Pair - Tall
Vendor:POLOLURegular price Rs. 599.00Regular priceUnit price / perSold out -
Ribbon Cable with Pre-Crimped Terminals 10-Color M-F 6" (15 cm)
Vendor:POLOLURegular price Rs. 149.00Regular priceUnit price / perSold out -
Ribbon Cable with Pre-Crimped Terminals 10-Color M-F 12" (30 cm)
Vendor:POLOLURegular price Rs. 279.00Regular priceUnit price / perSold out -
Wires with Pre-Crimped Terminals 10-Pack M-F 6"
Vendor:POLOLURegular price Rs. 339.00Regular priceUnit price / perSold out -
Ribbon Cable Premium Jumper Wires 10-Color M-M 6" (15 cm)
Vendor:POLOLURegular price Rs. 209.00Regular priceUnit price / perSold out -
Ribbon Cable Premium Jumper Wires 10-Color F-F 6" (15 cm)
Vendor:POLOLURegular price Rs. 209.00Regular priceUnit price / perSold out -
Ribbon Cable Premium Jumper Wires 10-Color M-F 6" (15 cm)
Vendor:POLOLURegular price Rs. 209.00Regular priceUnit price / perSold out