Do you need the real-time toolbox to run external mode on S32K148EVB?

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

Do you need the real-time toolbox to run external mode on S32K148EVB?

ソリューションへジャンプ
2,761件の閲覧回数
Poley
Contributor V

Hi,

I have received my S32K148EVB dev kit and was looking at getting external mode working.

I currently have the standard for code gen:

Matlab
Simulink
Embedded Coder
Simulink Coder
Matlab Coder

If I try and run the external example I get "Application BuildInfo does not exist: buildInfo.mat."

Is this because I don't have the right tool box or something else?

Thanks in advance!

 

0 件の賞賛
返信
1 解決策
2,720件の閲覧回数
mariuslucianand
NXP Employee
NXP Employee

Hello @Poley 

You have to go to Default parameter behavior to Tunable

mariuslucianand_0-1614637093150.png

Additional settings that you can make can be to change the solver to "auto" you can decrease the sample time, which is now 0.1 to 0.001 to see some results on the led and to check the "Automatically handle rate transition for data transfer".

mariuslucianand_1-1614637164698.png

In addition, I've added a PWM signal to the Green LED.

Hope this helps,

Marius

 

元の投稿で解決策を見る

4 返答(返信)
2,755件の閲覧回数
mariuslucianand
NXP Employee
NXP Employee

Hello @Poley 

Please have a look on this thread. You can find the instructions on how to use the external mode here:

https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/Unable-to-Deploy-and-Start-External-Mode-E...

Hope this helps,

Marius

0 件の賞賛
返信
2,740件の閲覧回数
Poley
Contributor V

Hi @mariuslucianand,

Thank you that made it so I can connect.

I don however get an error whist trying to change the value in the example model:

Poley_0-1614605611528.png

 

This is after I changed the constant block from inf to -1 sample time as that was also causing an error.

 

Thanks

 

 

0 件の賞賛
返信
2,721件の閲覧回数
mariuslucianand
NXP Employee
NXP Employee

Hello @Poley 

You have to go to Default parameter behavior to Tunable

mariuslucianand_0-1614637093150.png

Additional settings that you can make can be to change the solver to "auto" you can decrease the sample time, which is now 0.1 to 0.001 to see some results on the led and to check the "Automatically handle rate transition for data transfer".

mariuslucianand_1-1614637164698.png

In addition, I've added a PWM signal to the Green LED.

Hope this helps,

Marius

 

2,715件の閲覧回数
Poley
Contributor V

Ah perfect, thank you!

Just need to figure out how to get the switches working now on my other post, thanks for the help!