cancel
Showing results for 
Search instead for 
Did you mean: 

how to code STM32F4 as SMBus master within KEIL UVision

rsharifi9
Associate III
Posted on September 02, 2017 at 07:34

hi Everybody,

please guide me how to configure and code a STM32F4 as SMBus master within KEIL UVision.

regards, Rasool

#keil #uvision #stm32f4 #smbus
5 REPLIES 5
rsharifi9
Associate III
Posted on September 02, 2017 at 13:13

is it possible?

Posted on September 02, 2017 at 18:11

Sure it's possible, you might have work through it yourself.

When guides and example source are not available review the Reference Manual to understand the mechanics of what you want to implement. Review the I2C peripheral examples, should be similar to SMB. There might be examples under the other STM32 and F1 series part which would be relatively portable.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on September 02, 2017 at 18:34

Clive One wrote:

Sure it's possible, you might have work through it yourself.

why it is not provided Cube HAL?

Posted on September 03, 2017 at 15:30

please consider the link:

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

 

it is not possible to configure I2C as SMBus.

Posted on September 03, 2017 at 16:27

Doesn't Igor post a link to code specifically for the F4 part? I have no business use case for using SMB

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..