2020-11-06 12:44 AM
I had an issue with a STM32F103RB connected to a poor Power Supply with slow Ramp-Up.
In this case, the CAN Peripheral was not correctly initialized.
After adding an external Voltage supervisor the Issue dissapeared.
My question: is it also possible to use the internal Voltage supervisor when i have connected the VBAT Pin to VDD?
The setting seem to be stored in the VBAT-Powered domain and therefore cleared after powering down vbat.
2020-11-06 01:35 AM
The 'F103 is an old design (within STM32), but there *is* a poweron reset circuitry built in. However, there's no provision to change the poweron reset level. See datasheet for "Power on/power down reset threshold".
While the supply voltage ramps up slowly, this reset releases at a relatively low voltage level (around 2.0V) and external circuits may not be already ready to work.
The Programmable voltage detector (PVD) as described in RM (and respective voltage levels documented DS) is an entirely "software" stuff, does not impact reset. However, you may want to utilize it - after poweron reset, using PVD, wait until it indicates that power supply is already high enough.
JW