Boost-INV 2 Click Board
Boost-INV 2 Click Board
The Boost-INV 2 Click Board™ is a very useful DC/DC voltage converter device, as can output both positive and negative voltage, boosted up to 15V and inverted to -15V, from a single fixed voltage input.
The input voltage can vary between 2.7V to 5.5V, making the Boost-INV 2 Click Board™ an ideal solution for powering devices with complex, split-rail power supply demands, using only a common battery. The Click Board™ is equipped with two additional D/A converters, which make it possible to digitally set the output voltage, via the SPI.
Software Support
We provide a demo application for the Boost-INV 2 Click Board™ on our Libstock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Library Description
The library initializes and defines SPI drivers along with the driver that gives an option to set desired positive and negative output voltages.
Key Functions
void boostinv2_enable()
- Functions for enable chip.void boostinv2_setPositiveVoltage( uint16_t voltage )
- Functions for set positive output voltage.void boostinv2_setNegativeVoltage( uint16_t voltage )
- Functions for set negative output voltage.
Example Description
The application is composed of three sections:
- System Initialization - Initializes the I2C module and sets RST, AN, CS and PWM pin as OUTPUT
- Application Initialization - Initializes Driver init and enable chip
- Application Task - (code snippet) - Changes the positive and negative output voltage. Positive output voltage goes from 5V to 15V with Negative output voltage goes from -5V to -15V
void applicationTask() { /* Positive output voltage */ boostinv2_setPositiveVoltage( _BOOSTINV2_POS_VOUT_6V ); Delay_ms( 3000 ); boostinv2_setPositiveVoltage( _BOOSTINV2_POS_VOUT_8V ); Delay_ms( 3000 ); boostinv2_setPositiveVoltage( _BOOSTINV2_POS_VOUT_12V ); Delay_ms( 3000 ); boostinv2_setPositiveVoltage( _BOOSTINV2_POS_VOUT_14V ); Delay_ms( 3000 ); boostinv2_setPositiveVoltage( _BOOSTINV2_POS_VOUT_12V ); Delay_ms( 3000 ); boostinv2_setPositiveVoltage( _BOOSTINV2_POS_VOUT_8V ); /* Negative output voltage */ boostinv2_setNegativeVoltage( _BOOSTINV2_NEG_VOUT_5V ); Delay_ms( 3000 ); boostinv2_setNegativeVoltage( _BOOSTINV2_NEG_VOUT_7V ); Delay_ms( 3000 ); boostinv2_setNegativeVoltage( _BOOSTINV2_NEG_VOUT_13V ); Delay_ms( 3000 ); boostinv2_setNegativeVoltage( _BOOSTINV2_NEG_VOUT_7V ); }
The full application code, and ready to use projects can be found on our Libstock page.
Other MikroElektronika libraries used in the example:
- SPI
Additional Notes and Information
Depending on the development board you are using, you may need 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. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
MIKROSDK
The Boost-INV 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.
Boost-INV 2 Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.