buck19 2.1.0.0
|
Buck 19 Click is a compact add-on board that steps down the voltage from its input (supply) to its output (load). This board features the STPD01, a programmable synchronous buck converter from STMicroelectronics, providing power supply in applications following USB power delivery specifications. The STPD01 provides the desired voltage levels required by USB power delivery systems (USB PD 3.0) via I2C serial interface up to 60W output power, more precisely voltages in the range of 3V to 20V with a step of 20mV minimum, and currents from 0.1A to 3A with a minimum in steps of 50mA. It also offers advanced protection features such as overvoltage, overcurrent, and overtemperature detections.
We provide a library for the Buck 19 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 Buck 19 Click driver.
buck19_cfg_setup
Config Object Initialization function. buck19_init
Initialization function. buck19_default_cfg
Click Default Configuration function. buck19_write_register
This function writes a desired data to the selected register by using I2C serial interface. buck19_set_vout
This function sets the voltage output. buck19_set_ilimit
This function sets the current limit. This example demonstrates the use of Buck 19 click board by iterating through the entire output voltage range.
The demo application is composed of two sections :
Initializes the driver and performs the click default configuration.
Changes the output voltage every 3 seconds and displays on the USB UART the currently set voltage output value.
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. UART terminal is available in all MikroElektronika compilers.