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.

CCS/TMS570LS0432: LIN BUS Problem

Part Number: TMS570LS0432
Other Parts Discussed in Thread: HALCOGEN

Tool/software: Code Composer Studio

Hi

I am using tms570ls0432 mcu with recomented LIN transceiver. When I try to send data from mcu and try to observe this data on BabyLIN device I am getting "error in id parity" message but when I try to observe this data on osciloscope I can observe header frame correctly but message frame cannot be observed which means linsendHeader function is working correctly but linsend is not.

I would like to ask about recomented Halcogen settings for LIN communication.

Regards.

  • Hello,

    The ID field consists of 6-bit identifier and 2 optional bits as parity of the identifier. The LIN module doesn't calculate the parity automatically. The user code should calculate using the following formula:

  • Hello Wang,

    Thank you very much for your answer. I added parity bits now I can observe messages. I have one more question. I am having trouble while debuging with CCS. I want to see received messeages on the debug screen I can see 9-10 messages and after some time communication stops(It is not stopping in the normally run mode). What can be the problem?

    Regards