This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf9160 SPI power consumption

Hi

On my custom board, I have an external flash connected via SPI. . The nrf runs on mfw 1.1.0. 

Without activating the flash, I get an average current consumption of around 45 µA. As soon as i do a spi_transcieve(...) call, the power consumtion jumps up till 1,4 mA, and will not go down again during sleep. This current corresponds exactly to what I see if serial communication is enabled. I don't know if this is relevant or not. 

The flash is powered down, and should in a ready state draw around 25µA.

Yours, 

Tron

Parents Reply
  • I tested your application on the developer branch along with NCS v1.1.0.

    Try disabling the serial logging from mcuboot. It decreased the current consumption from 1.2mA to 85.8uA when I did it. It can be achieved by doing the following:

    • Add the following piece of code to your projects CMakeList.txt (nrftracker\CMakeLists.txt)

    set(mcuboot_CONF_FILE
    	prj.conf
        ${CMAKE_CURRENT_LIST_DIR}/mcuboot.conf
        )

    • Create the file nrftracker\mcuboot.conf with the following content:

    CONFIG_SERIAL=n

    • run west build -b nrf9160_pca10090ns
    • Check if CONFIG_SERIAL is present in \nrftracker\build\mcuboot\zephyr\include\generated\autoconf.h
      • If it is, then something went wrong
    • Run nrfjprog --eraseall 
    • Run west flash
    • Reset your chip and measure the current

    Best regards,

    Simon

Children
Related