cancel
Showing results for 
Search instead for 
Did you mean: 

I2C Peripheral issues with STM32F103C8

paul90g
Associate
Posted on February 11, 2016 at 13:24

Hi,

Sorry if I've opened a discussion on an issue already solved...

I've recently started a new project on a board with STM32F103C8 on it (the small cheap 40 pin board from ebay). I made the base project with CubeMX. The I2C peripheral is not working at all. The Busy flag is always set after the initialization of the peripheral.

The bus connections are properly made. I've tried this setup on another older board of mine (Nucleo64 with STM32F411RET) and the code and libraries work perfectly. Any ideas for the reason of this issue. I've checked and all the configurations are correct. Although the busy flag is set, the bus is pulled up high, the gpio pins are open drain...

#example-stm32f4 #stm32f103 #i2c
0 REPLIES 0