Use your forum account to login.

LOGIN

TOP Contributors

  1. MikroElektronika Team (684 codes)
  2. Shawon Shahryiar (258 codes)
  3. Alcides Ramos Zambrano (168 codes)
  4. Dany (66 codes)
  5. S P (65 codes)
  6. MikroBUS.NET Team (35 codes)
  7. NART SCHINACKOW (34 codes)
  8. Roman Toropov (26 codes)
  9. FOURNET Olivier (25 codes)
  10. Alberto Trasimeni (25 codes)

Most Downloaded

  1. Timer Calculator (92121 times)
  2. FAT32 Library (48058 times)
  3. Network Ethernet Library (43898 times)
  4. USB Device Library (34134 times)
  5. Network WiFi Library (31551 times)
  6. FT800 Library (27037 times)
  7. GSM click (21335 times)
  8. PID Library (21187 times)
  9. microSD click - Example (17475 times)
  10. GSM 2 click (14345 times)
Libstock prefers package manager

Package Manager

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]

< Back
mikroSDK Library

BUCK 7 click

Rating:

5

Author: MikroElektronika Team

Last Updated: 2018-07-12

Category: Power supply

Downloaded: 650 times

Not followed.

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.

No Abuse Reported

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".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroBasic PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

mikroSDK Library Blog

Buck 7 click

Buck 7 click

Native view of the Buck 7 click board.

View full image
Buck 7 click

Buck 7 click

Front and back view of the Buck 7 click board.

View full image

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:

  • System Initialization - Initializes SPI module and set AN,RST,CS and PWM pin as OUTPUT
  • Application Initialization - Initializes Driver init, enable chip and set mode
  • Application Task - (code snippet) - Sets output voltage to 5V, 10V, 15V, 20V, 25V every 3 seconds. It is necessary to set the input voltage on 2.7V + maximum 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 );
}

mikroE Libraries used in the example:

  • SPI

Additional notes and information

Depending on the development board you are using, you may need USB UART clickUSB 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.

ALSO FROM THIS AUTHOR

IrDA2 click

0

IrDA2 click features the TFDU4101 infrared transceiver module as well as MCP2120 infrared encoder/decoder from Microchip connected with the 7.3728 MHz external crystal. The click is designed to run on either 3.3V or 5V power supply. It communicates with the target board via UART interface and the following mikroBUS™ pins: AN, RST, CS.

[Learn More]

PWM 2 click

5

PWM 2 click offers 48 independently controlled PWM channels, available over the onboard headers, perfectly suited for driving LEDs.

[Learn More]

Vacuum click

10

Vacuum click is an accurate pressure-sensor click board that is capable of measuring pressure values down to -115kPa. This click board™ utilizes a very precise and low thermal drift, absolute pressure-sensor from NXP, labeled as MPXV6115V.

[Learn More]