2016-06-11 08:29 PM
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. Thanks!2016-06-14 07:09 AM
Hi L3FOS,
I recommen that you take a look to the application note AN4502 '' STM32 SMBus/PMBus embedded stack firmware'' with the dedicated firmware -Hannibal-