Associate II
January 5, 2022
Solved
Using ADC with DMA on H7 causes DMA transfer error
- January 5, 2022
- 3 replies
- 2560 views
Hello,
I am trying to use circular DMA to transfer data from ADC1 into a buffer using CubeMX-generated code to configure the ADC and DMA. The DMA stream encounters a transfer error on transferring the first item.
The device is an STM32H743.
Using a debugger it can be seen that the program excute HAL_ADC_ConvCpltCallback()
and right after it gets to HAL_ADC_ErrorCallback()
Atatched are captures of the CubeMX configurations.
I assumes that it is related to anouther DMA isue that I am experincing with the I2C:
Any Ideas?
