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 uses of Boost 4 Click board to set the desired output voltage.
The demo application is composed of two sections :
Initializes devices driver and starts write log.
This is a example which demonstrates the use of Boost 4 Click board. Boost 4 Click communicates with register via SPI by write value to the TPS61230A chip. This example shows how to set the desired output voltage, by cycling through a couple of predefined voltage values. All data logs write on usb uart for aproximetly every 3 sec.
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.