Matlab/Simulink For SPE Target

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

Matlab/Simulink For SPE Target

Jump to solution
1,461 Views
scottobrien
NXP Employee
NXP Employee

Hello,

We are working on some CPU usage optimization on a couple of our Cobra55-based engine ECMs, and have some algorithms that are written in Matlab/Simulink (then C code is autogenerated) that take a long time to run and have a lot of math functions that can potentially be run more efficiently with SPE instructions, and are trying to figure out the best way to do that.  Do you know if there are any kind of Matlab/Simulink libraries or anything that can target the SPE?  Or do you know of other ways to easily use autogenerated code to target the SPE? 

Thanks,

Scott O

0 Kudos
1 Solution
1,207 Views
petrfajmon-b173
NXP Employee
NXP Employee

Hi scottobrien,

   yes, the most AMMCLIB functions for MPC577xC platform (e200z7 core) are highly assembly optimized using Signal Processing Engine (SPE1).

Best Regards,

Petr

View solution in original post

2 Replies
1,208 Views
petrfajmon-b173
NXP Employee
NXP Employee

Hi scottobrien,

   yes, the most AMMCLIB functions for MPC577xC platform (e200z7 core) are highly assembly optimized using Signal Processing Engine (SPE1).

Best Regards,

Petr

1,207 Views
dumitru-daniel_
NXP Employee
NXP Employee

Hi scottobrien‌,

Perhaps you can use the AMMCLIB for mathematical computations.

Recently, i've run into a similar issue https://community.nxp.com/message/997747 

I'm not sure if the AMMCLIB for MPC5xxx is using the SPE instructions.

petrfajmon-b17364‌,

Can you confirm is the AMMCLIB uses SPE instructions?

Thank you!

Daniel

0 Kudos