2017-06-07 06:51 AM
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?
2017-07-20 05:30 AM
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
you can find a lot of details2017-07-20 05:39 AM
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.
2017-07-20 07:52 AM
Hi Amel N,
Do you have information about when excatly the update will be in the STM32CubeF4 package? day, month, year.
2017-07-20 09:40 AM
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.