Skip to main content
GRaf.1
Visitor II
May 5, 2020
Question

STM32F205. When generating a new cubeMX project with I2C1 (master) enabled, I2C1 transmission does not work.

  • May 5, 2020
  • 1 reply
  • 548 views

when trying to call HAL_I2C_Master_Transmit returns HAL_ERROR. If I2C2 starts, then everything works

This topic has been closed for replies.

1 reply

waclawek.jan
Super User
May 5, 2020

Debug as usually- find out where in Cube the error originated, check hardware connection, pull-ups, observe waveforms on the SDA/SCL pins using oscilloscope and compare them to the working case, etc.

JW