cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F103VET6 Multiple DMA giving incorrect data.

Kunaalkk1
Associate II

I have an STM32F103VET6 with multiple DMA Channels like UART2_RX, ADC, UART3_RX, UART3_TX, all at different priorities. The first one or two bytes of every DMA Channel becomes incorrect all of a sudden in runtime and corrects back only after power restart. Has anyone else also faced this issue? I have previously used multiple DMAs without any trouble in STM32F4 MCUs. Is it the change to Cortex-M3 that is causing trouble? I am thinking to implement a mutex (virtually, without RTOS) to restrict the DMA to one stream at a time. Is there any better solution?

 

 

0 REPLIES 0