Buck 7 Click Board
Buck 7 Click Board
The Buck 7 Click Board™ 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. Buck 7 Click Board™ accepts a wide voltage range on its input - from 5V to 35V. The output voltage may be adjusted via the SPI interface, in the range from 3.3V to approximately 90% of the input voltage.
The Buck 7 Click Board™ utilizes the MAX17504, an integrated high efficiency, synchronous step-down DC-DC converter with internal compensation, from Maxim Integrated. In addition, to allow digital control of the output voltage, the MCP4921, a 12-bit D/A converter with SPI Interface is used on the feedback loop.
Software Support
We provide a demo application for the Buck 7 Click Board™ on our Libstock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Library Description
The library initializes and defines the SPI bus driver. The library includes functions for enabling the IC, setting up the output voltage, as well as the functions for selecting the operating mode (PWM, PFM or DCM).
Key functions :
void buck7_setOutputVoltage(uint16_t voltage)
- Function for setting up the output voltage
void buck7_enable()
- Function for chip enable
void buck7_setMode(uint8_t mode)
- Function for the operating mode selection
Example Description
The application is composed of three sections:
- System Initialization - Initializes SPI module and set AN, CS and PWM pin as OUTPUT
- Application Initialization - Initializes Driver, chip enable and mode selection
- Application Task - (code snippet) - Sets output voltage to 5V, 10V, 15V, 20V, 25V every 3 seconds. It is necessary to provide input voltage which is 2.7V above the programmed output voltage
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 ); }
The full application code and ready to use projects can be found on our LibStock page.
mikroE Libraries used in the example:
- SPI
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.
MIKROSDK
The Buck 7 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 7 Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.