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.

DRA829V: Invalid Header during LIN transmission

Part Number: DRA829V
Other Parts Discussed in Thread: DRA829

Hello:

We are facing "Invalid Header" issue while testing LIN transmission using Vector CANoe. (data from ECU to CANoe)

We are using LIN implementation with TLIN2029DRBRQ1 transceivers. It is based on lin_test in TI SDK 6.2.
This implementation is done on MCU_2_1 core.
The baudrate settings (9600, frequency 48000000) are same as lin_test.c in TI SDK 6.2. (psdk_rtos_auto_j7_06_02_00_21/pdk/packages/ti/board/diag/lin/src/lin_test.c)
LIN is in MASTER mode. Interrupts are disabled.
We also enabled clock using "local_moduleClockEnable(TISCI_DEV_UART3);". This is similar to patch for CAN clock enabling.
(e2e.ti.com/.../931992
e2e.ti.com/.../3500303

UART instance: 3
UART base address: 0x2830000UL

Test LIN pins on J7: AE27 (Rx) and AD26 (Tx): it is connected to UART 3.
Pad config is also selected accordingly:
UART Rx: Padconfig46: muxmode: 8: addr offset: 0x1C0B8
UART Tx: Padconfig47: muxmode: 8: addr offset: 0x1C0BC
Padconfig value: 0x60008U

In UART driver, we get the data transmit as: (added traces)
UART_write: hndl:0xa31fc414 0x0 0x20 0x55 0x2 0x0 0x0 0x1 0x2 0x3 0x4 0x5 0x6 0x7

The Vector CANoe setting for LIN is:
LIN protocol 2.0. Baudrate: 9600.

Please let us know if there are changes to be made in SW (clock or CANoe settings.

Regards,
Venu H

CANoe trace: