2017-11-24 11:52 AM
I was using I2C connection between two STM32F030, but decided to try SMBus, because of I2C issues with analog filter, when lines stay high/low. I'm trying to send 1 byte and have issues with slave: master sends address and receives ACK bit, but after that slave holds SCK low until timeout, why does it happen? Also I'm using only HAL functions without SMBus Stack library for Cube, because I need simple exchange of 4-5 bytes data without SMBus v2 and PMBus functions.
P.S. Any recommendations for using SMBus Rx/Tx modes (SMBUS_FIRST_FRAME, SMBUS_NEXT_FRAME, SMBUS_FIRST_AND_LAST_FRAME_NO_PEC, SMBUS_LAST_FRAME_NO_PEC, SMBUS_FIRST_AND_LAST_FRAME_WITH_PEC , SMBUS_LAST_FRAME_WITH_PEC )?
#stm32 #smbus #i2c