Hi Petr,
According to your suggestion, when LinflexD as master needs to set HTRQ so that break, sync frame could be sent and appear on Tx pad.
Now the LinflexD as master could send or receive data from slave.
Thanks for your help.
The next topic using LinFlexD as slave with no filter.
The following initial setting the same as master, the only one difference is MME set 0.
void Drv_LinFlexD1_init(void)
{
/* enter INIT mode */
LINFlexD_1.LINCR1.R = 0x0081; /* SLEEP=0, INIT=1 */
/* wait for the INIT mode */
while (0x1000 != (LINFlexD_1.LINSR.R & 0xF000)) {}
LINFlexD_1.LINFBRR.R = 8;
LINFlexD_1.LINIBRR.R = 325;
LINFlexD_1.LINCR2.R = BIT17_BIG; /* IOBE=1, Bit error resets LIN state machine */
LINFlexD_1.LINTCSR.R = 0; /* LIN timeout mode, no idle on timeout */
//-------- Pad setting --------------------
/* Configure pad PF14 for AF1 func: LIN1TX */
SIUL2.MSCR[94].R = 0;
SIUL2.MSCR[94].B.SSS = 1; /* Pad PF14: Source signal is LIN1_TXD */
SIUL2.MSCR[94].B.OBE = 1; /* Pad PF14: Output Buffer Enable */
SIUL2.MSCR[94].B.ODE = 1; /* Pad PF14: Output Drain Enable */
SIUL2.MSCR[94].B.PUS = 1; /* Pad PF14: Pull up selected */
SIUL2.MSCR[94].B.PUE = 1; /* Pad PF14: Pull Enable */
SIUL2.MSCR[94].B.SRC = 3; /* Pad PF14: Maximum slew rate */
/* Configure pad PF15 for LIN1RX */
SIUL2.MSCR[95].B.IBE = 1; /* Pad PF15: Enable pad for input - LIN1_RXD */
SIUL2.IMCR[166].B.SSS = 3; /* LIN1_RXD: connected to pad PF15 */
LINFlexD_1.LINCR1.B.MBL = 3;
LINFlexD_1.LINCR1.B.MME =0;
//---Interrupt unmask
INTC_0.PSR[380].R = 0x8003;
INTC_0.PSR[381].R = 0x8003;
INTC_0.PSR[382].R = 0x8003;
LINFlexD_1.LINSR.R = 0xFFFFFFFF; //Clear interrupt flag
LINFlexD_1.LINIER.B.DTIE = 1; //Data Transmitted Interrupt enable
LINFlexD_1.LINIER.B.DRIE = 1; //Data Transmitted Interrupt enable
LINFlexD_1.LINCR1.B.INIT =0;
/* wait for the INIT mode */
while (0x2000 != (LINFlexD_1.LINSR.R & 0xF000)) {}
}
Then the master always sends header to send or receive data from slave during initialization.
I have a question:
1.After slave initial done. And HRF bit is 1.
The LINFlexD_LINSR shows 0x7141.
The LINFlexD_LINESR shows 0x5100.

Why it always shows frame error?
And LINFlexD_LINSR.LINS=7 shows received and Identifier field is available?
Is there have slave coding procedure to reference?
Please give me some help thanks.