I2C issues


Closed Thread
Results 1 to 14 of 14

Thread: I2C issues

Hybrid View

  1. #1
    Join Date
    May 2012
    Location
    Merseyside, UK
    Posts
    237


    Did you find this post helpful? Yes | No

    Default Re: I2C issues

    Check the address's is what comes to my mind.... Could you post the circuit ?

  2. #2


    Did you find this post helpful? Yes | No

    Default Re: I2C issues

    If each device works on its own, then you must have the correct address's and (probably) they have correct pullups. Perhaps you have double pullups? As Andy said, post a circuit and some code. ASAIK there should be no connection between that RTC backup battery and Vcc.

    George

  3. #3
    Join Date
    Apr 2011
    Location
    Welches, Oregon
    Posts
    198


    Did you find this post helpful? Yes | No

    Default Re: I2C issues

    I have checked the addresses several times. You know how it is when you can't figure it out... check once, poke around a bit, check again... more frustration... get out the data sheets and check again...

    I could draw up the circuit, but is so dang simple I wired it from memory: Programming port, reset button, 4 bit 4x20 LCD and I2C - which, as I say, was a module from SparkFun. When that failed I ordered a bare chip from Digi-key and wired that- it also worked perfectly, finally a module from Banggood which, again, works perfectly - until the PCF port expander is plugged in, then 04:04 on the clock... until the PCF is unplugged.

    I don't think I mentioned it previously, but the PCF continues to work when both are plugged in - its only the clock that fails.

    As a work around can I designate another I2C bus on other pins? HATE admitting defeat, but...

    EDIT: Only 1 set of pull-ups.

Similar Threads

  1. I2C two master on one I2C display
    By Kmt in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 22nd September 2014, 21:44
  2. RFID Issues.... HELP !!!!!
    By andybarrett1 in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 11th September 2014, 11:00
  3. EEPROM issues
    By timmers in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 25th March 2010, 17:19
  4. I2C Master Slave issues.
    By cpayne in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 29th March 2008, 20:33
  5. issues with 24lc1025
    By johnmiller in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 14th February 2008, 13:41

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