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.

MSP432P401R: MAP_UART_getEnabledInterruptStatus masks out UCTXCPTIFG

Part Number: MSP432P401R

Hi,

There is a problem with the MAP_UART_getEnabledInterruptStatus driver API. It is always masking out the UCTXCPTIFG bit.

In my UART ISR, I have to replace this line:

uint32_t status = MAP_UART_getEnabledInterruptStatus(EUSCI_A2_BASE);

with:
uint32_t status = UCA2IFG & UCA2IE;

to get the EUSCI_A_UART_TRANSMIT_COMPLETE_INTERRUPT_FLAG bit set.

  • Jeffrey,
    Thanks for noticing this. In looking at the code I see that the Transmit-complete interrupt is not included in those checked by the API. I have filed a ticket to get this added to the UART_getEnabledInterruptStatus() API in the next available SDK update.
    Regards,
    Bob L.

**Attention** This is a public forum