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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
1,306 Views
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 Kudos
1 Solution
1,265 Views
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

 

View solution in original post

4 Replies
1,300 Views
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 Kudos
1,285 Views
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 Kudos
1,266 Views
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

 

1,260 Views
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!