DS1307 not running?


Results 1 to 19 of 19

Threaded View

  1. #6
    Join Date
    May 2013
    Location
    australia
    Posts
    2,680


    Did you find this post helpful? Yes | No

    Default Re: DS1307 not running?

    the ds1307 has 8 registers for the rtc function addressed from 0 to 0x07
    the control reg address is 0x07 bits 7 and 4 control the sqwe , if you only use the time keeping function the control reg can be ignored
    to set the time you start at register address 0 (sec min hours ......)
    to read just minutes start from address 1 etc
    pbp will set bit 0 of the device address ($d0 in this case) as required (at least pbp3 will not sure about pbp2xx)

    the ram goes from 0x08 to 0x3f trying to write or read from regs $d0 or $d1 will not have meaning full results
    Last edited by richard; - 30th May 2014 at 14:44. Reason: added ram info

Similar Threads

  1. Replies: 8
    Last Post: - 28th January 2014, 15:21
  2. using DS1307
    By Scampy in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 2nd December 2013, 11:01
  3. 18F4550 not running
    By comwarrior in forum General
    Replies: 6
    Last Post: - 1st January 2011, 02:07
  4. Cant get my PIC running
    By Viberer in forum Off Topic
    Replies: 13
    Last Post: - 29th August 2008, 21:07

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