AnsweredAssumed Answered

STM32F407 I2C Address Ack Error

Question asked by samal.mrunmoy.002 on Sep 16, 2015

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 fine

I2C Settings and Code attached.

Environment: FreeRTOS, Coocox IDE, ARM gcc,  STLINKV2

Any thoughts?