buck16 2.0.0.0
|
Buck 16 Click is a compact add-on board that contains a DC-DC power converter that steps down the voltage from its input to its output. This board features the TPS62912, a high-efficiency, low noise, and low ripple current-mode synchronous buck converter from Texas Instruments.
We provide a library for the Buck16 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 from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
This library contains API for Buck16 Click driver.
buck16_cfg_setup
Config Object Initialization function. buck16_init
Initialization function. buck16_enable_output
Enable/Disable voltage output. buck16_set_potentiometer
Set potentiometer resistivity. buck16_set_output
Set output voltage. This example showcases ability of the device to
control voltage output of device. Output voltage can range from 800 to 5500 depending of VIN. By default it will go from 800 to 3300 VIN==VCC.
The demo application is composed of two sections :
Initialization of communication modules (SPI, UART)
and additional pin for enabling output and sets it to high.
Sets voltage output first to 900mV then to 2500 mV.
Then disables and enables output by toggling pin. In the end sets output value to 1500mV.
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
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.