AnsweredAssumed Answered

Unstable I2C Connection to STEVAL-MKI137V1

Question asked by Khaled Aljehani on Sep 15, 2017
Latest reply on Sep 23, 2017 by Khaled Aljehani

Hi all,


I connected STEVAL-MKI137V1 (Magnometer sensor) to STM32L152D-EVAL through I2C. The library I am using is from STM32CubeExpansion_MEMS1_V4.0.0.


I connected I2C pins to PB11 and PB10 without any external resistors on STEVAL-MKI137V1 side.


The problem is weird for me. Most of the times the code do not work, it give error like Acknowledge Failure, and sometimes the code works very well without any error!


What is the expected reason of this problem? How can I solve it?


Note: is the problem related to external pull-up resistors? Because I did not use them.


Thanks in advance.