boost4
2.0.0.0
|
Boost 4 click carries the TPS61230A, a high efficiency fully integrated synchronous boost converter from Texas Instruments. The click is designed to run on a 3.3V power supply.
We provide a library for the Boost4 Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly form compilers IDE(recommended way), or downloaded from our LibStock, or found on mikroE github account.
This library contains API for Boost4 Click driver.
void boost4_cfg_setup ( boost4_cfg_t *cfg );
BOOST4_RETVAL boost4_init ( boost4_t *ctx, boost4_cfg_t *cfg );
void boost4_generic_transfer ( boost4_t *ctx, spi_master_transfer_data_t *block );
void boost4_set_out_voltage ( boost4_t *ctx, uint16_t value );
void boost4_enable ( boost4_t *ctx, uint8_t state );
This example demonstrates the use of Boost 4 Click board.
The demo application is composed of two sections :
Initializes the driver and logger, and enables the click board.
Set the desired output voltage by cycling through a couple of predefined voltage values. All data are being logged on USB UART every 3 seconds.
Vout cannot be set to voltage below Vin. So in order to get all values at Vout exactly as it is set in this example, please provide 2.5V to Vin.
The full application code, and ready to use projects can be installed directly form compilers IDE(recommneded) or found on LibStock page or mikroE GitHub accaunt.
Other mikroE Libraries used in the example:
Additional notes and informations
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.