Skip to main content
pawel1
Associate
Jun 30, 2006 12:07 PM UTC
Question

ST10F269 RTC PROBLEM !!!

Posted on June 30, 2006 at 14:07

ST10F269 RTC PROBLEM !!!

This topic has been closed for replies.

3 replies

pawel1
pawel1Author
Associate
Jun 25, 2006 11:53 AM UTC
Posted on June 25, 2006 at 13:53

Occasionally the RTCL RTCH register has decreases by a fixed amount (4096 or 16384). What is this??? Any suggestions? Thanks.

thomaskobler9
Associate II
Jun 29, 2006 4:16 AM UTC
Posted on June 29, 2006 at 06:16

When using CAN2, the RTC regs gets corrupted!

pawel1
pawel1Author
Associate
Jun 29, 2006 10:20 AM UTC
Posted on June 29, 2006 at 12:20

When using CAN2, the RTC regs gets corrupted!

I don’t use CAN2….

Are you observing this problem randomly?

Yes.

Could you fix when you are observing exactly this problem?

Yes.

How are you detecting the RTCH decreased content?

I read value from RTCL RTCH every 1 sec.

I suspect the following points:

- What's the RTC basic clock frequency? May be you are not spying the RTCH register in real time.

I have external clock 11.0592 MHz and I init RTCPH RTCPL regs.

- Are you updating RTC registers in your code?

Yes. If occasionally the RTCL RTCH register has decreases, I fixed it.

- May be, you are unintentionally updating RTC registers?

Neila, please… :)

Regards,

Pawel