Intermediate
30 min

Transform your power with MIC2606 and TM4C123GH6PZ

Boost your performance!

Boost Click with Fusion for ARM v8

Published Jul 26, 2023

Click board™

Boost Click

Dev Board

Fusion for ARM v8

Compiler

NECTO Studio

MCU

TM4C123GH6PZ

Unlock the full potential of your following projects with our voltage-booster solution

A

A

Hardware Overview

How does it work?

Boost Click is based on the MIC2606, a 0.5A, 2MHz wide input range boost regulator with an integrated switch and Schottky diode from Microchip. Its FB (feedback) pin provides the control path to control the output. This FB pin is driven by an onboard DAC – MCP4921. This is a 2.7 – 5.5V, low-power, low DNL, 12-Bit Digital-to-Analog Converter (DAC) with an SPI interface. It provides high accuracy and low noise performance for

industrial applications. The output voltage is connected to an onboard ADC, the MCP3551, a 2.7V to 5.5V low-power, 22-bit delta-sigma analog-to-digital converter, through a voltage divider. The input voltage can be set to 5V from mikroBUS™ or 7-20V from an external DC source connected to the VIN screw terminal. The output voltage can be set up to 38V. The reference voltage for both the ADC and DAC is provided by MAX6106 – onboard

voltage reference. This Click board™ can operate with either 3.3V or 5V logic voltage levels selected via the VCCIO SEL jumper. This way, both 3.3V and 5V capable MCUs can use the communication lines properly. However, the 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.

Boost Click hardware overview image

Features overview

Development board

Fusion for ARM v8 is a development board specially designed for the needs of rapid development of embedded applications. It supports a wide range of microcontrollers, such as different ARM® Cortex®-M based MCUs regardless of their number of pins, and a broad set of unique functions, such as the first-ever embedded debugger/programmer over WiFi. The development board is well organized and designed so that the end-user has all the necessary elements, such as switches, buttons, indicators, connectors, and others, in one place. Thanks to innovative manufacturing technology, Fusion for ARM v8 provides a fluid and immersive working experience, allowing access anywhere and under any

circumstances at any time. Each part of the Fusion for ARM v8 development board contains the components necessary for the most efficient operation of the same board. An advanced integrated CODEGRIP programmer/debugger module offers many valuable programming/debugging options, including support for JTAG, SWD, and SWO Trace (Single Wire Output)), and seamless integration with the Mikroe software environment. Besides, it also includes a clean and regulated power supply module for the development board. It can use a wide range of external power sources, including a battery, an external 12V power supply, and a power source via the USB Type-C (USB-C) connector.

Communication options such as USB-UART, USB HOST/DEVICE, CAN (on the MCU card, if supported), and Ethernet is also included. In addition, it also has the well-established mikroBUS™ standard, a standardized socket for the MCU card (SiBRAIN standard), and two display options for the TFT board line of products and character-based LCD. Fusion for ARM v8 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.

Fusion for ARM v8 horizontal image

Microcontroller Overview

MCU Card / MCU

default

Type

8th Generation

Architecture

ARM Cortex-M4

MCU Memory (KB)

256

Silicon Vendor

Texas Instruments

Pin count

100

RAM (Bytes)

32768

Used MCU Pins

mikroBUS™ mapper

DAC Chip Select
PD2
AN
MIC2606 Enable
PH0
RST
ADC Chip Select
PF7
CS
SPI Clock
PK0
SCK
SPI Data OUT
PK2
MISO
SPI Data IN
PK3
MOSI
Power Supply
3.3V
3.3V
Ground
GND
GND
NC
NC
PWM
NC
NC
INT
NC
NC
TX
NC
NC
RX
NC
NC
SCL
NC
NC
SDA
Power Supply
5V
5V
Ground
GND
GND
1

Take a closer look

Schematic

Boost Click Schematic schematic

Step by step

Project assembly

Fusion for PIC v8 front image hardware assembly

Start by selecting your development board and Click board™. Begin with the Fusion for ARM v8 as your development board.

Fusion for PIC v8 front image hardware assembly
GNSS2 Click front image hardware assembly
SiBRAIN for PIC32MZ1024EFK144 front image hardware assembly
GNSS2 Click complete accessories setup image hardware assembly
v8 SiBRAIN Access MB 1 - upright/background hardware assembly
Necto image step 2 hardware assembly
Necto image step 3 hardware assembly
Necto image step 4 hardware assembly
NECTO Compiler Selection Step Image hardware assembly
NECTO Output Selection Step Image hardware assembly
Necto image step 6 hardware assembly
Necto image step 7 hardware assembly
Necto image step 8 hardware assembly
Necto image step 9 hardware assembly
Necto image step 10 hardware assembly
Necto PreFlash Image hardware assembly

Track your results in real time

Application Output via UART Mode

1. Once the code example is loaded, pressing the "FLASH" button initiates the build process, and programs it on the created setup.

2. After the programming is completed, click on the Tools icon in the upper-right panel, and select the UART Terminal.

3. After opening the UART Terminal tab, first check the baud rate setting in the Options menu (default is 115200). If this parameter is correct, activate the terminal by clicking the "CONNECT" button.

4. Now terminal status changes from Disconnected to Connected in green, and the data is displayed in the Received data field.

UART_Application_Output

Software Support

Library Description

This library contains API for Boost Click driver.

Key functions:

  • boost_write_byte - Generic write 14-bit data function

  • boost_read_byte - Generic read 22-bit of data function

  • boost_set_configuration - Set configuration function

Open Source

Code example

This example can be found in NECTO Studio. Feel free to download the code, or you can copy the code below.

/*!
 * \file 
 * \brief Boost Click example
 *
 * # Description
 * Boost click provides an adjustable output voltage through the onboard DAC that drives the FB 
 * pin of the MIC2606 to set desired output voltage.
 *
 * The demo application is composed of two sections :
 *
 * ## Application Init
 * Initializes SPI driver for serial communication and puts the device to power ON state.
 * Also, initializes logger module for message and results sending.
 *
 * ## Application Task
 * This is a example which demonstrates the use of Boost Click board.
 * Boost Click communicates with register via SPI by reading from MCP3551 chip and writing DAC value to the MCP4921 chip.
 * This example periodicaly increases and decreases voltage in range between 15 and 30 Volts.
 * All data logs write on usb uart for aproximetly every 1 sec.
 *
 *
 * \author Nemanja Medakovic
 *
 */
// ------------------------------------------------------------------- INCLUDES

#include "board.h"
#include "log.h"
#include "boost.h"

// ------------------------------------------------------------------ VARIABLES

static boost_t boost;
static log_t logger;

// ------------------------------------------------------ APPLICATION FUNCTIONS

void application_init ( void )
{
    log_cfg_t log_cfg;

    /** 
     * 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... ----" );

    boost_cfg_t boost_cfg;

    //  Click initialization.

    boost_cfg_setup( &boost_cfg );
    BOOST_MAP_MIKROBUS( boost_cfg, MIKROBUS_1 );

    if ( boost_init( &boost, &boost_cfg ) == BOOST_ERROR )
    {
        log_info( &logger, "---- Application Init Error. ----" );
        log_info( &logger, "---- Please, run program again... ----" );

        for ( ; ; );
    }

    log_info( &logger, "---- Application Init Done. ----" );

    boost_device_enable( &boost );

    log_info( &logger, "---- Application Running... ----\n" );
}

void application_task ( void )
{
    for ( uint16_t dac_value = 0; ; dac_value += 100 )
    {
        if ( boost_dac_write( &boost, dac_value ) == BOOST_ERROR )
        {
            break;
        }

        log_printf( &logger, " DAC value [12-bit] : %u\r\n", dac_value );
        Delay_ms( 1000 );

        log_printf( &logger, " VOUT value [V] : %.3f\r\n\n", boost_vout_read( &boost ) );
        Delay_ms( 1000 );
    }
}

void main ( void )
{
    application_init( );

    for ( ; ; )
    {
        application_task( );
    }
}


// ------------------------------------------------------------------------ END

Additional Support

Resources

Love this project?

'Buy This Kit' button takes you directly to the shopping cart where you can easily add or remove products.