AnsweredAssumed Answered

STM32F429 I2C for SMBUS

Question asked by L3FOS on Jun 12, 2016
Latest reply on Jun 14, 2016 by FTITI.Walid
Hey folks,

I am trying to implement an SMBUS protocol on an STM32F29 board using the HAL-I2C drivers.
Main purpose is to be able to read a MLX90614 temp sensor and report the output to the screen.
I am getting some odd results with the I2C drivers and was wondering if anyone else had run into similar problems.
It seems to not be affected by the ClockSpeed argument at all when observing the clock pin on my scope, and further, the data pin only mimics the clock pin, but does not do anything else. In short, I cannot even get it to behave as a regular I2C device which is getting me stuck on the path to modifying the HAL drivers to follow the SMBUS protocols.
Would love to hear form folks who have had similar issues. My source is attached in case you care to play with it.