cancel
Showing results for 
Search instead for 
Did you mean: 

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.

JSzuc
Associate II
 
1 ACCEPTED SOLUTION

Accepted Solutions
JSzuc
Associate II

Im find it!

0690X0000089drJQAQ.png

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

View solution in original post

2 REPLIES 2
JSzuc
Associate II

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
Associate II

Im find it!

0690X0000089drJQAQ.png

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