MPC5744P - CAN RX Status by MBD Toolbox

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MPC5744P - CAN RX Status by MBD Toolbox

488 次查看
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 回复数