s32k146 - External mode - Simulink 2022b

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

s32k146 - External mode - Simulink 2022b

382件の閲覧回数
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 返答(返信)