AnsweredAssumed Answered

STM32L1 I2C Mem Write DMA

Question asked by Lorant Bugar on Apr 21, 2018
Latest reply on Apr 21, 2018 by Joerg Wagner

Hello,

I generated the code using the STM32CubeMx 4.25.FW is 1.8.1
I'm trying to I2C communication between STM32L1(master) and SSD1306 OLED display(slave, 7bit address).
I tested with HAL_I2C_Mem_Write function it is worked fine.

I would like send most data to visualise logo etc. and I would like to using with DMA.

 

I find function  HAL_I2C_Mem_Write_DMA but dostn work.

 

I visieted examles :

verisure1512/main.c at master · pellepl/verisure1512 · GitHub 

and tried enable Event interrupt and error, but display doesnt work. Dont have Logic analyser for i2c analysis.

 

Please let me know why HAL_I2C_Mem_Write_DMA() is didn't work.

 

 

thank you.

Outcomes