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-10-26
Package Version: 1.0.0.0
mikroSDK Library: 1.0.0.0
Category: Buck
Downloaded: 4903 times
Not followed.
License: MIT license
3xBuck click is a triple step-down (buck) converter Click board. It features three independent output terminals that can provide 1.8V, 3.3V, and 5V with the combined current output up to 3A.
Library Description
The library initializes and defines the I2C bus driver and drivers that offer a choice for writing data in registers and reading data from registers. The library includes functions for set output voltage, enable and disable buck, configuration buck and read buck status.
Key functions:
void c3xbuck_enableBuck(uint8_t buck)
- Function for enable Buckvoid c3xbuck_setVoltage(uint8_t buck, uint8_t voltage)
- Function for set output voltagevoid c3xbuck_configurationBuck(uint8_t buck, uint8_t config)
- Function for configuration buckExamples description
The application is composed of the three sections :
void applicationTask()
{
c3xbuck_setVoltage(_C3XBUCK_SELECT_BUCK_1, _C3XBUCK_OUTPUT_VOLTAGE_1000mV);
c3xbuck_setVoltage(_C3XBUCK_SELECT_BUCK_2, _C3XBUCK_OUTPUT_VOLTAGE_1250mV);
c3xbuck_setVoltage(_C3XBUCK_SELECT_BUCK_3, _C3XBUCK_OUTPUT_VOLTAGE_1500mV);
Delay_ms( 5000 );
c3xbuck_setVoltage(_C3XBUCK_SELECT_BUCK_1, _C3XBUCK_BUCK_DEFAULT_OUTPUT_VOLTAGE);
c3xbuck_setVoltage(_C3XBUCK_SELECT_BUCK_2, _C3XBUCK_BUCK_DEFAULT_OUTPUT_VOLTAGE);
c3xbuck_setVoltage(_C3XBUCK_SELECT_BUCK_3, _C3XBUCK_BUCK_DEFAULT_OUTPUT_VOLTAGE);
Delay_ms( 5000 );
}
Other 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.
EXPAND 2 Click is an accessory board in mikroBUS form factor. It includes a 16-bit I/O expander MCP23017 with I²C clock speeds up to 10 MHz for higher throughput applications.
[Learn More]CapSense 2 Click is a compact add-on board that easily integrates projected capacitive touch into user's applications. This board features the CAP1114, a multi-channel capacitive touch sensor that takes human body capacitance as an input and directly provides the real-time sensor information via the I2C serial interface from Microchip. This board contains capacitive sensing elements, a 7-segment slider, two buttons, and four LED indicators that visually detect the activation on some of these parts. This Click board™ offers reliable and accurate sensing for any application that uses capacitive touch sensing functions.
[Learn More]DC Motor 25 Click is a compact add-on board with a brushed DC motor driver. This board features the A3908, a low-voltage bidirectional DC motor driver from Allegro Microsystems. The A3908 is rated for an operating voltage range compatible with mikroBUS™ power rails and output currents up to 500mA. The unique output full-bridge incorporates source-side linear operation to allow a constant voltage across the motor coil. Logic input pins are provided to control the motor direction of rotation, brake, and standby modes. It also has complete protection capabilities supporting robust and reliable operation.
[Learn More]You have unsaved changes. If you choose to leave all changes will be discarded.
Do you want to subscribe in order to receive notifications regarding "3 x Buck click" changes.
Do you want to unsubscribe in order to stop receiving notifications regarding "3 x Buck click" changes.
Do you want to report abuse regarding "3 x Buck click".