Low Power on STM32WB without 32KHz Crystal
Greetings,
From what I've read of the Cube code and guidance in AN5289, we enter STM32WB low power states by putting the M4 into the low power state we want. If we need the M0 to continue to advertise, for example, we would configure it to do so and then put the M4 into low power.
I have two questions, related, to this use case.
1) Is this a correct understanding how how we are supposed to put the STM32WB into a low power state, e.g. stop2? Can we put the M4 into stop2 while waiting for a BLE connect event. When the event generates an interrupt, the M4 awakens and can handle to event. Does the M0 always go into low-power states? What triggers it?
Or, do we need to also send an explicit message to the M0 telling it we plan to go into low power? I haven't found any code doing this, but there is an SHCI opcode SHCI_OCF_C2_RADIO_ALLOW_LOW_POWER which is 0x6d. There doesn't seem to be an example that uses this code.
2) What will the M0 do when we are configured to use HSE for RF wakeup instead of LSE and put the M4 into a low-power state? I haven't found anything that explains this particular case. Will we get any power advantage from putting the M4 into STOP2 even if the M0 needs to keep somewhat active? What kind of power consumption should we expect?
Cheers
