Our design does not have (or need) a battery backup to keep OSD335x runnning. (VINBAT/BAT_VOLT is pulled to ground) However we would like to implement a battery powered RTC for time/date keeping during black-outs or power-downs. The OSD335x does have an internal RTC and a crystal connection (OSC1). Is it possible to power this RTC with an external button type battery in case of power down, so the RTC inside the SIP keeps working? (We will only be powering the RTC module, not the entire SIP.)
Alternatively, is it possible to disable the internal RTC and use an external RTC IC with IC2 (like this one https://www.nxp.com/docs/en/data-sheet/PCF8523.pdf). If we use this IC, how should we do it? Also, this IC has its own crystal connection, we should not be connecting the 32.746kHz crystal at OSC1, correct?
As a general note, what is the best strategy to still keep date/time in power-down situations with no internet connectivity?
Thank you for your response. I just wanted to clarify your suggestion #3. When you say keep the RTC subsystem of OSD335x ON, do you mean to enable RTC by doing the connections shown in Figure 7.2 and Figure 7.4 of the OSD335x C-SiP Family Datasheet (Rev3)? Eventhough we will be using the external RTC, you suggest we enable the internal RTC module, correct? If yes, will we also need to include a crystal at OSC1 or leave them floating? Any other things we need to do to not face RTC related bootup issues? Thanks.
Yes. The recommendation is to have the RTC subsystem turned ON in function as well as power. You will need to add an RTC crystal on OSC1 in order to enable the RTC subsystem.
I do find it weird that we disabling the RTC subsystem causes issues. This should probably be noted in your tutorials, because at the moment they clearly show a method to disable it. We will go ahead and do as you as and enable it to avoid any potential problems. Thank you for your response.