Skip to main content
rsharifi9
Associate III
September 4, 2017
Question

how to code STM32F4 SMBus manually ( without Cube HAL )

  • September 4, 2017
  • 3 replies
  • 927 views
Posted on September 04, 2017 at 09:56

dear All,

as we know there is not possible to configure and code STM32F4 SMBus with Cube HAL drivers.

is it possible to do that manually?

regards, Rasool

#smbus #stm32f4 #ll-drivers #cube-hal
This topic has been closed for replies.

3 replies

ST Technical Moderator
September 4, 2017
Posted on September 04, 2017 at 10:23

Hello,

Have a look to this

https://community.st.com/0D50X00009XkdjqSAB

, it may be helpful.

You may refer to the

http://www.st.com/content/ccc/resource/technical/document/reference_manual/3d/6d/5a/66/b4/99/40/d4/DM00031pdf/files/DM00031pdf/jcr:content/translations/en.DM00031pdf

reference manual for STM32F4

to have more details about SMBUS usage.

Best Regards

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
KSzcz
Visitor II
November 9, 2018

links are not available

ST Technical Moderator
November 19, 2018

Hello @KSzcz​ ,

You'll probably get help from the SMBUS examples within Cube firmware packages as:

 STM32Cube_FW_L0_V1.11.0\Projects\STM32L073Z_EVAL\Examples\SMBUS

 STM32Cube_FW_F3_V1.10.0\Projects\STM32303E_EVAL\Examples\SMBUS

The examples show how to ensure SMBUS Data buffer transmission and reception with IT.

 May be this link can help you:  https://github.com/Selat/stm32-smbus

Best Regards

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks