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.

LAUNCHXL2-RM57L: Making the LIN2/SCI2 work as SCI2 (UART) with interrupts

Part Number: LAUNCHXL2-RM57L
Other Parts Discussed in Thread: HALCOGEN

Hi,

I am trying to make the LIN2/SCI2 work as SCI2 (UART) with interrupts.  I got something running but only partial success.  When transmitting, only got interrupts for the first few bytes and then everything stops.  For longer data size, the transmission never get to completion.  Receiving data behaves similarly, only receive interrupts for the first few bytes, then stops.

HALCOGEN (4.7.1) is used to configure the LIN2.  Here are the steps:

1. Enable the drivers:

2. Configure the SCI2 for interrupts

3. Enable the LIN2 high interrupt

4. Set up the PINMUX

5. Generate code.

Functions sciSend() and sciReceive() are used to transmit and receive data.  Note that I have enabled SCI3 in a similar way and it works ok.  Please advise on what I missed.

Thank you.