cancel
Showing results for 
Search instead for 
Did you mean: 

How to start with SMbus and F2 or F1?

LMI2
Lead
Posted on November 20, 2015 at 15:53

I have a sensor which uses SMbus. How many unexpected features it has, or does it work with STM32F2 directly? What about addresses and shifting them.

So far, I2C bus has not worked.
2 REPLIES 2
Posted on November 23, 2015 at 13:16

Hi mich.lei,

You can use SMBus for STM32F1 and STM32F2 families. For limitations you can refer to Errata Sheets, for instance

http://www.st.com/st-web-ui/static/active/en/resource/technical/document/errata_sheet/DM00027213.pdf

(for STM32F205VC). It indicates that:

''The I2C peripheral is not fully compliant with the SMBus v2.0 standard since It does not support the capability to NACK an invalid byte/command''.

 

-Shahrzad-

LMI2
Lead
Posted on November 25, 2015 at 20:30

I see.

I do not know now what is wrong but the sensor is quiet. No response. I use the memory read command.

Regards