lpcware

RTC Hours corruption

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 18, 2016 by lpcware
Content originally posted in LPCWare by GWS on Thu Mar 03 17:04:39 MST 2016
I have an LPC1768 running FreeRTOS/lwIP.
The RTC Hours reading becomes corrupted at random times, roughly once or twice per day.  The Minutes reading is always correct.

I put a data-breakpoint across the RTC memory space watching for writes.  The data-breakpoint does never triggers when Hours becomes corrupted, indicating that the RTC peripheral became corrupted spuriously, without a rogue software write.

Two different users reported a similar RTC problem on an LPC2378 in 2011 on the Keil forum: http://www.keil.com/forum/18413/rtc-problem-in-lpc2378/.  Unfortunately no clear solution was presented.

Has anyone seen this problem or have a solution for it?  Thank you for your help.

Outcomes