LINFlexD can't send data in slave mode

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LINFlexD can't send data in slave mode

Jump to solution
838 Views
yangyulong
Contributor II

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;

Tags (1)
0 Kudos
1 Solution
718 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

yes this is stated within RM too in the DTRQ description

pastedImage_1.png

BR, Petr

View solution in original post

0 Kudos
2 Replies
718 Views
yangyulong
Contributor II

 I got it. The transmit need to set DTRQ first,then clear Head receive interrupt flag.

0 Kudos
719 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

yes this is stated within RM too in the DTRQ description

pastedImage_1.png

BR, Petr

0 Kudos