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
  • After painfully debugging for a forthnite, I come to the following conclusion: 

    The flash is not the issue, it's the SPI. 

    In a test I wrote from the MOSI directly to the MISO, leaving the flash out of the equation, and it seems it's the SPI device that's causing the havoc. 

    As long as I leave the SPI pins alone, the current stays low (around 20µA after some power-optimizations), but as soon as I write to the SPI using spi_transcieve(), the power consumption goes through the roof. 

    Tron

Children
Related