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.

Compiler/TMS570LS1224: lin

Part Number: TMS570LS1224
Other Parts Discussed in Thread: HALCOGEN, TMS570LC4357

Tool/software: TI C/C++ Compiler

Hi,

i am using tms570ls12xx launchapad . I am new to this. please how tostart lin communication

what is hardwares connection for  loop back and program for lin communication.

please guide me.

thanks and regards,

Mitryi

  • Hello,

    You can enable LIN driver from HALCoGen. When enabled, lin.c and lin.h will be generated.
    There is an example code for LIN under HALCoGen examples for TMS570LC4357 MCU that can be used as reference. Also description how to configure the board can be found under HALCoGen->Help-->Help topics-->Examples

    If you intend to connect external module you will need a transceiver.

    Best regards,
    Miro

  • Hi,

    Thanks for the reply. how to connect wire for LIN loop back. can you send the wire connection diagram for that and document. 

    Thanks 

    Mitryi

  • Hello,

    linEnableLoopback(linREG1,Digital_Lbk); from the example ( finction is declared in lin.c ) enables internal digital loopback and you dont have to make any external connections.

    Best regards,
    Miro