Hello, i have a STM8L Discovery board with a stm8l152C6T6 microcontroller. I'm currently trying to communicate with a M24LR04E (NFC) board through an I2C connection.
I've done some tests using the "generateStart" function, that appears to be working fine:
However, when trying to send data to the board through "send7bits" function, my code get stuck on the next "while" construction without any apparent reason:
Additionally, I've tried other examples available through ST documentation ("I2C EEPROM" / "I2C TWOBOARDS") without success.