LINFlexD can't send data in slave mode

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LINFlexD can't send data in slave mode

ソリューションへジャンプ
852件の閲覧回数
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 解決策
732件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

yes this is stated within RM too in the DTRQ description

pastedImage_1.png

BR, Petr

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
732件の閲覧回数
yangyulong
Contributor II

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

0 件の賞賛
733件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

yes this is stated within RM too in the DTRQ description

pastedImage_1.png

BR, Petr

0 件の賞賛