Buck 2 Click Board
Buck 2 Click Board
The Buck 2 Click Board™ is a powerful step down DC-DC switching regulator. It gives a high precision regulated voltage at its output and it can handle an ample amount of current. Buck 2 click is highly configurable - the output voltage, maximum current limiting, and the switching frequency parameters can be controlled via the IC pins routed to the mikroBUS™ socket, providing a simple and secure connection to the host MCU.
The input voltage can range from 4.5V to 19V and the output can be set to work in several discrete steps, ranging from 0.7V to 3.3V. Features, such as the wide range of input voltages, pin configurable working parameters, internal soft-start, thermal shutdown, hiccup mode short-circuit protection and high switching efficiency, make this device a perfect choice for any step-down application which demands reasonably high current and accurate voltage regulation with clean and ripple-free low voltage power supply - such as the embedded electronic devices, servers, routers, data storage devices, low power ICs and similar.
Software Support
We provide a library for the Buck 2 Click Board™ on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers and mikroSDK. The provided click library is mikroSDK standard compliant. The demo application can run on all the main MikroElektronika development boards.
Library Description
This library carries all necessary functions for controlling the Buck 2 Click Board™.
Key functions
void buck2_setMode(uint8_t mode)
- Sets up working mode
void buck2_setVOUT_3300mV()
- Sets up output voltage to 3.3 V
void buck2_setVOUT_2500mV()
- Sets up output voltage to 2.5 V
void buck2_setVOUT_1800mV()
- Sets up output voltage to 1.8 V
void buck2_setVOUT_1500mV()
- Sets up output voltage to 1.5 V
Example Description
The demo application is composed of three sections:
- System Initialization - Initializes CS pin, RST pin, PWM pin, AN pin as OUTPUT and INT pin as INPUT.
- Application Initialization - Initializes Driver init and settings chip mode as ACTIVE.
- Application Task - (code snippet) - Sets a different range of input voltages every 3 seconds and checks if it
has reached the set output voltage.
void applicationTask() { PG_State = buck2_getPowerGood(); if ( PG_State != 0 ) { mikrobus_logWrite("Power good output voltage", _LOG_LINE); } buck2_setVOUT_3300mV(); Delay_ms( 3000 ); buck2_setVOUT_2500mV(); Delay_ms( 3000 ); buck2_setVOUT_1800mV(); Delay_ms( 3000 ); buck2_setVOUT_1500mV(); Delay_ms( 3000 ); }
The full application code, and ready to use projects can be found on our LibStock page.
Other MikroElektronika libraries used in the example:
- UART
Additional Notes and Information
Depending on the development board you are using, you may need a 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 Buck 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.
Buck 2 Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.