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

Low power with peripherals, I2C and SPI in nrf52

Hi everybody, We are using a custom board based in nrf52832, BLE and a custom antenna, and we are finding some issues trying to use the device in low power mode. We are using I2C and SPI communications and we have the following set of sensors:

Accelerometer gyroscope and magnetometer (BMX055 from Bosch: datasheet) Ultraviolet sensor (SI1133 datasheet ) Gas gauge / battery monitor datasheet

We have tried putting the sensors in their low power mode, and our objective is having a mean current consumption of 500uA.

We are using the softdevice s132 with the SDK v13 and even trying to use System OFF / System ON to minimize the consumption. Using this we have achieved 1uA / 100uA in the development board, but the minimum current we have achieved in our custom board is of 5mA (non acceptable) We have discarded a hardware problem Here is our very basic code, where we have achieved the minimum power in the custom board. Any help would be appreciated!

main.c

Thanks in advance

Edit:

We have done the following:

  • Put the UV sensor in deep suspend mode. Now the system consumes 2mA~
  • We have tried to use SystemOFF instead of SystemON and the result is that the system consumes about 1,6~mA, (-300 - 400 uA), so it makes sense that the CPU is running correctly. What else could it be?
Parents
  • 5mA suggests that either the CPU or the radio is working hard. Both can be the result of a software failure I suppose. But how have you ruled out a hardware issue? Are you sure there are no shorts or bad solder joints etc. on your device?

    A typica software scenario is that your application asserts or hardfaults sending your code into an endless while loop for debugging or just resets your device over and over endlessly.

    Have you tried standard examples from the SDK? How is the current consumption then?

    I think you may have forgotten attach your code.

Reply
  • 5mA suggests that either the CPU or the radio is working hard. Both can be the result of a software failure I suppose. But how have you ruled out a hardware issue? Are you sure there are no shorts or bad solder joints etc. on your device?

    A typica software scenario is that your application asserts or hardfaults sending your code into an endless while loop for debugging or just resets your device over and over endlessly.

    Have you tried standard examples from the SDK? How is the current consumption then?

    I think you may have forgotten attach your code.

Children
No Data
Related