We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]
Rating:
Author: MIKROE
Last Updated: 2018-07-12
Package Version: 1.0.0.0
mikroSDK Library: 1.0.0.0
Category: Buck
Downloaded: 4171 times
Not followed.
License: MIT license
Buck 7 click is a high-efficiency buck (step-down) DC-DC converter, which can provide digitally adjusted step-down voltage on its output while delivering up to 3.5A of current.
Do you want to subscribe in order to receive notifications regarding "BUCK 7 click" changes.
Do you want to unsubscribe in order to stop receiving notifications regarding "BUCK 7 click" changes.
Do you want to report abuse regarding "BUCK 7 click".
Library Description
The library initializes and defines the SPI bus driver. The library includes function for sets output voltage and functions for enable chip. The user also has the function for sets work mode.
Key functions :
void buck7_setOutputVoltage(uint16_t voltage)
- Function for set output voltage
void buck7_enable()
- Function for enable chip
void buck7_setMode(uint8_t mode)
- Function for set chip mode
Example description
The application is composed of three sections:
void applicationTask()
{
buck7_setOutputVoltage( _BUCK7_OUT_VOLTAGE_5V );
Delay_ms( 3000 );
buck7_setOutputVoltage( _BUCK7_OUT_VOLTAGE_10V );
Delay_ms( 3000 );
buck7_setOutputVoltage( _BUCK7_OUT_VOLTAGE_15V );
Delay_ms( 3000 );
buck7_setOutputVoltage( _BUCK7_OUT_VOLTAGE_20V );
Delay_ms( 3000 );
buck7_setOutputVoltage( _BUCK7_OUT_VOLTAGE_25V );
Delay_ms( 3000 );
buck7_setOutputVoltage( _BUCK7_OUT_VOLTAGE_20V );
Delay_ms( 3000 );
buck7_setOutputVoltage( _BUCK7_OUT_VOLTAGE_15V );
Delay_ms( 3000 );
buck7_setOutputVoltage( 0x0BB8 ); /* 10 V */
Delay_ms( 3000 );
}
mikroE Libraries used in the example:
Additional notes and information
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.