Other Parts Discussed in Thread: SYSCONFIG
I have been working in other parts of the code, and totally leave the issue of the real time clock a side. Now I will try to restart with it.
In my hardware, I have a 48MHZ xtal reference: XRCGB48M000F4M00R0, I have changed in the sysConfig the Xosc Cap Array Delta to see if there was any change in the accuracy of the real time clock, but it was not changing, or the change was so small that I was not able to see it.
Also I was checking the value of SUBSECINC, and it is always the same value it never changes, and I do not know how can I see if my code is using this value or not, because I can not find where my code calls this function.
I have a device which needs to have a calendar, for this I use the function "Seconds_set" from Seconds.h. So when I need to check the calendar, i call "Seconds_get()". Is this option the right one to have a calendar?? Or should I use any other function or driver?