Skip to main content
MDeva.1
Associate III
March 4, 2022
Question

How to configure SMBUS in stm32h7?

Hello,

I am working on Nucleo-h745ziq board.I have to configure the ADM1032 which is temperature sensor and SMBUS compatiable IC.How I can configure the SMBUS in STM32CUBIDE.Which libabry that I have to use.Can you help me.

This topic has been closed for replies.

6 replies

TDK
March 4, 2022

Create a CubeMX project starting with that board. Enable the I2C peripheral that you want, select SMBus mode, hit generate code.

Where are you getting stuck?

"If you feel a post has answered your question, please click ""Accept as Solution""."
MDeva.1
MDeva.1Author
Associate III
March 5, 2022

Which library function that I have to use there is some information documents for smbus stm32 ​

Pavel A.
March 5, 2022

From the ADM1032 data sheet, it does not use any smbus specific functionality, besides of supporting ALERT. So, just use "normal" I2C library functions unless this device has the ALERT output connected.