cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F I2C continual AF when sending address to known good slave

engineering
Associate II
Posted on December 01, 2015 at 21:40

STM32F semi-newbie here, so forgive me for any cluelessness.

I have a nice daughtercard for our STM32F board that takes the I2C1 lines from the STM32F into a GPIO expander.  When I hook it up to our bouard, I get AF errors 100% of the time, but when I hook it to an older proto board it talks.

Scope shows timings on the I2C out from the STM32F are identical to our proto board, and the daughtercard timings appear the same as well.

I'm assuming that an AF error indicates that, for whatever reason, the address was clocked out but the slave device didn't ACK it.  Is this true?

I'm off to check 3.3V levels on the new board in case spin1 has ''issues'' on the 3.3v rail.

All info appreciated!

..ed..

#stm32-i2c
1 REPLY 1
engineering
Associate II
Posted on December 02, 2015 at 16:52

Never mind - seems the schematic didn't match the board and the incorrect chip was used and will never work.  I feel sorry for the hardware guy who has to fix it now...