I2C Speed


Closed Thread
Results 1 to 9 of 9

Thread: I2C Speed

  1. #1
    Najim's Avatar
    Najim Guest

    Question I2C Speed

    Hey there,

    I wrote a similar thread some time ago and i didn t have any answer, so i try again

    I m trying to communicate with PICs via the I2C protocol. The problem is that thay are 20meters(so many yards :P) away from each other. So i have a lot of parasit capacitances...
    I would like to communicate with a lower speed than 100KHz with a 20MHz crystal, is it possible?

    thank you for your information.

  2. #2
    Join Date
    Sep 2005
    Location
    Honduras
    Posts
    7

    Default

    oooossorry!

    I cant help you.... Instead I will ask help from you!

    Im still a newbie at programing and PICs, and in the last quiz at school the teacher asked: define in few words the I2C.

    No one in the class could answer.... could you do it for me?

    Thanks

  3. #3
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166

    Default

    Hamlet,
    I2C (Inter-Integrated Circuit) Bus

    Dave Purola,
    N8NTA

  4. #4
    Najim's Avatar
    Najim Guest

    Default

    hey Hamlet,

    Have you looked for it on google? you will find a lot of explanations.

    good learning.

  5. #5
    Join Date
    Aug 2005
    Posts
    57

    Default

    If you can get hold of this IC it could solve your problems.I played with them a few years back and they worked fine.
    DESCRIPTION
    The P82B96 is a bipolar IC which creates a non-latching,
    bi-directional, logic interface between the normal I2C bus and a
    range of other bus configurations. It can interface I2C bus logic
    signals to similar busses having different voltage and current levels.
    For example it can interface to the 350 􀀀A SMB bus, to 3.3 V logic
    devices, and to 15 V levels and/or low impedance lines to improve
    noise immunity on longer bus lengths.
    It achieves this interface without any restrictions on the normal I2C
    protocols or 100 kHz clock speed. The IC adds minimal loading to
    the I2C node, and loadings of the new bus or remote I2C nodes are
    not transmitted or transformed to the local node. Restrictions on the
    number of I2C devices in a system, or the physical separation
    between them, are virtually eliminated. Transmitting SDA/SCL
    signals via balanced transmission lines (twisted pairs) or with
    galvanic isolation (opto-coupling) is simple because separate
    directional Tx and Rx signals are provided. The Tx and Rx signals
    may be directly connected, without causing latching, to provide an
    alternative bi-directional signal line with I2C properties.

  6. #6
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695

    Default

    Hi,

    See also this thread:
    http://www.picbasic.co.uk/forum/showthread.php?t=807

    Luciano

  7. #7
    Najim's Avatar
    Najim Guest

    Talking thks guys!!!

    Thanks both of you!!!!

    I heard about those drivers ICs! I m gonna try them and tell u something...
    The problem is that I already have designed my card and done it :P Anyway i will try to insert them...

    In any case it s a pity that PBP doesn t offer us the possibilitry to change the baudrate...

    see ya guys.

  8. #8
    Najim's Avatar
    Najim Guest

    Talking It works so well!!!!

    Hey guys,


    I used the circuit P82B715 with a cable of 14meters long...with a parasite capacitor of around 1nF, and it works very well. The signals are very square!!!

    In the datasheet they say, that it can work with a cable with 4nF parasite capacitor...

    Najim.

  9. #9
    gluphus's Avatar
    gluphus Guest

    Default i2c cable spread

    Najim,

    Would you be willing to pm me some of your i2c code? I am attempting to learn the master/slave coding between pics and would appreciate seeing (parts of) working examples.

    thank you.

Similar Threads

  1. I2C Master/Slave 16F88/16F767 working code
    By DanPBP in forum Code Examples
    Replies: 2
    Last Post: - 23rd October 2012, 22:31
  2. HARDWARE I2C SAMPLE CODE question
    By Michael Wakileh in forum Code Examples
    Replies: 2
    Last Post: - 16th June 2009, 21:07
  3. I2C Master Slave issues.
    By cpayne in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 29th March 2008, 19:33
  4. Replies: 14
    Last Post: - 26th September 2007, 05:41
  5. Please help with i2cslave i2c slave
    By cycle_girl in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 1st December 2005, 13:55

Members who have read this thread : 1

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