Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

System Workbench for STM32


how can explain me why, for 1.8 seconds of PiL simulation with Simulink and STM32F429i, i need 8 hours?

hello,
i’m Antonio and i hope that someone can give me some information about my question _-_.
I’ve make a simulink motion control model, and i’ve implemented FOC control+SpaceVector-PWM (i’ve used sin() cos() functions for Park’s transforms) and in pc pure simulation for 1.8 sec Simulation time and fixed step discrete of 1millisec i need about 1minute 30seconds of run.
If i set PiL mode, and follow the instructions of STM32_MAT-TARGET_HandsOn the simulation run, but it need about 8 hours for complete...
i have the STM32F429-disc1 and in STMcubeMx i set the heap size at 0x400, the SYSCLK and HCLK at 180Mhz, transfer speed@ 115200 bauds, and in sys section, i’ve set Debug = Trace Asynchronous SW..
The sw uploaded on the board is only 0,32 Kbytes. why de PiL is very slow? is possible check if is the compute the issue or my settings?
Thanks to all!
Clocksetting
Compute Completo

after other 2 freezed simulation, i’ve received some output, but..... i not understand. Someone know if are good times?
Profiling1 Profiling1bar Prifiling Time Curva
In a Top model i’ve set the inverter block at frequency of 8Khz.
If the average time execution time (i suppose it’s the time taken from the input of all the references, to the output for the gates) is 50178 nano_seconds and the switching period is Psw=1/8Khz=125 micro_seconds, i have: 50,178micro_sec < 125 micro_sec, i can tell thet the code work fine on the STM32?

Someone can explain me if is correct?


 

Newest Forum Posts

  1. reservation car service Seattle by Jamesprede, 2025-05-01 10:06
  2. Last day: drone bonus by Danielrug, 2025-04-19 16:55
  3. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  4. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  5. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  6. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  7. Insightful Perspectives on This Subject by davidsycle, 2025-03-04 05:45
  8. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  9. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  10. Build a project in "release" mode by tang, 2025-02-20 10:36

Last-Modified Blogs