Pcf8563p Rtc Trouble


Results 1 to 8 of 8

Threaded View

  1. #3
    Join Date
    Jul 2007
    Posts
    38


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by inse View Post
    Hello Dan,

    I had started a project using the PCF8563 a bout a year ago (not yet finished).
    Without deeper analysing your code, I noticed, that you are using different addresses for read and write.
    PBP handles this for you, read/write always to the address $A2.
    You could also shorten your code by using multiple reads/writes like
    I2CRead data_pin,clk_pin,rtc_read,reg_seconds,[seconds, minutes, hours...]

    Regards,

    Ingo
    hi

    did you get the pcf8563 to work then ?

    in the datasheet it had different addresses for writing and reading so i just used them both in my code to be safe, ive changed a few things now i get 08:08:08 displayed i don't no we re those values come from, because there not the ones i'm writing to the registers

    confuuuuusion!
    Last edited by -Dan-; - 24th November 2007 at 00:06.

Similar Threads

  1. Low battery signal from an RTC
    By ardhuru in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 19th March 2008, 18:13
  2. PIC 16F877 I2C communications
    By sigmoideng in forum General
    Replies: 7
    Last Post: - 13th July 2007, 11:28
  3. Using RTC to generate long time delays
    By schlaray in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 3rd January 2007, 01:31
  4. Another RTC, DS1287
    By DavidK in forum Code Examples
    Replies: 0
    Last Post: - 12th December 2006, 18:07
  5. X1226 RTC - Help
    By charudatt in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 14th August 2006, 18:54

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