Hi Eur, 2011/10/12 Eur van Andel <[email protected]>: > Does i2c_sw wait for an ACK from the slave? It has done so for normal data transfer and thanks to Matt's testing it now also does at start and stop.
> If not, is there a timeout? If so, how long? There was not. William added an optional timeout (in # of bittimes). It is documented in the library header (and as such, should be part of the jallib api doc) > Waiting for an ACK that never arrives is one of the nasty aspects of I2C, > especially during debugging of a new circuit. I can imagine it can be useful for graceful degradation too: failure of one i2c device does not necessarily mean the master can't do anything useful. Joep -- You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
