Hi all, I just want to use RTC driver's error adjustment feature and find the examples below. Here my question, RTC run at 32768Hz thats okay yet how do I supposed to find the real cycle of the sub-clock in the runtime.
Any help will be appreciated.
Hello gkee,
Thanks for reaching out Renesas Community!
Please take a look on the thread below:
https://community.renesas.com/mcu-mpu/ra/f/forum/28576/rtc-calibration-on-r7fa4m1
where you can find an example, that describes how to use error adjustment.
Also, it uses GPT timers, in order to calculate the real period of your external crystal, used as sub-clock source.
Also, an another method to calculate your subclock period would be through an oscilloscope.
Hope it helps!
Regards,
AL_Renesas
Thanks for the answer.
Any feedback from your side?
If the previous example was helpful for you, could you please verify the response for the other members of the Community
Regards