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.