Problems with Shutdown on STM32WB10
Hi,
I am creating a battery operated device using the STM32WB10 and I need to figure out how to make use of the claimed 30nA shutdown current consumption. (I realize this is at certain voltage and temperature ranges).
The best I have been able to achieve is 140µA with an absolute basic program like this
void main()
{
HAL_Init();
SystemClock_Configure();
HAL_Delay(1500); //to verifiy the current decreases
HAL_PWREx_EnterSHUTDOWNMode();
while(1);
}If I create a more productive application using the CPU2 and BLE, then I am not able to enter shutdown mode, and it seems the stop0/1 modes are also non functional.
My guess is that I need to stop the CPU2 or reset somehow in order to halt the BLE stack (running the full BLE stack from ST).
But how do I do that???
In essens I need to know the correct way to turn the BLE stack on and off so I am able to use the shutdown feature.
As a side note, all the documentation online states that there are 5 external wakeup pins on these devices (as on slide 23 on this
