s32k146 - External mode - Simulink 2022b

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

s32k146 - External mode - Simulink 2022b

373 次查看
arpsa
Contributor I

Hi,

I'm working with a S32K146EVB-Q144 board, programmed from Simulink version 2022b.

I'm capable of flashing it with very basic codes, but so far I haven't been able to run it in external mode, and I can't find documentation on how to do that.

Question 1: Is it possible to do it from my version of simulink?

Question 2: If it is possible, then what am I suppose to change in the code (I can't attache code to this message, so check following screenshots - its very basic)

arpsa_0-1733851487371.pngarpsa_1-1733851514471.png

arpsa_2-1733851529178.png

arpsa_3-1733851542597.png

And the following configuration:

arpsa_4-1733851592272.pngarpsa_5-1733851613337.png

arpsa_6-1733851645331.png

Note that on this last figure, if I check "External mode" then nothing works anymore. I can't even flash it.

Question 3: Once parametrised correctly, what is the procedure to enable the external mode? Use the SIL/PIL app, or the embedded coder app of simulink?

Objective: Change the values in the constant blocks "a" or "b" and get their sum on the dispay block while seeing the LED turning on when this sum is <3.

 

Thank you in dvance for your support

0 项奖励
回复
0 回复数