AnsweredAssumed Answered

Problem with HAL_I2C_Slave_Transmit_IT

Question asked by Siragh ASUTP on Mar 9, 2018
Latest reply on Mar 21, 2018 by Siragh ASUTP

Hello everybody.

The are:


2.arduino uno

3. lcd 1602 i2c

I wont to connect these 3 devices via the i2c bus.

stm32f103c8t6 has on board two i2c buses (i2c1 and i2c2), i2c1 will be configure the master and i2c2 slave.


uno(master)-------i2c2(slave) // does not work, the new value is acceptted after resetting stm32

i2c1(master)-------lcd1602(slave) //works fine

I connected a logic analyzer, the master sends a request with the slave address (10) but the slave (i2c2) does not respond, the slave state is hal_i2c_slave_busy_tx. What could be the problem?