Skip to main content
JSzuc
Associate II
April 1, 2019
Solved

Hi there! I try to use the "HAL_I2C_Mem_Write_DMA" routine, but the I2C instance remaining in "HAL_I2C_STATE_BUSY_TX" state after the first call. Maybe the "I2C_DMAXferCplt" routine is not executed, but I dont know why.

  • April 1, 2019
  • 2 replies
  • 791 views

..

This topic has been closed for replies.
Best answer by JSzuc

Im find it!

0690X0000089drJQAQ.png

I checked the I2C interrupts in the MX-Cube, and its working!

2 replies

JSzuc
JSzucAuthor
Associate II
April 1, 2019

I was wrong, the "I2C_DMAXferCplt" routine is executed, but the state of the instance is remain in "..Busy_TX" so no more "HAL_I2C_Mem_Write_DMA" call.

JSzuc
JSzucAuthorBest answer
Associate II
April 2, 2019

Im find it!

0690X0000089drJQAQ.png

I checked the I2C interrupts in the MX-Cube, and its working!