STM32F072RB discovery board The STM32 in slave mode is to be used to read sensor data at every 2 second interval by an ESP8266 master through I2C. I am using the HAL library for this.
The I2C interrupts were enabled and HAL_I2C_Slave_Receive_IT() and HAL_I2C_Slave_Transmit_IT() functions were called. The slave can receive and transmit the data only once and then it pulls the SCL line low disabling further communications. I have tr...