Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

RE: [lpc2000] RTC problem

2005-11-27 by Dan Beadle

Sounds like a software problem to me - 

 

On the Olimex board, are you starting up from zero in RAM? (Is there a
chance that something else starts up the RTC enable bit)

 

If identical software, running from flash, then it must be hardware.

 

I used the RTC on the '48 and it came up just fine.  You have to :

 

- Set PCONP.P09          RTC Power control bit.  (reset value in '48)

- CCR.P0 = 0                 // enter program mode

- CCR.P1 = 1                 // reset clock

- CCR.P1 = 0                 // allow to run

- CCR.P2 = 0;

- CCR.P3 = 0;                

. CCR.P4 = 1;                // ext osc...

- CCR.P0 = 1;                // Run.

 

You should be able to scope the RTC pins and see the signal 

 

 

 

  _____  

From: lpc2000@yahoogroups.com [mailto:lpc2000@yahoogroups.com] On Behalf
Of r_bottleneck
Sent: Sunday, November 27, 2005 7:30 AM
To: lpc2000@yahoogroups.com
Subject: [lpc2000] RTC problem

 

Hello,

I  have a stupid problem with the LPC2138 RTC.

The RTC works with my SW on an Olimex EVB perfectly . However, I
designed an own board and the same SW doesn't start the RTC .

I checked the new board several times it seems to be ok. Also I
checked several different  crystals, as well as different capacitors
without success.VBat is supplied correctly. Even if the RTC clock is
supplied by the internal clock, the RTC does not work.

Is there something I forgot to take care ?

Thanks for any help.









SPONSORED LINKS 

Microprocessor
<http://groups.yahoo.com/gads?t=ms&k=Microprocessor&w1=Microprocessor&w2
=Microcontrollers&w3=Pic+microcontrollers&w4=8051+microprocessor&c=4&s=9
3&.sig=tsVC-J9hJ5qyXg0WPR0l6g>  

Microcontrollers
<http://groups.yahoo.com/gads?t=ms&k=Microcontrollers&w1=Microprocessor&
w2=Microcontrollers&w3=Pic+microcontrollers&w4=8051+microprocessor&c=4&s
=93&.sig=DvJVNqC_pqRTm8Xq01nxwg>  

Pic microcontrollers
<http://groups.yahoo.com/gads?t=ms&k=Pic+microcontrollers&w1=Microproces
sor&w2=Microcontrollers&w3=Pic+microcontrollers&w4=8051+microprocessor&c
=4&s=93&.sig=TpkoX4KofDJ7c6LyBvUqVQ>  

8051 microprocessor
<http://groups.yahoo.com/gads?t=ms&k=8051+microprocessor&w1=Microprocess
or&w2=Microcontrollers&w3=Pic+microcontrollers&w4=8051+microprocessor&c=
4&s=93&.sig=1Ipf1Fjfbd_HVIlekkDP-A>  

 

 

 

  _____  

YAHOO! GROUPS LINKS 

 

*	 Visit your group "lpc2000
<http://groups.yahoo.com/group/lpc2000> " on the web.
	  
*	 To unsubscribe from this group, send an email to:
	 lpc2000-unsubscribe@yahoogroups.com
<mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe> 
	  
*	 Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> . 

 

  _____  



[Non-text portions of this message have been removed]

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.