cancel
Showing results for 
Search instead for 
Did you mean: 

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

taz1000
Associate III
Posted on April 25, 2018 at 13:51

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. 

0 REPLIES 0