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

Low power problem with GPIO, I2C and SPI in nrf52

Hi all, we have a problem with a project based in nrf52832 and a custom board. The project is based in "ble_app_uart" example, and also we have the following sensors:

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

We are using I2C and SPI communications, all sensors are set in low power mode.

We are using the softdevice s132 with the SDK v13.

The problem is that we need a current consumption of 500uA more or less, but we have ~4.2mA in our custom board, we are using 'sd_app_evt_wait' in the power_manage and when we use System OFF, we have ~3.95mA in the development board, is too high, so we don't know what it happens.

I attach our main code to make easier any help, ask me if you need more details.

main.c

Thank you

EDIT: It's important to know that we had ~2mA in our custom board, but we had to change the PC with which we flash, and the same boards (development and custom) and same project, give us 4,2mA. We would like to have 2mA again, what could be the problem when we changed the PC?

EDIT2: Problem solved, it was a library problem, I was using some libraries that didn't work as we wanted. Thanks.

Related