2015-09-16 01:05 AM
Hi,
I am trying to communicate STM32F407 with a I2C slave device @ 100khz on I2C1.The slave supports up to 400khz.I traced the lines between the controller and the slave using a logic analyzer and check whether signals are properly generated (attached).But, the controller generates an AF error. Tried for all available Read/Write functions in HAL but get the same error.I am using I2C2 for another slave (EEPROM) with the same settings and things work just fineI2C Settings and Code attached.Environment: FreeRTOS, Coocox IDE, ARM gcc, STLINKV2Any thoughts?Thanks. #ack #i2c #aferror #stm32f407