TOP Contributors

  1. MIKROE (2652 codes)
  2. Alcides Ramos (351 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (136620 times)
  2. FAT32 Library (69826 times)
  3. Network Ethernet Library (55883 times)
  4. USB Device Library (46223 times)
  5. Network WiFi Library (41860 times)
  6. FT800 Library (41075 times)
  7. GSM click (28942 times)
  8. PID Library (26402 times)
  9. mikroSDK (26316 times)
  10. microSD click (25328 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 click

Rating:

1

Author: MIKROE

Last Updated: 2019-01-14

Package Version: 1.0.0.2

mikroSDK Library: 1.0.0.0

Category: Buck

Downloaded: 3873 times

Not followed.

License: MIT license  

BUCK click is a buck switching regulator that accepts a wide input voltage range of up to 40V and steps it down to 3.3V or 5V. The click carries the LT3976 40V, 5A, 2MHz step-down switching regulator with 3.3µA quiescent current.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Buck click" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Buck click" changes.

Do you want to report abuse regarding "Buck click".

  • mikroSDK Library 2.0.0.0
  • 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 click

BUCK click

Front and back view of the BUCK click board

View full image

Library Description

The library covers all the necessary functions to control Buck Click board. Buck click communicates with the target microcontroller over the following pins on the mikroBUS™ line: PWM, INT, RS, CS. This library contains drivers for soft reset, for enabling and disabling, for checking state of internal comparator, for setting A1 and A2 multiplexer and for setting the switching frequency function of LT3976 chip on Buck Click.

Key functions:

  • void buck_softReset() -Soft reset chip function.
  • void buck_enable() - Enable switch channel function.
  • void buck_switchFreq( uint8_t frequency ) - Switch the frequency function.

Examples description

The application is composed of the three sections :

  • System Initialization - Initializes GPIO and INT pin as input and CS, RST and PWM pins as output.
  • Application Initialization - Initialization driver enable's - GPIO, soft reset Buck click and start write log.
  • Application Task - (code snippet) This is a example which demonstrates the use of Buck Click board. Checks if it has reached the set output voltage and sets a different frequency to the LT3976 chip every 5 sec.
void applicationTask()
{   
    if ( buck_getPowerGood() ) 
    {
        mikrobus_logWrite( " Power good output voltage! ", _LOG_LINE );
    }
    
    Delay_ms( 1000 );
    mikrobus_logWrite( "----------------------------", _LOG_LINE ); 
    mikrobus_logWrite( " Switching frequency 400kHz ", _LOG_LINE );
    mikrobus_logWrite( "----------------------------", _LOG_LINE );
    buck_switchFreq( _BUCK_FREQ_400KHz );
    
    Delay_ms( 5000 );
    mikrobus_logWrite( " Switching frequency 800kHz ", _LOG_LINE );
    mikrobus_logWrite( "----------------------------", _LOG_LINE );
    buck_switchFreq( _BUCK_FREQ_800KHz );
    Delay_ms( 5000 );
}

Other mikroE Libraries used in the example:

  • GPIO
  • UART

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

Thermo 25 click

0

Thermo 25 Click is a compact add-on board that accurately measures temperature. This board features the TMP127-Q1, a high-precision digital temperature sensor from Texas Instruments. This SPI-configurable factory-calibrated temperature sensor has a high accuracy of 0.8°C, supporting an ambient temperature range from -55°C to 175°C. It features a 14-bit signed temperature resolution (0.03125 °C per LSB) while operating over a supply range.

[Learn More]

Button G click

1

Button G click is the simplest solution for adding a single pushbutton to your design. The button itself is transparent, 6.8mm in diameter and has a green LED backlight. When pressed, it sends an interrupt signal to the target board microcontroller. The backlight LED is controlled separately through the mikroBUSâ„¢ PWM pin.

[Learn More]

Boost 6 click

0

The Boost 6 Click is a Click board™ which features the TPS55332-Q1, a monolithic high-voltage switching regulator with integrated 3-A, 60-V power MOSFET.

[Learn More]