Connect with us

I2C slave

Discussion in 'Electronic Design' started by [email protected], May 10, 2005.

Scroll to continue with content
  1. Guest

    Hi all,

    This is regarding I2C slave, how can i switch between a recive and a
    transmit pahse.

    Thanks in advance,
  2. Bob Stephens

    Bob Stephens Guest

    If I understand your question, in I2C the Master initiates all
    transmissions, send and receive. The slave must respond to the Master, so
    your slave's interrupt service routine ( or whatever) needs to check for a
    read or write flag on reception of a start command from the Master. On the
    SMBus, there can also be multiple Masters - not sure if I2C supports this
    or not.

  3. John Fields

    John Fields Guest

  4. Pooh Bear

    Pooh Bear Guest

    The slave responds to the master initiating a read or write cycle - i.e
    the master either tells the slave it's going to be sent data or requests
    the slave to send data to the master.

    You seem to be having a lot of trouble understanding I2C !

Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day