I2CWRITE/I2CREAD access hardware in the different way? (PCA9685 issues)


+ Reply to Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Feb 2013
    Posts
    1,158


    Did you find this post helpful? Yes | No

    Default Re: I2CWRITE/I2CREAD access hardware in the different way? (PCA9685 issues)

    Chip is 18F45K80. I changed pull-up values to 5.1K, not much difference in shape of signals, but at least now it works.
    So in case of I2CWRITE, pins should be configured as input?

  2. #2
    Join Date
    Aug 2011
    Posts
    460


    Did you find this post helpful? Yes | No

    Default Re: I2CWRITE/I2CREAD access hardware in the different way? (PCA9685 issues)

    You should probably leave them as inputs.

    The I2C commands will change them from inputs to outputs as required to simulate an open-collector signal (high=input, low=output 0).

    It would probably work as outputs too, but there would be a period of time where the lines were being actively driven until the first I2C command, so better to have them as inputs.

Similar Threads

  1. I2cwrite - I2cread
    By savnik in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 5th July 2006, 02:12
  2. I2CREAD and I2CWRITE problems
    By yourmomOS in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 5th April 2006, 10:58
  3. I2Cwrite and I2CRead speed!
    By Najim in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 2nd November 2005, 11:54
  4. I2Cwrite and I2CRead speed!
    By Najim in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 2nd November 2005, 11:50
  5. I2CWRITE and I2CREAD
    By Tomas in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 23rd April 2004, 03:30

Members who have read this thread : 13

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