Associate II
December 30, 2021
Question
STM32H743 I2C DMA SCL Stays Low after getting Slave Address ACK
- December 30, 2021
- 0 replies
- 1162 views
Hello,
I am using STM32H743 in master mode with I2C_4 in DMA Mode (configured using CubeMX, see attached capture).
After sending command:
HAL_I2C_Master_Transmit_DMA(&hi2c4, (uint16_t) ADT7411_ADDRESS, TxBuff, 2);
I get an ACK from the slave but SCL line stays low and the 2nd and 3ed bytes does not send by the MCU.
When working with I2C_4 in IT mode there is no problem.
HAL_I2C_Master_Transmit_IT(&hi2c4, (uint16_t) ADT7411_ADDRESS, TxBuff, 2);
Do you have any Idea what am I doing wrong?
Atatched are the scope captures and the CubeMX configuration.
Thansk,
Maor
