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.
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