I'm working on a STM32F101T6U6ATR, and need to 'talk' with it via i2c (PB6, PB7).
There's an errata (STM32F10xx4 STM32F10xx6 Errata sheet, en.CD00211391.pdf) talking about lot's of i2c issues.
I've created a project with Cube (version 4.19.0), using FW_F1 V1.4.0.
I took i2c example code from the installed Cobe repository (c:\Users\user\STM32Cube\Repository\STM32Cube_FW_F1_V1.4.0\Projects\), but am not sure which board to take as reference, so defaulted to the STM32F103RB-Nucleo.
I have encountered many problems: Master mode stuck on BUSY state, Slave mode stuck after single transaction, etc.
I've set up 2 Discovery boards (STM32F0308-DISCO and STM32F072B-DISCO), connecting their PB6-7 i2c pins, and ran the Cube i2c examples, and they all work fine, seeing the data with an analyzer.
Any help or sample code will be much appreciated.