Hi, I'm currently creating a multimaster I2C driver.
After transmitting any message in controller mode, I switch the I2C to target mode.
I notice that it gets stuck after receiving an NACK. I would like to know what would be the sequence of handling NACK. I'm currently doing this according to the manual in the interrupt section.
Then I switch it to target using the code that is provided in the SDK examples.
I found that after an NACK, it just gets stuck. Am I doing something wrong? should I reset the driver.
If so, could you please provide code to reinit or handle in anyway the NACK.