Our synchronous step-down DC-DC converter stands as a beacon of efficiency, ensuring precise voltage control and optimal power management for your applications, setting new standards in the industry.
A
A
Hardware Overview
How does it work?
Step Down 6 Click is based on the MPM54304, a quad-output power module from Monolithic Power Systems (MPS). This IC operates over a 4V to 16V input voltage range that can be supplied over the VIN screw terminal. It can step down input voltages as output voltages from 0.55V to 5.4V. The user can choose between straight or parallel output depending on the used output channels, from VOUT1 to VOUT4. Channels VOUT1 and VOUT2 can be paralleled to provide up to 6A of current, and channels VOUT3 and VOUT4 can be paralleled to provide up to 4A of current. The selection between quad and dual channel outputs can be set via the OUT SEL jumpers, where QUAD is selected by default. The user must set all five jumpers into the proper position for the output to work correctly. The MPM54304 has internal auto-compensation, which eliminates the need for an external compensation network, employs a constant-on-time (COT) control scheme to provide ultra-fast load transient responses, and minimizes
the required output capacitance. It also features a two-time, non-volatile programmable memory for storing register settings. Using the host MCU, users can set switching frequency, output voltage, over-current and over-voltage protection thresholds, power-on, power-off sequencing, and Forced PWM or Auto-PWM/PFM. Step Down 6 Click uses a standard 2-Wire I2C interface to communicate with the host MCU, supporting clock frequency up to 3.4MHz and ADDR SET jumper to set the I2C address. In addition to being enabled via the EN pin of the mikroBUS™ socket, the MPM54304 can also be enabled with the appearance of an external power supply by setting the EN SEL jumper to the appropriate position. For that to be done, the EN SEL jumper must be set to the EXT position, thus losing the enable function over the EN pin of the mikroBUS™ socket. The ADDR SET jumper actually uses the GPIO pin of the MPM54304, which can also be used for other purposes, as it is an input/output pin. This
pin can be configured as a Power-Good (PG) pin over the unpopulated IO header that will go to a LOW logic state if any enabled regulator falls below the under-voltage threshold or when all regulators are disabled. It can also be used in the Output Port mode, where it will output corresponding logic depending on the related register. Finally, it can also be used in the SYNCO mode, where it will become the sync output, allowing users to phase-shift the clock output to sync another device’s switching frequency. This Click board™ can be operated only with a 3.3V logic voltage level. The board must perform appropriate logic voltage level conversion before using MCUs with different logic levels. Also, this Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used as a reference for further development.
Features overview
Development board
EasyPIC v7 is the seventh generation of PIC development boards specially designed to develop embedded applications rapidly. It supports a wide range of 8-bit PIC microcontrollers from Microchip and has a broad set of unique functions, such as a powerful onboard mikroProg programmer and In-Circuit debugger over USB-B. The development board is well organized and designed so that the end-user has all the necessary elements in one place, such as switches, buttons, indicators, connectors, and others. With four different connectors for each port, EasyPIC v7 allows you to connect accessory boards, sensors, and custom electronics more efficiently than ever. Each part of
the EasyPIC v7 development board contains the components necessary for the most efficient operation of the same board. An integrated mikroProg, a fast USB 2.0 programmer with mikroICD hardware In-Circuit Debugger, offers many valuable programming/debugging options and seamless integration with the Mikroe software environment. Besides it also includes a clean and regulated power supply block for the development board. It can use various external power sources, including an external 12V power supply, 7-23V AC or 9-32V DC via DC connector/screw terminals, and a power source via the USB Type-B (USB-B) connector. Communication options such as
USB-UART and RS-232 are also included, alongside the well-established mikroBUS™ standard, three display options (7-segment, graphical, and character-based LCD), and several different DIP sockets. These sockets cover a wide range of 8-bit PIC MCUs, from PIC10F, PIC12F, PIC16F, PIC16Enh, PIC18F, PIC18FJ, and PIC18FK families. EasyPIC v7 is an integral part of the Mikroe ecosystem for rapid development. Natively supported by Mikroe software tools, it covers many aspects of prototyping and development thanks to a considerable number of different Click boards™ (over a thousand boards), the number of which is growing every day.
Microcontroller Overview
MCU Card / MCU
Architecture
PIC
MCU Memory (KB)
64
Silicon Vendor
Microchip
Pin count
40
RAM (Bytes)
3728
Used MCU Pins
mikroBUS™ mapper
Take a closer look
Click board™ Schematic
Step by step
Project assembly
Track your results in real time
Application Output
This Click board can be interfaced and monitored in two ways:
Application Output
- Use the "Application Output" window in Debug mode for real-time data monitoring. Set it up properly by following this tutorial.
UART Terminal
- Monitor data via the UART Terminal using a USB to UART converter. For detailed instructions, check out this tutorial.
Software Support
Library Description
This library contains API for Step Down 6 Click driver.
Key functions:
stepdown6_set_en_pin
- Step Down 6 set EN pin state function.stepdown6_write_reg
- Step Down 6 Register writing function.stepdown6_set_out_voltage
- Step Down 6 Set output voltage function.
Open Source
Code example
The complete application code and a ready-to-use project are available through the NECTO Studio Package Manager for direct installation in the NECTO Studio. The application code can also be found on the MIKROE GitHub account.
/*!
* @file main.c
* @brief Step Down 6 Click example
*
* # Description
* This library contains API for the Step Down 6 Click driver.
* This driver provides the functions to set the output voltage threshold.
*
* The demo application is composed of two sections :
*
* ## Application Init
* Initialization of I2C module and log UART.
* After driver initialization, default settings sets output voltage to 550 mV.
*
* ## Application Task
* This example demonstrates the use of the Step Down 6 Click board™ by changing
* output voltage every 5 seconds starting from 550 mV up to 1820 mV.
*
* @author Stefan Ilic
*
*/
#include "board.h"
#include "log.h"
#include "stepdown6.h"
static stepdown6_t stepdown6;
static log_t logger;
void application_init ( void )
{
log_cfg_t log_cfg; /**< Logger config object. */
stepdown6_cfg_t stepdown6_cfg; /**< Click config object. */
/**
* Logger initialization.
* Default baud rate: 115200
* Default log level: LOG_LEVEL_DEBUG
* @note If USB_UART_RX and USB_UART_TX
* are defined as HAL_PIN_NC, you will
* need to define them manually for log to work.
* See @b LOG_MAP_USB_UART macro definition for detailed explanation.
*/
LOG_MAP_USB_UART( log_cfg );
log_init( &logger, &log_cfg );
log_info( &logger, " Application Init " );
// Click initialization.
stepdown6_cfg_setup( &stepdown6_cfg );
STEPDOWN6_MAP_MIKROBUS( stepdown6_cfg, MIKROBUS_1 );
if ( I2C_MASTER_ERROR == stepdown6_init( &stepdown6, &stepdown6_cfg ) )
{
log_error( &logger, " Communication init." );
for ( ; ; );
}
if ( STEPDOWN6_ERROR == stepdown6_default_cfg ( &stepdown6 ) )
{
log_error( &logger, " Default configuration." );
for ( ; ; );
}
log_info( &logger, " Application Task " );
}
void application_task ( void )
{
err_t error_flag = STEPDOWN6_OK;
for ( uint16_t n_cnt = STEPDOWN6_MIN_VOUT_VAL; n_cnt <= STEPDOWN6_MAX_VOUT_VAL; n_cnt += STEPDOWN6_INCREMENT_VOUT_VAL )
{
error_flag |= stepdown6_set_out_voltage( &stepdown6, STEPDOWN6_SELECT_VOUT1, n_cnt );
error_flag |= stepdown6_set_out_voltage( &stepdown6, STEPDOWN6_SELECT_VOUT2, n_cnt );
error_flag |= stepdown6_set_out_voltage( &stepdown6, STEPDOWN6_SELECT_VOUT3, n_cnt );
error_flag |= stepdown6_set_out_voltage( &stepdown6, STEPDOWN6_SELECT_VOUT4, n_cnt );
log_printf( &logger, " Set voltage : %d mV \r\n", n_cnt );
Delay_ms( 5000 );
}
}
void main ( void )
{
application_init( );
for ( ; ; )
{
application_task( );
}
}
// ------------------------------------------------------------------------ END