Pcf8563p Rtc Trouble


Closed Thread
Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Jul 2007
    Location
    Bavaria
    Posts
    28


    Did you find this post helpful? Yes | No

    Default

    Hi Dan,

    i hope you got ahead with your code in the meantime.
    My project is a clock (who could guess it?) with electromechanic seven segment displays.
    The clock is running (1/2 hour behind by now) but the code for setting the time is still missing - as well as the buttons to be used for it.

    You don't have to initialize the pins you use for I2C, it is done by the i2cread/i2cwrite commands.

    I don't see what is causing the communication problems in your code - so i propose you check your hardware wiring.

    Best wishes,

    Ingo

  2. #2
    Join Date
    Jul 2007
    Posts
    38


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by inse View Post
    Hi Dan,

    i hope you got ahead with your code in the meantime.
    My project is a clock (who could guess it?) with electromechanic seven segment displays.
    The clock is running (1/2 hour behind by now) but the code for setting the time is still missing - as well as the buttons to be used for it.

    You don't have to initialize the pins you use for I2C, it is done by the i2cread/i2cwrite commands.

    I don't see what is causing the communication problems in your code - so i propose you check your hardware wiring.

    Best wishes,

    Ingo
    hey

    yer i got it working in the end, it turned out to be the 32.768 crystal i had, any way i swapped it out and it works ok now, apart from when it gets to say 9 seconds it skips to 16 but thats probably because i have no bcd conversions in my code?

    Dan

Similar Threads

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