wrong date with Due_RTC_Simple_Sample_oneline_time_and_date
Can you please check the date in the output of Due_RTC_Simple_Sample_oneline_time_and_date example? I always get Date: Mon 01.01.2007
I use RTC_clock rtc_clock(RC);
other question why XTAL doesn't work and what is this option exactly?
thanks
The Arduino Due has an internal RC for the Clock or/and an external crystal so if the option XTAL does not work your Due has no external crystal.
So you get Date: Mon 01.01.2007 this is the "normal" Date the Chips comes with. What Time shows up? Looks like the rtc_clock.set_clock(__DATE__, __TIME__); line does not work right. Did you use the sample as it is or did you change something?
RC is very inaccurate. I experienced 3 seconds delay within 30 seconds. Can you please send me a link about how I could install an XTAL? I've modified the XTAL to RC and the port speed, nothing more.