I am trying to use the SPI1 and the I2C1 simultaneously in the STM32H563ZI. Upon configuring the relevant pins in via cubeMX, I see that there is a conflict with the PB5 Pin. I want the PB5 to act as an SPI pin, whereas configuring I2C1 doesn't allow me to do that and I see a warning message for the same. However, I do not have any I2C functionality mapped to the PB5 pin.
Reading up on this, I came to know that there are a few points mentioned on these lines in the errata sheet of a few parts, but the errata sheet of STM32H563 doesn't mention anything on the pin mapping conflicts. Is the issue present for the STM32H563 as well?
Any leads on this would be of help.
When you use PB5 as SPI1_MOSI, you can keep using I2C1 just in I2C or SMBus-two-wire-Interface.
But when you want to use I2C SMBus-Alert-mode, you need to use I2C1_SMBA pin whish is mapped only to PB5.
To avoid this problem, you can use PA7 for SPI1_MOSI.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.