STM32H7,STM32H743 ADC with DMA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-10-11 6:09 AM
In summer 2017, I started an project with the STM32F767 on the Nucleo board, because the H743 was still announced but not available. For some weeks I got the new Nucleo board of the STM32H743.
After I transferred the code from the F767 to the H743, I recognized the not working DMA interrupt. The DMA interrupt was working on the 767 perfectly. So I reduced the code of the F767 and the H743 (by using cube) to only this function for see what�s the difference.- TIM3 managed 4 PWM Signals (22KHz) and triggers the ADC1 on falling edge and call the interrupt call back function. (LED GREEN toggles).
- When ADC1 conversion is finished, the DMA is triggered and copies the data.
- When the DMA transfer is completed, the call back function is called, and the BLUE LED toggles
I can�t see, why the interrupt for the DMA at the STM32H743 is not working!
Have somebody done something like this already and was successful?
I put both projects for Cube and the AC6 workbench to the attachment. Hope somebody can help me.
BR Volker
#stm32h743 #stm32h7Solved! Go to Solution.
- Labels:
-
ADC
-
DMA
-
STM32H7 series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-06-09 7:55 AM
Both correct, the one in the zip file is I think the older one. But the princip is the same
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-07-10 6:30 AM
I have tried but I failed, You can show code about DMA ADC in MDK Keil C , Please help me!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-10-03 4:44 AM
Dear Mr. Volker, can u plz share the files that need modification. I am working on STM32H743ZI Nucleo board.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-10-17 10:23 AM
hello, i also have that problem , i want to use adc with dma in stm32h743 board and it does't work, after dma start ,no value come into the dma buffer. how can i fixed it using stm32cubemx.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-10-17 10:44 AM
i m using keil ide for progrmming.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-04-22 5:54 AM
Hello there! Thanks a lot for your solution. It is very helpful. I had the same problem.
But I made only one change:
hadc1.Init.ConversionDataManagement = ADC_CONVERSIONDATA_DR;
to
hadc1.Init.ConversionDataManagement = ADC_CONVERSIONDATA_DMA_CIRCULAR;
I didn't made any changes with linker Script.
In according to screenshot below my variable ADC1_Data[ADC_BUFFER_SIZE] located in D1 domian section:
And all works fine :ok_hand:

- « Previous
- Next »