Problem with UART transmission, while Timer interrupt is enable. STM32F411
I want to read the data from UART and write it to the GPIO port which is connected to the 16 bit DAC.
I am facing problem as any UART1 or UART2 is not working when Timer interrupt is enabled.
100MHz CPU clock and 50MHz Timer 4 clock with the PWM output on Channel 3 of 12MHz, timer count 8 and pulse count 4. Using Half pules complete callback to write data on GPIo ODR registor. At the same time also receive data from UART. But the UART receive function is not working.
The timer interrupt routine is working but unable to receive data from UART. Is this due to the MCU is busy executing interrupt routine as this routine is call after every 16 CPU Clock cycles and thus that are no enough to execute UART Receive function.
What is the solution for this?
