Hi to the community,
I created a project which is based on the LPUART example generating an interruption, but when it is called is run three times consecutively. I attached the code below.
Thanks,
Jorge
Solved! Go to Solution.
Hi Jorge,
You enabled interrupts on an active edge on RX pin (BAUD_RXEDGIE). So, any active edge generates the interrupt.
Instead of that, you can enable STAT[RDRF] to generate interrupt requests (CTRL_RIE).
Regards,
Daniel
Hi Jorge,
You enabled interrupts on an active edge on RX pin (BAUD_RXEDGIE). So, any active edge generates the interrupt.
Instead of that, you can enable STAT[RDRF] to generate interrupt requests (CTRL_RIE).
Regards,
Daniel