Connect with us

problems with RTC

Discussion in '8bit Microcontrollers' started by Günther Brunner, Jan 26, 2004.

Scroll to continue with content
  1. Hello,

    I have a problem with the realtime clock RTC-72423 which should be
    interfaced by a 68332 microcontroller (I know that is not an 8bit
    controller, but maybe this is a general problem...).

    The RTC is combined with the MCU via 4 data lines, 4 address lines, a
    chip select and a read and a write line.

    While reading from that RTC it happens, that it counts in
    unpredictable steps. Sometimes I get a time being 15 sec. greater than
    the previous time (interval reading, every 1 sec.) and sometimes the
    time counts in 7 sec. steps - in short: it seems to be a random
    However when I set a breakpoint in my RTC-read routine, the memory
    dump of the mapped RTC range shows the right values (every second is
    counting in 1 second steps).

    I don't know how to solve this problem. The support guy had no idea,

    Maybe one of you could help me...

    Thanks in advance.

  2. dont know

    dont know Guest

    When you read the RTC on the fly are you waiting at least for a
    ready-to-read state from the RTC? I dont think you can read the RTC
    until it is updated internally (ready_to_read).
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day