Associate
September 23, 2019
Question
Nucleo L152 HAL_I2C_Master_Transmit_IT problem
- September 23, 2019
- 0 replies
- 854 views
Hi all,
i tested two method of I2C transmit and resulted as follow.
Method 1 :
HAL_I2C_Master_Transmit_DMA(&hi2c1, 0x4E, &Data_M[0], 4);
Nothing come out at the logic analyser

Method 2 :
HAL_I2C_Master_Transmit(&hi2c1, 0x4E, &Data_M[0], 4,1000);
Data come out just nice

method 1 will do the job but the application would required a DMA method to complete the task. Please help if anyone have ever encounter the problem as above. Thanks.
