How to use RTC with battery backup in a 32 pin package?
Hi, I did never ask in this forum but used STM32 MCUs for years. Allways I use 48+ pin parts and all work like a charm. I'm very happy with the family and did stop to use other Cortex brands years ago.
In 2019 I did work in a project that did involves 2k units and use STM32F042K6T6. All working ok, but to overcome the future chips shortage I bought in excess of units to use in the next project that implies the use of RTC calendar and backup registers. COVID and other issues delayed the project until last month that have had the time to start it. When I was finishing the design, last week I notice that parts with less than 36 pins din't have VBat.
Datasheet announces RTC backuped with VBat as a feature of the entire family and NOTHING say's about "in packages less than 48 pins this function it's not available". When I check with other stm32F devices in 32 or 20 pin packages the same occurs, NO Vbat.
Exist any alternative to overcome this issue? I'm not really comfortable buying a lot of more expensive parts only to have the battery backuped RTC that is announced for all the packages in the datasheet. By the way, what it's the sense of have a full featured RTC even with backup registers if I never can use it when VDD is disconnected? I need to reprogram the device every time that power is off?
Thanks in advance and sorry for my bad english