MPC5744P - CAN RX Status by MBD Toolbox

cancel
Showing results for 
Search instead for 
Did you mean: 

MPC5744P - CAN RX Status by MBD Toolbox

289 Views
hbhnhbnhj1
Contributor III

Hi @mariuslucianand @lukaszadrapa,

I have a question about CAN RX status feedback.
I tried to use the【status】from【CAN Unpack】from Simulink as figure below which is part of the CAN RX interrupt.

hbhnhbnhj1_0-1649837992277.png
However, when the message is not received, the value of【Status】will still held 1 which is the value when the message is received.
That is because the【CAN Unpack 】is under the CAN message ID【Switch Case Subsystem】.
The tested code is attached.

So,
how to get the proper rx status of specific can message which will continuously update by MBD toolbox ? 

Please give me some advice, thank you.

0 Kudos
0 Replies