2022-08-09 03:41 AM
Hi,
we have an STM32F27ZI with VDD at 3.6V.
We connected by mistake PDR_ON to GND while we drive the NRST with an external voltage monitor as in the picture.
reset circuit to NRSTPower upPower down
Yellow -> 3.6, Purple -> Reset, Green-> PDR_ON
In addition, we also use VBAT to keep the RTC running and the BKPRAM on.
What consequence can it have?
So far we haven't experienced any "wrong", RTC keeps working as well as BKPRAM.
Only recently we had a case where in one our product, after a possible power off, the MCU could not boot anymore. We manage to boot the MCU again only flashing a new FW using the ST internal bootloader.
Thank you!
2022-08-10 05:02 AM
What do you mean by PCR_ON?
Regards
/Peter
2022-08-10 05:11 AM
Sorry I meant PDR_ON, I correct it in the post
Thanks
Stefano
2022-08-11 07:05 AM
The data sheet of the STM32F427 mentions two important details:
[3.21] When PDR_ON pin is not connected to VDD (Internal Reset OFF), the VBAT functionality is no more available and VBAT pin should be connected to VDD.
[3.17.2] PDR_ON controls the internal power reset circuitry, i.e. for PDR_ON = GND this section applies:
Internal reset OFF
This feature is available only on packages featuring the PDR_ON pin. The internal power-on reset (POR) / power-down reset (PDR) circuitry is disabled through the PDR_ON pin. An external power supply supervisor should monitor VDD and should maintain the device in reset mode [...]
As a consequence, you can work with PDR_ON=GND, but then you no longer have backup functionality via VBAT, so that if VDD fails, the backup domain is not buffered and the data in the backup RAM and in the RTC are lost.
You should also carefully check the function of your external reset module to see if it meets the requirements stated in the above data sheet, section 3.17.2.
If the problem is resolved, please mark this thread as answered by selecting Select as best under your preferred answer. This will help other users find that answer faster.
Good luck!
/Peter
2022-08-11 08:17 AM
Unfortunately, backup RAM and RTC is not lost when PDR_ON = GND and VBAT is connected to 3V coin cell battery and the system has no power. RTC keeps the time when the board is not powered. This is one of the reason why we didn't realize before our wrong connection of PDR_ON.
Would you be able to explain why it works even if the datasheet says otherwise and what would be the possible malfunctions of the system?