AnsweredAssumed Answered

Bug on I2C mem read DMA

Question asked by Brice_38 on Aug 16, 2016
Latest reply on Nov 4, 2016 by potma.allard

I posted a bug weeks ago without any response so I start this thread. (initial thread)
I search on the forum and the only topic where this problem has been discussed, no solution was proposed. 

The following screenshots show a 1 byte and 2 bytes data read with "HAL_I2C_Mem_Read_DMA". The "Led" signal is set before the read and clear in "HAL_I2C_MemRxCpltCallback"

When I read only 1 byte, the clock stays low at the end and the I2C flag is still busy. 
This problem doesn't appears when I read 2 or more bytes.

I2C version is :
  * @file    stm32f4xx_hal_i2c.h
  * @author  MCD Application Team
  * @version V1.5.0
  * @date    06-May-2016