TOP Contributors

  1. MIKROE (2762 codes)
  2. Alcides Ramos (374 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (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 (139254 times)
  2. FAT32 Library (71751 times)
  3. Network Ethernet Library (57122 times)
  4. USB Device Library (47430 times)
  5. Network WiFi Library (43082 times)
  6. FT800 Library (42403 times)
  7. GSM click (29835 times)
  8. mikroSDK (28078 times)
  9. PID Library (26885 times)
  10. microSD click (26198 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

e Fuse 3 Click

Rating:

0

Author: MIKROE

Last Updated: 2024-10-31

Package Version: 2.1.0.12

mikroSDK Library: 2.0.0.0

Category: Power Switch

Downloaded: 128 times

Not followed.

License: MIT license  

eFuse 3 Click is a compact add-on board that contains an electronic eFuse. This board features the NIS6150, a resettable fuse that can significantly enhance the reliability of a USB application from both catastrophic and shutdown failures from ON Semiconductor. It is designed to buffer the load device from the excessive input voltage, which can damage sensitive circuits and protect the input side from reverse currents. It includes an over-voltage clamp circuit that limits the output voltage during transients but doesn’t shut the unit down, allowing the load circuit to continue its operation.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "e Fuse 3 Click" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "e Fuse 3 Click" changes.

Do you want to report abuse regarding "e Fuse 3 Click".

  • Information
  • Comments (0)

mikroSDK Library Blog


e Fuse 3 Click

eFuse 3 Click is a compact add-on board that contains an electronic eFuse. This board features the NIS6150, a resettable fuse that can significantly enhance the reliability of a USB application from both catastrophic and shutdown failures from ON Semiconductor. It is designed to buffer the load device from the excessive input voltage, which can damage sensitive circuits and protect the input side from reverse currents. It includes an over-voltage clamp circuit that limits the output voltage during transients but doesn’t shut the unit down, allowing the load circuit to continue its operation.

efuse3_click.png

Click Product page


Click library

  • Author : Nenad Filipovic
  • Date : Feb 2021.
  • Type : SPI type

Software Support

We provide a library for the eFuse3 Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.

Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on mikroE github account.

Library Description

This library contains API for eFuse3 Click driver.

Standard key functions :

  • efuse3_cfg_setup Config Object Initialization function.

    void efuse3_cfg_setup ( efuse3_cfg_t *cfg );
  • efuse3_init Initialization function.

    EFUSE3_RETVAL efuse3_init ( efuse3_t *ctx, efuse3_cfg_t *cfg );
  • efuse3_default_cfg Click Default Configuration function.

    void efuse3_default_cfg ( efuse3_t *ctx );

Example key functions :

  • efuse3_get_current e Fuse 3 get current function.

    err_t efuse3_get_current ( efuse3_t *ctx, float *current );
  • efuse3_get_flag e Fuse 3 get flag function.

    uint8_t efuse3_get_flag ( efuse3_t *ctx );
  • efuse3_reset e Fuse 3 reset function.

    void efuse3_reset ( efuse3_t *ctx );

Example Description

This library contains API for the eFuse 3 Click driver. The library contains drivers to enable/disable the device, for reading ADC voltage, overflow status, output and current value [ A ].

The demo application is composed of two sections :

Application Init

Initializes SPI driver and set default configuration.


void application_init ( void ) {
    log_cfg_t log_cfg;        /**< Logger config object. */
    efuse3_cfg_t efuse3_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.

    efuse3_cfg_setup( &efuse3_cfg );
    EFUSE3_MAP_MIKROBUS( efuse3_cfg, MIKROBUS_1 );
    err_t init_flag  = efuse3_init( &efuse3, &efuse3_cfg );
    if ( init_flag == SPI_MASTER_ERROR ) {
        log_error( &logger, " Application Init Error. " );
        log_info( &logger, " Please, run program again... " );

        for ( ; ; );
    }

    efuse3_default_cfg ( &efuse3 );
    log_info( &logger, " Application Task " );
    log_printf( &logger, "---------------------------\r\n" );
    Delay_ms ( 100 );
}

Application Task

This is an example that demonstrates the use of the eFuse 3 Click board. Read and display device status information and current value [ A ]. The eFuse 3 includes an overvoltage clamp the circuit that limits the output voltage during transients but does not shut the unit down, thereby allowing the load circuit to continue its operation. The Electronic Fuse is to limit current and current limit Current limit ( 0.1 A - 1.8 A ) depends on the choice of resistor wired on the Rlimit ( 1 Ohm - 15 Ohm ) connector. For example, for Rlimit resistance of 1 Ohm, current limit is 1 A ( 3.5 Ohm - 0.5 A, 7 Ohm - 0.25 A ). Read details from the ON Semiconductor NIS6150 datasheets.
Results are being sent to the Usart Terminal where you can track their changes.


void application_task ( void ) {
    log_printf( &logger, " Status  :" );    

    if ( efuse3_get_flag( &efuse3 ) == EFUSE3_FLAG_NORMAL_OPERATION ) {
        log_printf( &logger, " Normal operation \r\n" );
    } else {
        log_printf( &logger, " Device OFF \r\n" );

        if ( overflow_status == EFUSE3_OVERFLOW_HIGH ) {
            log_printf( &logger, " Overflow high in the analog input voltage.\r\n" );    
        } else if ( overflow_status == EFUSE3_OVERFLOW_LOW ) {
            log_printf( &logger, " Overflow low in the analog input voltage.\r\n" ); 
        }

        efuse3_reset( &efuse3 );
        Delay_ms ( 1000 );
    }

    log_printf( &logger, "- - - - - - - - - - - - - - \r\n" );
    efuse3_get_current( &efuse3, &current );
    log_printf( &logger, " Current : %.5f A\r\n", current );
    log_printf( &logger, "---------------------------\r\n" );
    Delay_ms ( 1000 );
    Delay_ms ( 1000 );
}

The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on mikroE github account.

Other mikroE Libraries used in the example:

  • MikroSDK.Board
  • MikroSDK.Log
  • Click.eFuse3

Additional notes and informations

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.


ALSO FROM THIS AUTHOR

Temp-Log 2 click

5

Temp-Log click 2 is a precise ambient temperature measurement device, equipped with the additional non-volatile (EEPROM) memory, which can be used to permanently store system configuration and log application specific or user preference data.

[Learn More]

Cap Touch 4 Click

0

Cap Touch 4 Click is a compact add-on board for wake-on-touch and activation applications. This board features the IQS211B, a single-channel capacitive controller from Azoteq, featuring ProxSense® technology for highly sensitive self-capacitance measurements. The board includes a defined circular touch-sensing area, signal conditioning for parasitic capacitance, and a low-power Sleep mode with wake-up functionality, ensuring efficient energy consumption. It communicates via the I2C interface with a fixed address of 0x47, operates at 3.3V logic, and features the new Click Snap for added flexibility.

[Learn More]

Solar Energy 2 Click

0

Solar Energy 2 Click is a compact add-on board that can recharge a battery by harvesting the solar power of the Sun or by other means. This board features the EM8500, a power management controller with an energy harvesting interface from EM Microelectronic. The controller is specifically designed for efficient harvesting over various DC sources such as photovoltaic (solar) or thermal electric generators (TEG). It can recharge the connected LiPo battery or supercapacitor (or even a conventional capacitor). In addition, the EM8500 can use the same battery as a power source for powering the connected system.

[Learn More]