I2C RTC Problem with Pic18f46k22


Closed Thread
Results 1 to 11 of 11

Hybrid View

  1. #1
    Join Date
    Oct 2009
    Posts
    583


    Did you find this post helpful? Yes | No

    Default Re: I2C RTC Problem with Pic18f46k22

    I too use the Ds1307 in a few of my projects, most of which are based on an 18F4580. These are running at 40Mhz (10 Mhz xtal with OSC set to 40 and HS_PLL in the config), and on occasion these would either display 10:10 for time and date regardless of being either breadboarded or on a plug in module for the Easypic development board. I often found that changing the 37 khz crystal resolved the issue, or connecting a LED and suitable resistor between the SQW pin and GND so it pulsed at 1 sec intervals would somehow cause the chip to communicate to the PIC

  2. #2
    Join Date
    Feb 2012
    Posts
    64


    Did you find this post helpful? Yes | No

    Default Re: I2C RTC Problem with Pic18f46k22

    I haven't tried changing the crystal. I will give that a try tomorrow.

    Quote Originally Posted by Scampy View Post
    I too use the Ds1307 in a few of my projects, most of which are based on an 18F4580. These are running at 40Mhz (10 Mhz xtal with OSC set to 40 and HS_PLL in the config), and on occasion these would either display 10:10 for time and date regardless of being either breadboarded or on a plug in module for the Easypic development board. I often found that changing the 37 khz crystal resolved the issue, or connecting a LED and suitable resistor between the SQW pin and GND so it pulsed at 1 sec intervals would somehow cause the chip to communicate to the PIC

Similar Threads

  1. PIC18F46K22 config issue
    By LGabrielson in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 29th September 2012, 04:20
  2. I2C RTC Help
    By isaac in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 17th February 2012, 12:32
  3. RTC Problem using DS1302
    By gavo in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 5th July 2010, 19:48
  4. I2C with 8564 RTC
    By suded in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 31st July 2008, 04:20
  5. RTC Problem
    By Travin77 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 11th March 2006, 06:13

Members who have read this thread : 2

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

Tags for this Thread

Posting Permissions

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