MPC5606B LINFlexD salve mode ,can't transmit data ;the Header Received Interrupt is trggier and set DIR = 1, DFL=7,DTRQ=1 in the ISR;but no data transmit on the bus.where is my fault.
//******code**********
LINFLEX_0.BIDR.B.DFL = 7;
LINFLEX_0.BIDR.B.CCS = 0;
LINFLEX_0.BIDR.B.DIR = 1;
LINFLEX_0.LINCR2.B.DTRQ = 1;
Solved! Go to Solution.
I got it. The transmit need to set DTRQ first,then clear Head receive interrupt flag.
Hi,
yes this is stated within RM too in the DTRQ description
BR, Petr