Saturday , 23 January 2021

DMA transfer in interrupt mode

Viewing 1 post (of 1 total)
  • Author
  • #13900

    Hi all, i am trying understand why in the example of UART DMA trasnfer in interrupt mode the author enables the UART related interrupt.

    I mean it is not the UART to generate the interrupt but the DMA when trasfer is completed, so why he needs to enable UART interrupts?

    The author writes in chapter 9.2.7 Using the HAL_UART Module With DMA Mode Transfers,
    one of key points is :

    • enable the UART related interrupt and call the HAL_UART_IRQHandler() routine from its ISR
    (this is really important, do not skip this step);


Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.