Other Parts Discussed in Thread: TMP1075
Hi all,
We have a cc1310 based mesh network with mains-connected and non-mains-connected devices.
The battery powered devices use a 32.768kHz crystal as LFXOSC and for RTC trimming, we use a TMP1075 to read the temperature.
The mains connected devices have 2 crystals, the same 32.768kHz and a 24MHz one (no temperature sensor available)
While no low-power was necessary, only the 24MHz was being used, however, we've been detecting some power failures.
We can detect said failures and wanted to switch to the 32.768kHz crystal so we can last through the outage (We have a low capacity battery to power the device for a while), but since we have no temperature sensor, we can't compensate for the frequency drift to keep the RTC correct this way.
To solve the problem, we were thinking of using the 24MHz oscillator to help trim the 32kHz clock.
Is there a ti way of doing this? Using a 24MHz HFXOSC to trim RTC clock while power is available. Turning the HFXOSC off when there's no power detected