STM32F4 PiL simulation very very slow
Show older comments
Hello, i ask here for understand the Pil...
I've build a motion control example, for generate gates signals for a inverter that drive a pmsm. 

in a normal mode simulation, simulink finish the 1.8 seconds of simulation in 1m30sec. If i start a pil the simulation finish to run in about 7 hours! I not understant this difference. Is a problem of the implemented motion control (sin, cos functions) in only 180Mhz core, or of the transter of data? setted to 115200 bauds and 8Mhz, standard speeds that give the tools..? can any one explain me or give a reference to study? i've googled but i've not found the answer
Answers (1)
Antonio Acampora
on 1 Jul 2020
0 votes
1 Comment
Allali Hasnaa
on 15 Jun 2021
Hello,
I'm dealing with the same problem, did you find out anything ?
Thank you.
Categories
Find more on C2000 Microcontroller Blockset in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!