Power Consumption Help with STM32wb55
Hello -
I have a custom pcb using the stm32wb55 and I have spending time optimizing the power consumption. My primary intentions with this PCB is to sample data around 1 Hz and send this data to html server app using BLE. I'm using the BLE_Sensor example as the basis of my current firmware. Seems like BLE_Sensor also includes some motion_server firmware that may be adding to the power consumption but I'm not sure.
Everything I have tried so far (I'll include links to what I have tried) brings my current consumption down to 74 mA. From what I am reading and observed in guides, that is WAY TOO HIGH!!!
I am trying to use a 3.7 V 110 mAh coin cell to operate the system for as long as possible, but right now it would be for a little over an hour.
I have tried setting the system clock to MHz, enable HAL_PWR_Ex_EnableLowPowerRunMode(), setting all unused pins as analog, but there is clearly something that is holding me back. from achieving minimal current consumption. PCC suggests that using Lowerpower run mode should average out to 32.17 uA of current consumption but I'm nowhere near that now.
Could really use some sage advice here. Thanks!
Resources I've looked at:
https://wiki.st.com/stm32mcu/wiki/Getting_started_with_PWR
Snippets of my current important firmware


