c3xbuck
2.0.0.0
|
3xBuck click is a triple step-down (buck) converter Click boardâ„¢. It features three independent output terminals that can provide 1.8V, 3.3V, and 5V with the combined current output up to 3A.
We provide a library for the 3xBuck 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 3xBuck Click driver.
void c3xbuck_cfg_setup ( c3xbuck_cfg_t *cfg );
C3XBUCK_RETVAL c3xbuck_init ( c3xbuck_t *ctx, c3xbuck_cfg_t *cfg );
void c3xbuck_default_cfg ( c3xbuck_t *ctx );
void c3xbuck_enable_buck ( c3xbuck_t *ctx, uint8_t buck );
void c3xbuck_disable_buck ( c3xbuck_t *ctx, uint8_t buck );
void c3xbuck_set_voltage ( c3xbuck_t *ctx, uint8_t buck, uint8_t voltage );
This example demonstrates the use of the 3 x Buck Click Board.
The demo application is composed of two sections :
Initializes the driver and performs the click default configuration.
Alternates between predefined and default values for the Bucks output and logs the current set values on the USB UART.
The default output voltage on Buck 1 is 1800mV, Buck 2 is 3300mV, and Buck 3 is 5000mV. Configurable output voltage on all Bucks ranges from 680mV to 1950mV.
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.