2016-08-16 12:51 AM
Hi
I posted a bug weeks ago without any response so I start this thread. (/public/STe2ecommunities/mcu/Lists/STM32Java/Flat.aspx?RootFolder=https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Java/possible%20bug%20in%20HAL_I2C_Mem_Read_IT%20and%20HAL_I2C_Mem_Read_DMA&FolderCTID=0x01200200770978C69A1141439FE559EB459D758000F9A0E3A95BA69146A17C2E80209ADC21¤tviews=457
)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 #i2c-dma-mem-read2016-08-24 04:06 AM
Hi Brice_38,
Thanks for highlighting this issue. I will check it with our development team & come back to you. Sorry for the inconvenience it may bring.-Syrine-2016-08-24 08:20 AM
Hi
I understand that there is some bug and that it takes time.I continued to monitor the I2C driver and found something strange. On the following screen, the signal ?IT EVT? is a GPIO that is toggle every time I enter ?I2C1_EV_IRQHandler()?I found strange to enter this often after the address so I monitor the different IT flag and add them on the screenshot.Hope you could help and fix this problem
Hi
I continued to monitor the I2C driver and found something strange. On the following screen, the signal ?IT EVT? is a GPIO that is toggle every time I enter ?I2C1_EV_IRQHandler()? I found strange to enter this often after the address so I monitor the different IT flag and add them on the screenshot. Hope you could help and fix this problem
Hi
I continued to monitor the I2C driver and found something strange. On the following screen, the signal ?IT EVT? is a GPIO that is toggle every time I enter ?I2C1_EV_IRQHandler()? I found strange to enter this often after the address so I monitor the different IT flag and add them on the screenshot. Hope you could help and fix this problemHi
I continued to monitor the I2C driver and found something strange. On the following screen, the signal ?IT EVT? is a GPIO that is toggle every time I enter ?I2C1_EV_IRQHandler()?I found strange to enter this often after the address so I monitor the different IT flag and add them on the screenshot.Hope you could help and fix this problem2016-11-04 12:50 AM
I have the same problem (with the number of event interrupts), any news on a fix?