I2c 1master - 3slaves

Discussion in 'Embedded Systems and Microcontrollers' started by aamirali, Oct 28, 2014.

  1. aamirali

    Thread Starter Member

    Feb 2, 2012
    415
    1
    1. I have made code for 1 master & 1 slave on I2c for MSP430G2553.
    Working fine with 4.7K pull up & 3.3V.

    2. Now I want to have 1 master & 3 slaves on same bus for 3.3V.
    Is there anything extra I have to do. Or same slave code will for all except each one's address.

    Do pull-up's need to be changed.
     
  2. MrChips

    Moderator

    Oct 2, 2009
    12,440
    3,361
    I think you're good to go. There is nothing to change.
     
  3. ErnieM

    AAC Fanatic!

    Apr 24, 2011
    7,386
    1,605
    That is the beauty of I2C. As long as the slaves all have different addresses and are not too far away (it adds capacitance) then you can keep adding them.

    The practicable limit where you have to think about adding buffers is pretty large.
     
Loading...