Hello, I'm doing I2C scanning, making one transmission and wait for NAK or END interrupt. Although, even I'm waiting for END or NAK, and then doing another transmission, sadly, every 2th transmission completes as END (even there isn't really that device.). On logic analyzer, I found the 2th request isn't even performed, it's just skipped. I found that there is BUSY flag, and when this error happens, everytime is BUSY flag true. So how I can solve this issue? I expected that when I receive END or NAK, i2c is not busy anymore, but it is. Is there interrupt for BUSY end or how should I wait until the I2C is ready to work? Thanks
(Also, the BUSY flag for I2C is not used anywhere in source code)