Skip to main content
gerhard
Associate III
September 2, 2021
Question

Is there a difference in the port pin setup, between I2C and SMBUS-two-wire mode?

  • September 2, 2021
  • 1 reply
  • 574 views

Is there a difference in the port pin setup, between I2C and SMBUS-two-wire mode?

Say the STM32F469NIHx, if I set the mode to I@C, but the MCU drives a SMBUS device, is there any potential problem?

Any help appreciated

This topic has been closed for replies.

1 reply

TDK
September 2, 2021

There are some subtle differences, but they are generally compatible with each other. The reference manual describes the differences and how to switch to SMBus.

To switch from I2C mode to SMBus mode, the following sequence should be performed.

• Set the SMBus bit in the I2C_CR1 register

• Configure the SMBTYPE and ENARP bits in the I2C_CR1 register as required for the

application

"If you feel a post has answered your question, please click ""Accept as Solution""."