2015-12-30 12:56 AM
2016-01-05 01:25 PM
Is there anyone who can help?
The cause of the problem is DMA2 module. ADC3+DMA2 is not running while LCD+SDRAM running. SDRAM used DMA2 Channel 0 and Stream 0ADC3 used DMA2 Channel 2 and Stream 0ADC and SDRAM using different channels. But it does not work simultaneously.What could be the problem?Thanksbut it
does not work
simultaneously.
2016-01-05 04:25 PM
Is there anyone who can help?
There doesn't seem to be... Forums can be like talking into an empty room. If it's like the F4 DMA implementation you need to use unique streams, not channels.2016-01-08 12:17 AM
2016-01-08 04:31 AM
So what can be done about it?
I don't know, use *different* Streams? My guess is your SDRAM one is Memory-to-Memory, can't you pick some arbitrary Stream for that? The ADC3 can use Stream 0 or Stream 1. Remember the CHANNEL is a knob to select a trigger source, the STREAM is a physical controller, and DMA2 has EIGHT of them each handling a unique source.2016-01-08 02:43 PM
hi clive
Thank you for the replyYes, I looked at the table. ADC3 only works with Stream 0 or Stream1. I tried them all. But I can not run.Do you want to examine the my project.?2016-01-08 04:29 PM
Not really, the HAL/F7 is stuff is outside my area of interest/expertise, perhaps some of the ST staff or FAE's can step up and support their products.
Does the ADC work if you don't use the LCD?2016-01-09 01:35 AM
2018-03-21 10:05 PM
I had similar problem on STM32F429 and the solution is to change the ADC DMA stream to other than stream 0. LCD is using DMA stream 0 that's why LCD and ADC-DMA wasn't working before.