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.

TMS320F280049: LIN module: unexpected writing data into LINRD registes when writing LINTD register

Part Number: TMS320F280049

Hi expert,

My customer is developing with F280049-Q1 and used LIN peripheral to communicate with host (LIN master). F280049 acting as LIN slave and communicate the host with polling (no interrupt).

Issue: when they put data in LINTD0 and LINTD1 registers, LINRD0 and LINRD1 will receive these data which is unexpected. In this circumstance, LIN salve can send out data normally but unexpected data in LINRD0 and LINRD1 will raise issue in other application functions.

Thanks

Sheldon

  • Hi Sheldon,

    To better debug the problem, please provide more details:

    1. Is the Loopback mode disabled? 

    2. Is the IDMASK different for TX and RX? 

    3. Do you receive the data as soon as it is transmitted? Is their a possibility that once the slave has transmitted the data Master node received it and transmitted the same data on LIN bus which is received by the slave (provided the IDMASK is same for transmit and receive)?

    Thanks,

    Nirav