Posted on May 17, 2011 at 13:43Hi, It still doesn't work. Here is my code, PB11 is the SDA and PB10 is SCL. The speed of I2C is set at 100K. I2C2->CR1.B.PE = DISABLE; GPIOB->CRH.B.MODE10 = MAX_OUT_SPEED_50MHz; ...
Posted on May 17, 2011 at 13:43 I am using I2C for my temperature sensor and serial eeprom. I am using a timer to wait for every I2C event. It is working properly but I just want a recovery mechanism in case of something going wrong with I2C so that...
Posted on May 17, 2011 at 13:43I tried your code and and just could bring the SDA to 0. I checked with Logic Analyzer and still see the SDA is hold to ''1'' all the time. Do I need to change the pin configuration from OPEN_DRAIN to AF_PUSH_PULL bef...