2020-10-11 03:31 PM
I am designing the application that uses both CAN interface and RTC. I noticed some weired behaviour that I need to fix somehow. Directly after upload the application starts and CAN working properly. With battery present (there is power on VBAT) if I bounce main power everything is fine, CAN initialises properly and working. However, if there is no power on VBAT (battery removed) and I bounce the main power, then startup time is very long (more then 3-4 seconds) and CAN communication is not working. If I disable RTC initialisation, then in the same scenario as described above (no battery) CAN is working properly.
Question is: how RTC is impacting CAN and why? How to overcome it?