Unable to see input coming to CAN in FREEMASTER

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

Unable to see input coming to CAN in FREEMASTER

530件の閲覧回数
arjunarn
Contributor I

Hi Team,

I have implemented MBDT system to receive CAN signals from an external IVT sensor and read the signal using NXPS32K144 board and observe the same in Freemaster. But all the variables show zero in it. Please check the model i have uploaded and suggest for any corrections or settings change to be made.

 

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

431件の閲覧回数
arjunarn
Contributor I

The freemaster is showing the output as in the figure. All the data field is zero.

0 件の賞賛
返信

424件の閲覧回数
SorinIBancila
NXP Employee
NXP Employee
Hello @arjunarn,

One possible problem with your model (I didn't see it at first) might be the fact that you configure the FCAN Receive buffer at every step.
You can consult 'flexcan_s32k14x' example to see how you can initiaze the fcan receive only at the startup of the application.

My suggestion is to start from an existing example model (make sure you copy paste it before so you can always have the original one available) and modify it to work accordingly to your requirements.

Best regards,
Sorin Bancila
0 件の賞賛
返信

412件の閲覧回数
arjunarn
Contributor I

Hi SorinlBancila,

Thank you for your response, i will try the same what you have mentioned.

0 件の賞賛
返信

443件の閲覧回数
SorinIBancila
NXP Employee
NXP Employee

Hello,

At the first glance, the model seems to be ok. Can you please add another variable (apart from the ones used by the CAN blocks) to check if the model is properly running (like a variable incremented at every execution step)? 

Below are a few suggestions that might solve your problem:

  • Make sure the latest .elf file is selected in FreeMaster settings.

SorinIBancila_0-1709122073617.png

 

  • Check if the variable address is valid (blue rectangle) and  make sure the refresh time is not set on "Once" (red rectangle).

SorinIBancila_1-1709122260170.png

 

Best regards,

Sorin Bancila

 

 

0 件の賞賛
返信