Tuesday , 27 October 2020
iten

DMA transfer in interrupt mode


Viewing 1 post (of 1 total)
  • Author
    Posts
  • #13900
    kekkoian
    Participant

    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);

    WHY????????????????????


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