I2C two master on one I2C display


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2004
    Location
    Denmark
    Posts
    9

    Default I2C two master on one I2C display

    Is it possible to have 2 master I2C on one I2c display?

    Like this Master1 Line 1 on the display
    Master2 Line 2.

    I found this on the net

    Arbitration
    As the I2C bus is a multi-master bus it is possible that two devices initiate a transfer at the exact same
    time (e.g. RTC tick). When this happens the first device attempting to transmit a logical 1 while another
    device transmits a logical 0 will lose arbitration. The device attempting to transmit 1 will detect that the
    line is low when it should actually be high so assumes that another master is active and immediately
    stops its transfer. This device will then wait until the next STOP condition before trying to transmit again.

    Or do I have to use a 2 to 1 master selector like PCA9541.

    Kent

  2. #2


    Did you find this post helpful? Yes | No

    Default Re: I2C two master on one I2C display

    I have used two pics to access DS1307 some years ago, I put 470ohm resistors in line on each of the pics and used a similar connection between the 2 pics as a busy line. ( probably not the correct way - but it worked fine)

    Then some simple programming of setting and reading the busy line, always making sure that when not busy, the line on each is set to an input.

Similar Threads

  1. I2C: slaves to alien master
    By dhouston in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 28th June 2011, 12:46
  2. PIC as I2C Master/Slaves
    By Adamey in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 14th February 2011, 03:38
  3. I2C project - 10 slaves, 1 master
    By mikey11 in forum General
    Replies: 0
    Last Post: - 29th June 2010, 18:20
  4. I2C Master Slave issues.
    By cpayne in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 29th March 2008, 19:33
  5. i2c master/slave
    By lab310 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 8th April 2005, 22:23

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