Question
STM32G050 DMA problem
I use STM32G050C8T6 DMA for the timer PWM. For the IDE I use STM32CubeIDE. Also in my code block have usart 2 comunication line.
Timer PWM work with DMA interrupt. DMA and DMAMUX configuration generated by CubeIDE.
When I start the code and if I use the USART2 , UART_WaitOnFlagUntilTimeout it calls HAL_DMA_IRQHandler.
The other problem; code generates hardfault after the __HAL_DMA_DISABLE(hdma) in HAL_DMA_Start_IT when I use Timer PWM with DMA and I use USART2 at the same time.
