Skip to main content
Visitor II
June 30, 2006
Question

ST10F269 RTC PROBLEM !!!

  • June 30, 2006
  • 3 replies
  • 771 views
Posted on June 30, 2006 at 14:07

ST10F269 RTC PROBLEM !!!

    This topic has been closed for replies.

    3 replies

    pawel1Author
    Visitor II
    June 25, 2006
    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.

    Visitor II
    June 29, 2006
    Posted on June 29, 2006 at 06:16

    When using CAN2, the RTC regs gets corrupted!

    pawel1Author
    Visitor II
    June 29, 2006
    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