AnsweredAssumed Answered

I2C master mode, How to keep sending byte even slave sends NACK

Question asked by chun.dan on Apr 25, 2018

With I2Cx->CR2, I can send START, slave address, and so on. 

If there is NACK from the slave after slave address, MCU stops transferring and sends STOP. 

 

I want to keep sending bytes even when there is NACK from the slave. 

Is it possible?

 

 

* It looks like HAL library doesn't support this. 

  If necessary, accessing the MCU register directly is okay. 

Outcomes