RTC on LPC812

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

RTC on LPC812

1,001 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by teekaytk on Mon Feb 11 16:01:33 MST 2013
dear all

I am converting from PIC so I am not very sure what would be the best way to implement a real time clock in LPC 812. I'll have a 32khz external oscillator producing a 32khz square wave. When working with PIC all I had to do was connect it to one of the clk inputs to timer and then I could use it as interrupt every 32K cycles (one second). After the interrupt had been dealt with the PIC went to sleep so saved me a lot of power.

Can Something similar be done in LPC. I may have a GPS signal from time to time that I may be able to use to reset the clock if it has drifted a bit..

Thanks for your help.
0 Kudos
Reply
2 Replies

944 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by teekaytk on Mon Feb 11 16:49:42 MST 2013
good idea..it may increase the product cost a bit but may make life easier at development time
thanks
0 Kudos
Reply

944 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Mon Feb 11 16:21:26 MST 2013
Of course you can keep your LPC busy with 32k/sec Interrupts :rolleyes:
But you could also invest 1€ in good old MCP79410 with real RTC and 1 sec output :)
0 Kudos
Reply