Skip to main content
mkim.51
Associate II
Dec 14, 2018 2:06 AM UTC
Question

STM32F411 I2C DMA FUNCTION QUESTION

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.

​

This topic has been closed for replies.