Possible a bug in DMA using STM32F767ZI and CUBE v5.6.0 and firmware STM32F7 1.16.0 and SW4STM32
- April 9, 2020
- 3 replies
- 1094 views
Dear ST technical support
I'm working with a temperature sensor TMP102 and NUCLEO STM32F767ZI with I2C communication mode. CUBE v5.6.0 and firmware STM32F7 1.16.0, and SW4STM32.
Well, I started to read the sensor and I tested the next commands:
HAL_I2C_Mem_Read(); //it works properly and reads the sensor
HAL_I2C_Mem_Read_IT(); // it works properly and reads the sensor
HAL_I2C_Mem_Read_DMA(); //not working, value not updated, only when RESET is pressed on the nucleo board
However the first two commands work fine, but when I'm trying to use the I2C in DMA mode, this one is not working and only update the value every time that I press reset button of the NUCLEO board. I configured the CUBE project in CIRCULAR (correct one) and NORMAL mode, but no changes.
The I2C in DMA mode should works similar to ADC in DMA mode, should update the value of the register if this one is configured as CIRCULAR mode, right?
So, I don't know what else must be wrong with my code or IOC project. I'm attaching my project with the INC, SRC, and IOC files (see "main.c" line 82 to replace 83 by DMA).
I hope you can help me to solve this issue, I will be waiting for your feedback. THANKS!
Best!
