2019-09-23 04:03 AM
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.