lpc1768 RTC Can't Set time but oscillator seems ok

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

lpc1768 RTC Can't Set time but oscillator seems ok

1,057 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by internav on Mon Feb 09 16:32:01 MST 2015
lpc1768 revA  Can't set the time, it just keeps changing.  The oscillator, OSCF flag is not set.  Configured  RTC oscillator output on pin P1.27 and seems stable on scope and correct frequency.  I have 2 other pcbs and have no problem.   Bad CPU?  Noise on power?
Labels (1)
0 Kudos
Reply
2 Replies

1,026 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Tue Feb 10 16:31:45 MST 2015

Quote: internav
...it just keeps changing...



Test mode  :quest:
0 Kudos
Reply

1,026 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by embd02161991 on Tue Feb 10 15:56:14 MST 2015
Hi,

Have you used the RTC example available in LPCOpen ?
http://www.lpcware.com/content/nxpfile/lpcopen-software-development-platform-lpc17xx-packages

Please also check the load capacitors used.
http://www.lpcware.com/content/faq/how-calculate-value-crystal-load-capacitors

Thanks,
NXP Technical Support
0 Kudos
Reply