Tableau à clic BATT-MAN 2
Tableau à clic BATT-MAN 2
La carte Click Board™ BATT-MAN 2 est une carte complémentaire compacte représentant une solution avancée de gestion de la batterie et de l'alimentation. Cette carte est équipée du MAX77654, un circuit intégré de gestion de l'alimentation (PMIC) à inducteur unique et à sorties multiples (SIMO) d'Analog Devices. Cette carte programmable I2C est équipée d'un régulateur buck-boost qui fournit trois rails d'alimentation programmables indépendamment à partir d'un seul inducteur. Elle dispose également d'une sortie LDO de 100 mA avec rejet d'ondulation pour l'audio et d'autres applications sensibles au bruit et d'un chargeur linéaire hautement configurable qui prend en charge une large gamme de capacités de batterie Li+ avec surveillance de la température de la batterie pour plus de sécurité (JEITA).
Le BATT-MAN 2 Click Board™ convient comme solution de charge de batterie et d'alimentation pour les applications à faible consommation où la taille et l'efficacité sont essentielles.
How Does The BATT-MAN 2 Click Board™ Work?
The BATT-MAN 2 Click Board™ uses the MAX77654, a highly-integrated battery charging and power management solution for low-power applications from Analog Devices. It features a single-inductor, multiple-output (SIMO) buck-boost regulator efficiently that provides three independently programmable power rails available on onboard terminals labelled as VSB0, VSB1, and VSB2. Also, it has one 100mA LDO output, labelled as VLDO, with ripple rejection for audio and other noise-sensitive applications. This LDO output can also be configured as a load switch to manage power consumption by disconnecting external blocks when not required. The LDO output can be activated/deactivated by populating the JP2 onboard jumper.
The MAX77654 also has an integrated highly-configurable linear charger that supports a wide range of Li+ battery capacities with a wide range of charge current and charger termination voltage options, featuring battery temperature monitoring for additional safety (JEITA). The charger feature is OFF when the CHG supply is invalid (supply in the range from 4.1V up to 7.25V), disabled, or with the fresh battery. In addition to all the output terminals on this board, another one is marked with VSYS, which is the system power output terminal. In addition to providing power to the system resources and the control logic of the device, VSYS is also designed for external use.
The BATT-MAN 2 Click Board™ communicates with MCU using the standard I2C 2-Wire interface for configuring and checking the device's status. Since the sensor for operation requires a 1.8V logic voltage level to work correctly, a small regulating LDO is used, the ADP160 from Analog Devices, providing a 1.8V out of mikroBUS™ rails. That's why the PCA9306 voltage-level translator is also featured. The I2C interface bus lines are routed to the dual bidirectional voltage-level translator, allowing this Click board™ to work with both 3.3V and 5V MCUs properly.
An onboard switch labelled as ENABLE has the primary purpose of generating a wake-up signal for the PMIC that turns ON the regulators by setting the switch to an appropriate position marked as 1 or 0. In addition, this Click board™ also has some additional features, such as a Reset routed to the RST pin on the mikroBUS™ socket used to hold the processor in a Reset state when the device is powered down.
It also uses an interrupt pin, the INT pin of the mikroBUS™ socket, to signal an essential change in device status, while the three additional LED indicators, red, yellow, and blue LEDs labelled as LED2, LED3, and LED4, can be used for optional user-configurable visual indication. Besides, this device includes an analog multiplexer (AMX), routed to the AN pin on the mikroBUS™ socket, that switches several internal voltage and current signals to an external node for monitoring with an external ADC.
The BATT-MAN 2 Click Board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use the communication lines properly. However, the Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used, as a reference, for further development.
SPECIFICATIONS
Type | Buck-Boost |
ApplicationsThe | The BATT-MAN 2 Click Board™ can be used as a battery charging and power supply solution for low-power applications where size and efficiency are critical |
On-board modules | MAX77654 - single inductor, multiple-output (SIMO) power management IC (PMIC) from Maxim Integrated, now part of Analog Devices |
Key Features | 3 x Buck-Boost outputs, 1 x LDO output, low power consumption, DC charging source, charger optimized for small battery size, flexible and configurable interface, analog MUX output for power monitoring, and more |
Interface | I2C |
Compatibility | mikroBUS |
Click board size | L (57.15 x 25.4 mm) |
Input Voltage | 3.3V or 5V,External |
PINOUT DIAGRAM
This table shows how the pinout of the BATT-MAN 2 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | Pin | Notes | ||||
---|---|---|---|---|---|---|---|
Analog Signal | AMX | 1 | AN | PWM | 16 | NC | |
Reset | RST | 2 | RST | INT | 15 | IRQ | Interrupt |
NC | 3 | CS | RX | 14 | NC | ||
NC | 4 | SCK | TX | 13 | NC | ||
NC | 5 | MISO | SCL | 12 | SCL | I2C Clock | |
NC | 6 | MOSI | SDA | 11 | SDA | I2C Data | |
Power Supply | 3.3V | 7 | 3.3V | 5V | 10 | 5V | Power Supply |
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
LD2-LD4 | LD2-LD4 | - | User-Configurable LED Indicators |
JP1 | VCC SEL | Left | Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
SW1 | ENABLE | Left | Enable Switch Selection 1/0: Left position 1, Right position 0 |
BATT-MAN 2 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage (VCC) | 3.3 | - | 5 | V |
Buck-Boost Channels Range (VSBx) | 0.8 | - | 5.5 | V |
LDO Channel Range (VLDO) | - | - | 100 | mA |
DC Charging Source Channel Range | 4.10 | - | 7.25 | V |
Fast-Charge Current Range (BATT) | 7.5 | - | 300 | mA |
Operating Temperature Range | -40 | +25 | +85 | °C |
Software Support
We provide a library for the BATT-MAN 2 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on Mikroe Github account.
Library Description
This library contains API for the BATT-MAN 2 Click Board™ driver.
Key functions
-
battman2_set_charger_enable
BATT-MAN 2 set charger enable function. -
battman2_set_charger_cfg
BATT-MAN 2 set charger configuration function. -
battman2_get_charger_cfg
BATT-MAN 2 get charger configuration function.
Example Description
This library contains API for the BATT-MAN 2 Click Board™ driver. The library initializes and defines the I2C bus drivers to write and read data from registers. The library also includes a function for configuring appropriate charge current, charge voltage, prequalification voltage, Buck, Buck-Boost and Linear regulator configuration, etc.
void application_task ( void )
{
#ifdef CHARGER
battman2_get_chg_status( &battman2, &chg_stat );
Delay_ms( 10 );
display_charger_status( );
Delay_ms( 1000 );
battman2_get_charger_cfg( &battman2, &chg_cfg );
log_printf( &logger, " Fast-charge constant current value : %.1f mArn", chg_cfg.chg_cc );
log_printf( &logger, " Minimum CHGIN Regulation Voltage : %.3f Vrn", chg_cfg.vchgin_min );
log_printf( &logger, " Battery Prequalific. Voltage Thld : %.3f Vrn", chg_cfg.chg_pq );
log_printf( &logger, " System Voltage Regulation : %.3f Vrn", chg_cfg.vsys_reg );
log_printf( &logger, " JEITA Ifast-chg-jeita : %.2f mArn", chg_cfg.chg_cc_jeita );
log_printf( &logger, " Fast-charge battery Vreg : %.3f Vrn", chg_cfg.chg_cv );
log_printf( &logger, " Vfast-chg-jeita : %.3f Vrn", chg_cfg.chg_cv_jeita );
log_printf( &logger, "-----------------------------------------------rn" );
Delay_ms( 1000 );
#endif
#ifdef BUCKBOOST
battman2_get_sbb_config( &battman2, sbb_sel, &sbb_cfg );
Delay_ms( 10 );
display_sbb_status( );
Delay_ms( 1000 );
#endif
}
The full application code, and ready to use projects can be installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on Mikroe Github account.
Other Mikroe Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.BATTMAN2
Additional Notes and Information
Depending on the development board you are using, you may need a USB UART Click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MikroElektronika compilers.
MIKROSDK
The BATT-MAN 2 Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
Software Support
We provide a library for the BATT-MAN 2 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on Mikroe Github account.
Library Description
This library contains API for the BATT-MAN 2 Click Board™ driver.
Key functions
-
battman2_set_charger_enable
BATT-MAN 2 set charger enable function. -
battman2_set_charger_cfg
BATT-MAN 2 set charger configuration function. -
battman2_get_charger_cfg
BATT-MAN 2 get charger configuration function.
Example Description
This library contains API for the BATT-MAN 2 Click Board™ driver. The library initializes and defines the I2C bus drivers to write and read data from registers. The library also includes a function for configuring appropriate charge current, charge voltage, prequalification voltage, Buck, Buck-Boost and Linear regulator configuration, etc.
void application_task ( void )
{
#ifdef CHARGER
battman2_get_chg_status( &battman2, &chg_stat );
Delay_ms( 10 );
display_charger_status( );
Delay_ms( 1000 );
battman2_get_charger_cfg( &battman2, &chg_cfg );
log_printf( &logger, " Fast-charge constant current value : %.1f mArn", chg_cfg.chg_cc );
log_printf( &logger, " Minimum CHGIN Regulation Voltage : %.3f Vrn", chg_cfg.vchgin_min );
log_printf( &logger, " Battery Prequalific. Voltage Thld : %.3f Vrn", chg_cfg.chg_pq );
log_printf( &logger, " System Voltage Regulation : %.3f Vrn", chg_cfg.vsys_reg );
log_printf( &logger, " JEITA Ifast-chg-jeita : %.2f mArn", chg_cfg.chg_cc_jeita );
log_printf( &logger, " Fast-charge battery Vreg : %.3f Vrn", chg_cfg.chg_cv );
log_printf( &logger, " Vfast-chg-jeita : %.3f Vrn", chg_cfg.chg_cv_jeita );
log_printf( &logger, "-----------------------------------------------rn" );
Delay_ms( 1000 );
#endif
#ifdef BUCKBOOST
battman2_get_sbb_config( &battman2, sbb_sel, &sbb_cfg );
Delay_ms( 10 );
display_sbb_status( );
Delay_ms( 1000 );
#endif
}
The full application code, and ready to use projects can be installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on Mikroe Github account.
Other Mikroe Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.BATTMAN2
Additional Notes and Information
Depending on the development board you are using, you may need a USB UART Click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MikroElektronika compilers.
MIKROSDK
The BATT-MAN 2 Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
Tableau à clic BATT-MAN 2
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.