AnsweredAssumed Answered

stm32 i2c problem after reciving 3 bytes

Question asked by kuczek.krzysztof.001 on Jan 31, 2014
Latest reply on Jan 31, 2014 by kuczek.krzysztof.001
I have a problem with i2c interface of stm32f103rbt6 mcu. I use interrupts for sending/receiving data, and everything is ok until slave (MS5611) sent 3 bytes. The bytes are received correctly, but i2c interface is death after this operation.
You can see whole transmission in attached i2c_1.png file.
The packed labaled as "2" is detailed in file i2c_2, it's just receiving of 3 bytes.
After that I try to send 1 byte (same like packed labaled as 1), but the i2c interface sends only the start and  end sequence. Only one event is trigered

                // sending addres and set transmiter mode
                I2C_AcknowledgeConfig(I2C1, ENABLE);
                I2C_Send7bitAddress(I2C1, gv_i2c1_addr, I2C_Direction_Transmitter);

What do I wrong?

Thank you in advance