buck3  2.0.0.0
Main Page

Buck 3 click

Buck 3 click is a very advanced synchronous step-down (buck) converter, which is designed to deliver noise and ripple-free voltage to highly sensitive applications, such as FPGA and high-performance DSP platforms.

click Product page


Click library

Software Support

We provide a library for the Buck3 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.

Library Description

This library contains API for Buck3 Click driver.

Standard key functions :

Example key functions :

Examples Description

Demo application checks the status of the device and the voltage.

The demo application is composed of two sections :

Application Init

Configuring clicks and log objects. Settings the click in the default configuration.

void application_init ( void )
{
log_cfg_t log_cfg;
// Logger initialization.
log_cfg.level = LOG_LEVEL_DEBUG;
LOG_MAP_USB_UART( log_cfg );
log_init( &logger, &log_cfg );
log_info( &logger, "---- Application Init ----" );
// Click initialization.
buck3_cfg_setup( &cfg );
BUCK3_MAP_MIKROBUS( cfg, MIKROBUS_1 );
buck3_init( &buck3, &cfg );
buck3_default_cfg( &buck3 );
log_info( &logger, "---- Buck 3 is activated ----" );
}

Application Task

Sequentialy, each one second, checks the status of the Buck 3 Click and if the overvoltage detected or device is under thermal shutdown it logs a message on the USBUART.

void application_task ( void )
{
uint8_t pg_state;
// Task implementation.
pg_state = buck3_get_power_good( &buck3 );
if ( pg_state == 0 )
{
log_info
(
&logger,
"---- Overvoltage or thermal shutdown detected ----"
);
}
Delay_1sec( );
}

Note

Open Drain Power Good Indicator, it is asserted low if output voltage is out of PGOOD threshold, Overvoltage or if the device is under thermal shutdown, EN shutdown or during soft start. Once the FB pin voltage is between 93% and 107% of the internal reference voltage (VREF) the PGOOD is pulled high.

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.