This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

UART & uDMA reception interrupt

Hello,

I'm using TM4C129X microcontroller, i'm trying to use the uart DMA RX but the problem is that when the interrupt triggered to indicate transfer completion i can't clear the interrupt flag using UARTIntClear function (the UART DMA RX flag bit stayed set in the UART raw interrupt status register and the masked interrupt status register) so what should i do to clear it before start new transfer.

Regards

Ahmed

  • Hi Ahmed,

    Can you paste how you set up the DMA and the UART here?
    Also the interrupt handler would help.

    Check this out if this helps:
    e2e.ti.com/.../414362
    I think you are having the same problem as I had, check the second page, Amit's verified answer
  • May I say, "Excellent, Luis!"
    Unguided posters - most always - fail to fully/properly consider the "requirements of their helpers!"    Easy fix - yet HQ continues in their "failure to respond..." 

  • Hello Luis

    Maybe you have developed a better mechanism of marking threads. May you share that with me (my system is broken beyond repair and I hate the patch work)

    Regards
    Amit
  • I actually remembered it from head - it was a problem I had after all. I just went to the threads I started and there it was.
    I don't participate in nearly same number of threads as you so it's easier.

    For projects and saving good info links I usually use an excel sheet in a paste called "useful info".
    There's like one for Tiva, one for this and that. Then if it's something extent like the Tiva I sometimes create multiple sheets inside that excel file.