arduino / nicla-sense-me-fw

Arduino Nicla Sense ME resources (libraries, bootloader, host pc utilities)

Repository from Github https://github.comarduino/nicla-sense-me-fwRepository from Github https://github.comarduino/nicla-sense-me-fw

power consumption after 30 seconds

polldo opened this issue · comments

setup:

  • mbed at bcmi/NiclaI2Cshared hash: 80277435a11873708a1b493297b6555bb24bcd75
  • unisense library at pow+NiclaSysLib hash: 6dcc1fb
  • sketch: App.ino

description:
At power-up, after the bootloader, the power consumption is stable to 3.3 mA.
After 30 seconds the consumption raises to about 5 mA.
The problem is very likely related to: https://github.com/bcmi-labs/unisense-fw/blob/pow%2BNiclaSysLib/Arduino_BHY2/src/Arduino_BHY2.cpp#L36