MPC5748G CANFD

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

MPC5748G CANFD

696 Views
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 Kudos
2 Replies

477 Views
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 Kudos

477 Views
tony_huang
Contributor III

Thank you, I'll try.

0 Kudos