2025-02-25 8:23 PM
Hi. I'm developing a custom wireless board using STM32WB09TEF7TR microcontroller.
Currently, my microcontroller doesn't reset when the VDD supply is turned on. (Power-on-reset, PORRSTF bit)
The microcontroller can only be reset by pulling-down the reset pin.
Is there any possible reason that causes this kind of behavior?
2025-02-26 6:39 AM
Why do you think it doesn't reset when VDD is applied?
2025-02-26 7:09 AM
There are two pieces of evidence.
1. RCC -> CSR -> PORRSTF bit never becomes 1.
2. my coding is designed to start the BLE Advertisement when it is reset. and it doesn't start BLE when Vdd is turned on.
I'm using SMPS with a 10 uH inductor as the developer board did.
I'm investigating it because the previous circuit (STM32WB55VG6TR) used only 2.2 uH and there was no problem.
2025-03-25 2:25 AM
Hello @kkim6
Are you reading the PORRSTF bit by a direct reading of the RCC_CSR. If so, you will always have a 0. This register is mirrored at RAM location 0x20000010. In order to get actual register value user must read this RAM location. Direct register read always returns 0 (Note under the part 6.6.16 of the RM0505 Rev2).
Best Regards.
STTwo-32
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.