MPC5748G CANFD

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

MPC5748G CANFD

936件の閲覧回数
tony_huang
Contributor III

Hi,

      My team is using mpc5748g canfd interrupt module,and I  initialized can1 channel for canfd function.  

My code enters the can receive interrupt and need distiguish can2.0 or canfd messages, because the length

of them are different. 

     Here my questions,how can  I  distiguish can2.0 or canfd messages? I don't think 

the MB[0].CS.B.BRS registers is the good choice.

QQ图片20170502173300.jpg

QQ图片20170502174037.jpg

0 件の賞賛
返信
2 返答(返信)

717件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

Both the EDL and BRS bits of MB Control word are set based on received message. Thus EDL distinguishes between CAN format and CAN FD format frames and BRS defines whether the bit rate is switched inside a CAN FD format frame.

BR, Petr

0 件の賞賛
返信

717件の閲覧回数
tony_huang
Contributor III

Thank you, I'll try.

0 件の賞賛
返信