stepdown12
2.1.0.0
|
PRVIH_PAR_RECENICA_SA_PRODUCT_PAGE_DA_ISPRATE_CELINU
[click Product page](CLICK_PRODUCT_PAGE_LINK)
We provide a library for the Step Down 12 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 Step Down 12 Click driver.
stepdown12_cfg_setup
Config Object Initialization function. stepdown12_init
Initialization function. stepdown12_default_cfg
Click Default Configuration function. stepdown12_get_pg_pin
This function returns the power good (PG) pin logic state. stepdown12_set_vout
This function sets the voltage output by setting the digipot wiper resistance. stepdown12_enable_device
This function enables the device by setting the EN pin to high logic state. This example demonstrates the use of Step Down 12 click board by changing the output voltage every 3 seconds.
The demo application is composed of two sections :
Initializes the driver and performs the click default configuration.
Changes the output voltage every 3 seconds from MAX (5.5V) to MIN (1.05V) in steps of 0.5V
and displays the currently set voltage output value on the USB UART. It also monitors the power good fault indication.
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.