cancel
Showing results for 
Search instead for 
Did you mean: 

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

gerhard
Associate II

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

1 REPLY 1
TDK
Guru

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".