cancel
Showing results for 
Search instead for 
Did you mean: 

x-cube-smbus implementation for STM32F407VG

Igor Tabachnik
Associate II
Posted on June 07, 2017 at 15:51

Hello, I want to try implement x-cube-smbus in STM32F407VG and I want to known it is possible?

In datashit on STM32F4 it is written that SMBus 2.0 is supported. And also there is a mention in one document that the library x-cube-smbus can be ported. How to implement library?

4 REPLIES 4
Posted on July 20, 2017 at 14:30

Hello!  

You can Implemet  SMBUS from stm32CUBEmx  by selecting at the pinout tab  an I2c port as SMBUS 2 wire Interface.

The STM32cubemx  produces all initialisation  functions.

After initialisation you can use  all HAL_I2C_....   functions .

In RM0090

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

   you can find a lot of details
Amel NASRI
ST Employee
Posted on July 20, 2017 at 14:39

Hi

Tabachnik.Igor

‌,

Unfortunately, the SMBus driver isn't yest available for the STM32F4 products in the STM32CubeF4 package.

The request is already raised internally to support it since it was asked for in this discussion:

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

.

-Amel

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Posted on July 20, 2017 at 14:52

Hi Amel N,

Do you have information about when excatly the update will be in the STM32CubeF4 package?  day, month, year.

Posted on July 20, 2017 at 16:40

Sorry, I cannot provide a planning now. I will keep you informed when I get more details about when it is expected to have the SMBus driver available in the package STM32CubeF4.

-Amel

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.