SMTM32F767XXX - USART3 and UART7 share the same DMA streams, but different Chanell, ¿How can I change the DMA Stream Chanell on run time?
Hi,
I'm using STM32F767NGHXX for a project. It is mandatory for me to use USART3 and UART7. I want to use both uarts with DMA transmissions but this 2 uarts use the same DMA Streams. Other option could be use one with DMA and the other use normal UART Functions. The problem is that one of the requirements for this project is to use as less blocking functions as possible, so DMA functions are better in this case as long as they use less the micro.
Therefore I'm trying to deInit both UARTs + DMA and reInit them with or without DMA config (depending on which UART needs to transmit, it will be using the DMA that time), but I'm not able to make it working. Once I link one Uart to the DMA at the beginning of my code, it would be the only one that I could use with DMA. (Once the Chanell is selected for a DMA Stream, it seems to not be possible to Change)
Know anyone how to make this change in the Selected Chanell in the DMA Stream)?
Or Is it impossible and have I to use one UART with DMA and the other one with normal (IT) UART Functions)?