cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F411 I2C DMA FUNCTION QUESTION

mkim.51
Associate II

I'm using STM32F411RCT chip and using I2C3

slave is BMP280 * 2ea and HDC1080

The bmp280 is implemented as a function of HAL_I2C_Mem_Read.

HDC1080 is implemented as a function of HAL_I2C_Master_Transmit & HAL_I2C_Master_Receive

now, I change this function from polling to DMA for speed and to increase the utilization of the chip.

However,

I turned on the DMA function in CUBEMX and changed the function, but the data in the SLAVE that was working normally is not working. 

I don’t' know the reason.

0 REPLIES 0