Real Time Clock Flashcards
Main component of RTC
Oscillator
Which oscillator is used and why?
Quartz crystal oscillator with frequency 3.2768 kHz. easy to obtain 1 Hz using frequency divider, 2^15 is 32768. Above audible range
Components of RTC
Oscillator - frequency divider and control - square wave output - time and calendar register - alarms and control registers - I2C ; power supply, temperature sensor
How is error tuned in RTC
fâ = (f + ppm)/ 1 million
Role of temperature sensor
To get data related to change in frequency with respect to change in temperature
Methods of changing frequency
Comparing with estimated frequency - changing that particular count or distributing the change between a set of counts; using watchdog timer
How is watchdog timer used in RTC?
Watchdog time goes of from a fixed time and if the program does not stop it on a particular time it will reboot or take some triggered action. This checks the RTC for any malfunctioning
How is frequency changed in RTC?
Using load capacitor