Associate II
Mar 9, 2018 10:32 AM UTC
Question
Problem with HAL_I2C_Slave_Transmit_IT
- 1 reply
- 1278 views
Posted on March 09, 2018 at 11:32
Hello everybody.
The are:
1.stm32f103c8t6
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.
Connection:
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?
#i2c-busy