AnsweredAssumed Answered

USART TX problem in blocking and non-blocking mode in one main program

Question asked by Bartnik.Katarzyna on Feb 28, 2017
Latest reply on Mar 9, 2017 by Bartnik.Katarzyna

Hello! I have a problem with using usart transmit function twice in main program on STM32F4/STM32F0. First transmition should be with DMA and after it data should be send in blocking mode without using DMA. Problem is that I have to use the same usart module for each of transmitions and there is a conflict because using DMA requires USART global interrupts to be enabled and transmition in blocking mode doesn't work properly when the interrupts are enabled. I would be very grateful if you coud give me some information or any suggestions what I couls do to resolve my problem.