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.

TMS570LS3137: Halcogen configurations for LIN in SCI mode to generate interrupts

Part Number: TMS570LS3137
Other Parts Discussed in Thread: HALCOGEN

Hi Sir,

I use the customized hardware with the TMS part number as mentioned above.

There are LIN module and the SCI module. I prefer the SCI module only for the debug purpose.

The LIN in SCI mode i.e SCI2 is used for communicating with an external peripheral. 

kindly, suggest me on the halcogen configuration to enable the interrupt on LIN in sci mode.

  • Hello Vivek,

    In VIM channel 0~31, please check channel 13 or channel 27 to enable LIN/SCI interrupt
    In SCI2: Enable the any interrupts you want to use (TX, RX, or errors interrupts)

    After you enable the interrupt in VIM, the interrupt routine (ISR) will be generated in sci.c.
  • QJ Wang said:
    Hello Vivek,

    In VIM channel 0~31, please check channel 13 or channel 27 to enable LIN/SCI interrupt
    In SCI2: Enable the any interrupts you want to use (TX, RX, or errors interrupts)

    After you enable the interrupt in VIM, the interrupt routine (ISR) will be generated in sci.c.

    Hello Wang,

    Thank you! 

    It seems that i need to specify the "g_sciTransfer_t[1U].rx_length" well before i can enable the SCI notification for data receive.

    Thanks and regards

    Vivek