current consumption due to SPI FLASH on DA14531 module

I see extended sleep current consumption near 1,2uA on USB basic development  kit, but only when disconnect FLASH after boot (by DIP's). When the flash is still connected, the current is near 24uA. How it looks on DA14531 module? I saw in some docummentation, that SPI FLASH is disconnected after boot. So is it hardware or software disconnected in module? 

The basic question is what extended sleep current is on DA14531 module? 1,2uA (like on dev kit with DIP1-5 OFF) or 24uA (like on dev kit with DIP1-5 ON)?

Parents
  • Hi JackDialog,

    Thank you for your online forum question and your interest in our DA14531 products.

    You can find information on DA14531 module's power consumption in the datasheet

    https://www.renesas.com/eu/en/document/dst/da14531-module-datasheet?language=en&r=1601921 

    pages 10, 11 on Device Characteristics. As can be seen in the table 



    The supply current should be between 1.7->2.1 uA when in extended sleep mode.

    The module's flash can be powered down via software, same for the USB kit's flash. You can use the spi_flash_power_down() api for this purpose. You might also find the following section of the peripheral drivers tutorial on spi flash

    http://lpccs-docs.renesas.com/da145xx_tutorial_sdk6_peripherals/da14531_spi_flash.html# 

    useful.

    Best regards,
    AA_Renesas

  • Thank You fro fast response.

    In iBeacon example I see there is flash power down

    void user_app_on_init(void)
    {
        /* If we have booted from flash then it will still be in active mode, power down to 
             reduce current consumption. */
        (void)spi_flash_power_down();	
        
        #if defined (__DA14531__) && defined (TX_POWER_2d5Bm)
                /* Set output power to maximum value (+2.5dBm) */
                rf_pa_pwr_set(RF_TX_PWR_LVL_PLUS_2d5);
        #endif
    
        default_app_on_init();
    }

    I measured currents one more time and have:

    9uA with connected and powered down FLASH (earlier I saw 24uA due to connecting FLASH ON-THE-FLY while program running, now changed DIP's before powering and have 9uA)

    1,2uA with disconnected FLASH (disabling DIP's after boot).

    So, if DA14531 module has SPI FLASH connected in the same manner as USB kit, how can I obtain near 2uA? Is it possible?

  • Hi JackDialog,

    Could you please navigate to file spi_flash.c and make the following modification to function spi_flash_power_down

    int8_t spi_flash_power_down(void)
    {
        SPI_FLASH_ENABLE_POWER_PIN();
    
        // Check if SPI Flash is ready
        int8_t status = spi_flash_is_busy();
    	status = spi_flash_is_busy();
        if (status != SPI_FLASH_ERR_OK)
        {
            return status;							
        }
    		
        spi_set_bitmode(SPI_MODE_8BIT);
        spi_transaction(SPI_FLASH_OP_DP);
    
        return SPI_FLASH_ERR_OK;
    }

    rebuild the ibeacon project and measure the current consumption again (with enabled DIPs for the flash)?

    Please let us know with your results.

    Best regards,
    AA_Renesas

Reply
  • Hi JackDialog,

    Could you please navigate to file spi_flash.c and make the following modification to function spi_flash_power_down

    int8_t spi_flash_power_down(void)
    {
        SPI_FLASH_ENABLE_POWER_PIN();
    
        // Check if SPI Flash is ready
        int8_t status = spi_flash_is_busy();
    	status = spi_flash_is_busy();
        if (status != SPI_FLASH_ERR_OK)
        {
            return status;							
        }
    		
        spi_set_bitmode(SPI_MODE_8BIT);
        spi_transaction(SPI_FLASH_OP_DP);
    
        return SPI_FLASH_ERR_OK;
    }

    rebuild the ibeacon project and measure the current consumption again (with enabled DIPs for the flash)?

    Please let us know with your results.

    Best regards,
    AA_Renesas

Children