Hi,
are you using external pull-ups?
V.
Hi Carmine,
in chapter 6.2.1 at page 186 you wrote that “there is no need to use external pull-up resistors to drive I²C devices, since the corresponding GPIOs can be configured…”.
Value of internal PU-PD for mentioned STM32F030 is typically 40k, and thats not enough for any reasonable speed of I2C. I would use 4k7 for 100kHz, 2k2 for 400kHz and 1k2 for 1MHz.
Anyway, thank you for great book, and keep up the great work.
Vojta