Skip to main content
JSzuc
Associate II
Apr 1, 2019 5:50 PM UTC
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.

..

This topic has been closed for replies.
JSzuc
JSzucBest answer
Associate II
Apr 2, 2019 7:08 AM UTC

Im find it!

0690X0000089drJQAQ.png

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

2 replies

JSzuc
JSzucAuthor
Associate II
Apr 1, 2019 5:55 PM UTC

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
Apr 2, 2019 7:08 AM UTC

Im find it!

0690X0000089drJQAQ.png

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