STM32H743 I2C DMA SCL Stays Low after getting Slave Address ACK
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-12-30 2:30 AM
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
Labels:
- Labels:
-
DMA
-
I2C
-
STM32H7 Series
0 REPLIES 0
