FlexCAN Receive model in Model Based Design ToolBox for S32k

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

FlexCAN Receive model in Model Based Design ToolBox for S32k

1,687件の閲覧回数
李风heart
Contributor II

Hi:

   I 'm using FlexCAN Model in MBD ToolBox, I change the example model flexcan_s32k14 like this: pastedImage_219.png

pastedImage_224.png

pastedImage_225.pngI send a Message (ID:0X3FE) to the S32k144 EVB. It send the message (ID:0x3FB) back.The question is why the data in message EVB sends out(ID:0x3FB) always the last Data it receievd, how to make the data be zeros or a default value while I didn't send Message for longer.

My MBDToolBox Version is V3.0.

0 件の賞賛
返信
3 返答(返信)

1,499件の閲覧回数
constantinrazva
NXP Employee
NXP Employee

Hello 李风heart‌,

Can you share your model? Or just the part with CAN that is of interest? I'd like to take a look and get a better understanding of what you are doing versus what you want to achieve and looking into the model would help.

Kind regards,

Razvan.

0 件の賞賛
返信

1,499件の閲覧回数
李风heart
Contributor II

Hi constantinrazvan.chivu,

   This is my demo model, I just want to make the data in Message '0X3FB' be zeros while I didnot Send '0x3FE' to S32K board.

   By the way, my MBDToolBox version is V3.0.

0 件の賞賛
返信

1,499件の閲覧回数
constantinrazva
NXP Employee
NXP Employee

Hello 李风heart‌,

Can you check you have sent the correct model? I'm having trouble opening it - I've tried in MATLAB R2017b, 18a, 19a, and the error is the same.

pastedImage_1.png

It would be good if you could export the .slx to .mdl format.

Kind regards,

Razvan.

0 件の賞賛
返信