MPC5744P - CAN RX Status by MBD Toolbox

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

MPC5744P - CAN RX Status by MBD Toolbox

476件の閲覧回数
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.

タグ(4)
0 件の賞賛
0 返答(返信)