cancel
Showing results for 
Search instead for 
Did you mean: 

how to code STM32F4 SMBus manually ( without Cube HAL )

rsharifi9
Associate III
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
3 REPLIES 3
Imen.D
ST Employee
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

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

links are not available

Imen.D
ST Employee

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

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen