I am using the STM32F411 as an I2C master to control a DC_DC converter with PMBus support.
This device is within a local system, and it allows all 128 addresses to be assigned with seven user-assignable address pins. Since there will be no interactions with other conventional I2C busses, it has been assigned the address 0x78 to that device, regardless of the warning on reserved addresses (0x78 is reserved for 10bit addressing).
After trying to write to that device (with HAL_I2C_Master_Transmit() function), both the SCL and SDA lines are kept low and the I2C gets stuck (BUSY) for good.
The Write operation ends with HAL_TIMEOUT error and, by that time on, the I2C bus is detected as busy.
I fixed this issue just changing the slave address to 0x77, and now it works.
Still I don't understand what is blocking the bus.
I don't think that it is the DC_DC converter: it has been used by my company in the past, in other products, with 0x78 address.
I wonder if the STM32-I2C library doesn't allow to use reserved addresses, but in this case I expected the transaction to be refused, and not to block permanently the I2C bus.
Can anyone help me understanding exactly what went wrong?
Thanks and regards,