Question
Problem with I2C on PA8 and PC9
Posted on July 10, 2014 at 11:41
#stm32f407 #mco #i2c
Hello,
i tried to use I2C3 on PA8 and PC9. I noticed that i can send data over the i2c bus but the stop condition was not working. So the bus never came back. After some investigation i found that the SCL line starts oscillating with 16MHz (I use the HSI oscillator). I checked the RCC MCO settings and noticed that it is set to HSI output. When i change the prescaler i can change the frequency. Since i use a STM32F407VGT6 i am not able to use alternative pins. Is there any workaround to avoid MCO to overtake the I2C lines?
#stm32f407 #mco #i2c