6 Replies Latest reply on Aug 12, 2018 7:25 PM by ring

    Need to use more bytes from the UART tx buffer but can't understand how to use the interrupt

    pgrlopes_3232321

      Hello.

       

      I need to send 5 bytes rather than the maximum of 4 that the tx buffer from the UART component allows. I already got it in TX mode but according to the datasheet, when you increase the size of the buffer an internal interrupt is automatically enabled. However, even after reading the datasheet 3 or 4 times, i don't understand how that interrupt works. I don't know what the different interrupt options in the component setup do:

       

       

      I also don't know how to use this in my main.c code, do I need to add a new interrupt handler even though this is an internal interrupt? I would higly appreciate any sort of code example that deals with this so I could try and understand it cause right now i'm quite lost.

       

      Thanks in advance