2024-10-20 10:35 PM - edited 2024-10-20 10:36 PM
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?