MPC555 RTC Question

"trailrunner23" <[email protected]>
Newsgroups gmane.comp.hardware.motorola.microcontrollers
Message-ID <[email protected]>
Wondering if anyone can explain something a little odd about the RTC.
I've got the RTC and PIT initialized to generate interrupts once per
second, and the DEC to generate interrupts once per millisecond. The
first RTC interrupt occurs as soon as I enable interrupts, but the
first PIT interrupt occurs very close to one second later. It doesn't
help if I explicitly acknowledge a (possibly pending) RTC interrupt
before enabling the interrupt. Anybody understand this? I want to
think of the RTC as the number of seconds that have elapsed since
boot, but it's always ahead by one second.

Thanks,

Joe





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/dN_tlB/TM
--------------------------------------------------------------------~-> 

-----------------------------------------------------------
To learn more about Freescale Microcontrollers, please visit
http://www.freescale.com/mcu


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/MPC500/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.