This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

LPC2378 RTC Corruption Problem

Hello,
I'm using a LPC2378 and I have a problem with RTC (32kHz oscillator).
I use RTC and I write continuosly time/data fields (year, month, dom, hour, min, sec) on a LCD (every program cycle I read RTC values from RTC memory). All is OK for lot of time: suddenly (also after many hours from starting) one of the fields of RTC (year, month, dom, hour, min or sec) is corrupted!
What should be the problem? Can be WDT based on RTC clock a problem? Someone else got the same problem?

Please help!

Luigi - Italy

  • It is really impossible to tell.
    You may have a stack overrun that overwrites one of the variables (but that is less likely given your description). Maybe it is merely a buffer overrun. You might be able to capture this happening if you disable the RTC and place a access break-point at the implicated memory locations.