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
1,212 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
Reply
1 Solution
1,092 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
Reply
2 Replies
1,092 Views
yangyulong
Contributor II

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

0 Kudos
Reply
1,093 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
Reply