LINFlexD can't send data in slave mode

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

LINFlexD can't send data in slave mode

跳至解决方案
1,661 次查看
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;

标记 (1)
0 项奖励
回复
1 解答
1,541 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

yes this is stated within RM too in the DTRQ description

pastedImage_1.png

BR, Petr

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,541 次查看
yangyulong
Contributor II

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

0 项奖励
回复
1,542 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

yes this is stated within RM too in the DTRQ description

pastedImage_1.png

BR, Petr

0 项奖励
回复