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.

MSP430 UART INTERRUPT

Other Parts Discussed in Thread: MSP430F5338

Hello 

I am using msp430f5338 in my design.

I am using UART of USCI_A0.

I am writing folowing ISR for UART RX but it is giving error.

#pragma vector=USCIA0RX_VECTOR
2 __interrupt void USCIA0RX_ISR (void)
{

Code here 


}

Pls let me know  if  this is incorrect?

pls give me correct ISR defination.

Thanks 

Manish 

  • Hi,

    what is the error output?

    Looking to your post, there might be a typo:

    manish bhatt1 said:

    #pragma vector=USCIA0RX_VECTOR

    2 __interrupt void USCIA0RX_ISR (void)
    {

    Code here 


    }

    Does the "2" really come from your code? It shouldn't be there.

**Attention** This is a public forum