Re: value of SDA in acknowledge phase.



Praveen,

It's been a while since I've looked at this, so I could be wrong.

I don't think that it's an issue of who is the master. The side that's doing
the reading will hold the SDA line low as its acknowledgment that it
received the data, or not drive it (i.e., drive it as "Z") if there was a
read error. Therefore, the side that's writing needs to not drive it (i.e.,
drive it as "Z") during the ack bit. The SDA line has a pullup so that it
will float high if an ack is not presented to the line by the reader, and
the writer will detect this as an error to its write.

Bob


<praveen.kantharajapura@xxxxxxxxx> wrote in message
news:47cf10b7.0504251938.59fbe209@xxxxxxxxxxxxxxxxxxxxx
> Hi all,
>
> In I2C after the master has transmitted a byte of data , next is the
> Acknowledge cycle from the slave.In this cycle what shold the master
> drive on the SDA line, drive on it a '0' or a 'Z'.This confusion is
> there because the SDA line is externally pulled up.
>
> Thanks in advance ,
> Praveen


.



Relevant Pages

  • Re: Probleme mit I2C-Verbindung
    ... Den kann es nur geben wenn ein zweiter Master auf den Bus zugreift. ... The data on the SDA line must be stable during the HIGH period of the ... The HIGH or LOW state of the data line can only change when ...
    (de.sci.electronics)
  • Re: I2C trick?
    ... ensure that the master could always assert its will over both I/Os ... This could actually be a good trick. ... the line-swapped device will see a start ... see a '0' bit during a direction swap (between master releasing SDA ...
    (comp.arch.embedded)
  • Re: I2C slave code example for an ATtiny26
    ... >>master is determined by the value written to the USIDR register. ... The a start condition is generated by the master by forcing the SDA low ... >than the USI. ...
    (comp.arch.embedded)
  • value of SDA in acknowledge phase.
    ... Acknowledge cycle from the slave.In this cycle what shold the master ... there because the SDA line is externally pulled up. ...
    (sci.electronics.design)
  • Re: value of SDA in acknowledge phase.
    ... > Acknowledge cycle from the slave.In this cycle what shold the master ... > drive on the SDA line, drive on it a '0' or a 'Z'.This confusion is ... > there because the SDA line is externally pulled up. ...
    (sci.electronics.design)