STM32h745 ADC+DMA in cortex M4 continuous in Busy state
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-27 9:20 PM
Hello,
I am working on STM32h745 controller. In cortex M4 I enable two ADC3 channels. Read the ADC value using DMA method. Only one time I get the ADC value after that it shows busy. Also I changes the sampling time, but no effect. But that ADC3 channels properly work in cortex M7 using DMA method.
Can you please help me.
- Labels:
-
ADC
-
DMA
-
STM32CubeMX
-
STM32H7 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-28 6:08 AM
Hello @MDeva.1​,
Based on your configuration, you need to configure SRAM4 to store peripheral input/output data in D3 domain.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-02-28 8:41 PM
But how I can store in SRAM4, in Cortex M4 in flash.ld there is only one RAM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-03-01 8:06 AM
According to the reference manual, SRAM4 is the only RAM accessible by BDMA and ADC3.
I guess the linker for FLASH CM4 in IAR is correct. I will check the missing memory area in CM4 and get back to soon.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-03-01 8:50 PM
In cortex M7 I read the ADC3 is working properly but when I tried to CM4 it goes in busy state.
