AnsweredAssumed Answered

Preventing automatic slave address ACK

Question asked by Alexander Agudelo on Mar 29, 2016
Latest reply on Apr 4, 2016 by Mark Butcher

Hi guys, I'm working with the KL25Z64 I2C peripheral and noticed that after setting the slave address the hardware automatically ACK the device address, if the slave is busy doing something else and doesn't ACK the following byte the line gets blocked (clock stretching?).

 

(zoom out - SCL line goes back to HIGH while SDA remains low)

Is there any way of stopping the hardware from ACK the slave address and control this from software? so that if the slave device is busy the master then receives a NACK?

 

Thanks and regards,

 

Alex.

Outcomes