Associate III
September 21, 2020
Question
How to get I2C interface to read MaCID using STM32L476.
- September 21, 2020
- 1 reply
- 616 views
Hi,
I tried getting the I2C connected by going to STMcube and selecting I2C..then generating code which is attached.
I am stll not able to see any I2C connection happening..I also tried using HAL_I2C_IsDeviceReady...but I am getting ret value as 1 which is not HAL_OK...it is HAL_ERROR.Kindly let me know which are the other HAL driver needs to be initaited so as to get the I2C up and also able to read MACID using I2C.
Thanks and regards
Ravi chandran
