- This topic has 1 reply, 2 voices, and was last updated 2 years, 5 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forums › Mastering STM32 book support forum › I2C Slave not working
Hi,
Has somebody been able to run the I2C-Slave and I2C-master example2 of chapter 14?
Or even an I2C-slave application to be asked by a master.
The master seems to send a message but the slave does not get it.
I’m using Nucleo F334R8.
Thanks!
Hi. I could not. This is what my problem looks like: in the Master (Nucleo STM32F030R8 board), the program execution does not reach the line “HAL_I2C_Master_Sequential_Receive_IT…” because the HAL status is HAL_I2C_STATE_BUSY_TX (0x21U). The Slave (Nucleo STM32G071RB board) does not call the HAL_I2C_AddrCallback callback. The reason is not clear to me. Did you solve the problem?