Associate III
June 1, 2022
Question
I2C5 in the CM4 context giving I2C_WaitOnTXISFlagUntilTimeout
- June 1, 2022
- 1 reply
- 1413 views
Hello
Attached is my i2c ioc file and I have connected an ADXL sensor to the stm32mp1 on its Arduino connector(I2C5). ( address: 3A, Chip id value : E5, Chip ID read register : 0x00)
I am trying to read this chip id but getting an error at the below line always
if (I2C_WaitOnTXISFlagUntilTimeout(hi2c, Timeout, Tickstart) != HAL_OK)
Can you please tell me what's wrong in the code or ioc file?
attached is my main.c and ioc file as well.
Do I need any changes I the device tree file on the A7 side?
Thanks !,
P
