cancel
Showing results for 
Search instead for 
Did you mean: 

BDMA -Availability depends on devices.

A.Caliskan
Associate II

hello

ı use stm32h723zg and ı use bdma for adc3 , I was wondering if bdma can be used with adc3. I looked in the reference guide but couldn't find it. I will be glad if you help.0693W00000HnnvbQAB.png

15 REPLIES 15

I didn't look at the memory location. Does it matter? How can I assign?

There was no problem in DMA1-2

0693W00000HnhZeQAJ.jpgYes, because they have a richer bus matrix for connectivity.

BDMA_InitStruct.MemoryOrM2MDstAddress=0x38000000; // To test

You could assign a pointer

Alternatively describe the memory region in the Linker Script and use __attribute__ section directives to push into that region.

https://community.st.com/s/question/0D53W00000EndyuSAB/cannot-get-bdma-dma-channel-to-work-but-dma-works-dma-stream

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

I did what you said. But the result did not change, the image is below0693W00000HntLKQAZ.png

Assuming that CubeIDE is incapable of dumping the BDMA registers perhaps you can send that data via a console/terminal connection.

The ADC likely wants a continuous/circular DMA, and it's not clear why reading the same register in a tight while loop would be helpful here.​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Thanks for your reply, I will do what you say