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.
Thanks for reaching out Renesas Community!
Please take a look on the thread below:
where you can find an example…
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!
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