2020-09-07 05:46 PM
I'm trying to use the DMA on an STM32 H743ZI2 nucleo dev board to continuously read values from an ADC input into a buffer.
I'm trying to follow along the tutorial here: https://www.digikey.com/en/maker/projects/getting-started-with-stm32-working-with-adc-and-dma/f5009db3a3ed4370acaf545a3370c30c
However, when I try to configure my ADC parameter settings, I do not see an option to enable DMA continuous requests, and as a result, my callback functions aren't being called.
How can I enable continuous DMA requests if this option is unavailable, or change settings such that this option appears?
Below are screenshots showing my issue:
Thanks,
chris
Solved! Go to Solution.
2020-11-12 02:45 AM
Dear @CWu.2 ,
In order to activate ADC DMA on STM32H7 you need to follow these steps:
Now you have configured ADC with DMA but you may have problem related to STM32H7 memory layout, so you will need to follow this article in order to get it working as expected.
Please use the last version of STM32CubeMX.
Hope that this solve your issue.
Best regards,
Houssem
2020-11-12 02:45 AM
Dear @CWu.2 ,
In order to activate ADC DMA on STM32H7 you need to follow these steps:
Now you have configured ADC with DMA but you may have problem related to STM32H7 memory layout, so you will need to follow this article in order to get it working as expected.
Please use the last version of STM32CubeMX.
Hope that this solve your issue.
Best regards,
Houssem