PIC and RTC DS1307 problem - hardware vs software ?


Results 1 to 15 of 15

Threaded View

  1. #7
    Join Date
    Nov 2004
    Posts
    25


    Did you find this post helpful? Yes | No

    Default Re: PIC and RTC DS1307 problem - hardware vs software ?

    Thanks Pimentel :- ) !

    But maybe i was not clear. I know what is the Brown-out Reset in the PIC and i use it.
    I tried some time ago, and turning off or on didn’t seem to make any difference.
    Unfortunately I still was getting these weird garbage data in RTC from time to time …
    BTW I am using a 18F4520 ( back in the old times with the 16F84 or even the 16F877 things were much more simple ;- )

    I thought that there were some hidden features in the DS1307 regarding the BOR also ;-) ….
    I also tried to make some kind of smart routine that recorded the RTC data in the PIC EEPROM each minute, and when detect the RTC data was corrupt and would program it with last valid info I had in the PIC EEPROM…the problem is that ~5 years from now I would probably kill my eeprom with all those write cycles ;-)

    Anyway, I am starting to think that Steve88 info is really what is happening with me .
    Maybe negative spikes, ( GND reference) / electrical noise is not well filtered .
    I will test it and update this topic as soon I ve more news.

    Thanks everyone!
    Last edited by jorge; - 8th April 2011 at 11:25.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts