2019-11-07 10:13 AM
The title says it already, is it possible to use both with DMA2 on the ?
It works at the moment for the audio, but I cant figure it out, how to activate it also for USART1 So I can send over the virtual com-port data to the Computer, but not in DMA. I tried to merge my Audio-Project with the UART-Example of the STM-package.
Could it be, that this is somehow not possible?
2019-11-07 10:52 AM
I've saw, that the used BSP audio-driver defined already quite a lot of dma-channels/slots. So shoud I be careful to not use same channels/slots? How can I find out, is such a conflict could be a Problem?
2019-11-08 12:28 AM
> How can I find out, is such a conflict could be a Problem?
By checking, particularly which DMA2 streams do the individual "drivers" use? If the same, that can't work.
JW
PS Please change your username to a normal nick.
2019-11-08 01:11 AM
Hm, thanks for the answer!
So I've read the reference Manual and it was quite confusing for me concerning the DMA Streams/Channels. So is that right, that each stream can be occupied only by one task/periferal? Whats about the different channels? And can I now choose the Streams/Channels freely or is a specific stream/channel bounded to a specific periferal?
I've saw in addition, that the used UART-example used 216MHz system-clock but my project uses 200MHz because of the audio-codec. Could it be, that I have to change some settings to use USART1 with DMA? Even USARt worked in not DMA-mode.