unable to use External I2C connector on STM32H753I-Eval2 board
I am trying to use the external i2c connector (CN4) on the STM32H753I-Eval2 board to connect with the i2c connector (CN2) on STM32F769I discovery board. STM32H753I works as master and STM32F769I works as slave.
On STM32H753I, the function "HAL_I2C_Master_Transmit(&hi2c1, 0x20, TxBuffer, TXBUFFERSIZE, 1000)" is used to write data. It always fails at "I2C_WaitOnTXISFlagUntilTimeout(hi2c, Timeout, tickstart)" with the error of timeout. It seems the slave ACK is never received on the master board. I use STM32CubeMX to create the code and "MX_I2C1_Init()" return without any error. I also follow steps here to set up I2C1 in STM32CubeMX (https://wiki.st.com/stm32mcu/wiki/Getting_started_with_I2C#I2C_settings).
Any insight is appreciated! Thanks!
