STM32WB5x battery-powered BLE device - missing low power APIs?
Dear all,
we are trying to build a simple battery-powered BLE device. It should basically measure at intervals and advertise results only (minus the occasional update connection). With limited power resources we would expect to shut down both cores and have a 10 uA-ish power consumption, set aside the occasional advertisement- and rx-timeslots.
That said, we have code running on the Nucleo-WB and a custom baord with the STM32WBMMG but with surprisingly high power consumption*. To eliminate our code as a cause, running the BLE_Beacon sample consumes around 7mA average after disabling the blue LED.
Then, I enabled the CFG_LPM_SUPPORTED in app_conf.h resulting in 2.4 mA - right direction, but still a factor away from where things should be.
I then had a look at the aci_* API to interact with the BLE framework on the second core but did not find any (official) way to set CPU2 to sleep resp. wake it at advertisement interval times. As far as I understand the forum entries, the LL_CPU2 calls do control the second CPU but this will trigger unknown behavior in the BLE stack.
Is there a canocial way to tell CPU2 to: advertise, listen(x ms), sleep(y ms), repeat ?
Simon
* power measurement with the X-NUCLEO-LPM01A powering the Nucleo WB55 via JP3 at 3.3V
