Embedded coder code generation for STM32 devics

14 visualizaciones (últimos 30 días)
sourav
sourav el 22 de En. de 2026 a las 12:58
Editada: sourav el 22 de En. de 2026 a las 13:28
I have prepared a SVPWM module in simulink. I want to generate code via embedded coder and use it in keil IDE to generate svpwm in stm32 device. I want to make the code independent from HW. So i do not use any stm32 block.
So this module takes rpm and generates dutycycle counter.
My idea is to integrate generated code in keil ide and run it inside a timer interrupt of stm32 and generate svpwm. Could you please help me the necessary srtting in embedded coder to generate c code which is compatible to build the project in keil IDE for stm32?
  2 comentarios
sourav
sourav el 22 de En. de 2026 a las 13:16
Editada: sourav el 22 de En. de 2026 a las 13:28
This is my code generation setting. Please let me know what other setting i need to take care?
build output image
sourav
sourav el 22 de En. de 2026 a las 13:17
This is the model for which i want to generate c code.

Iniciar sesión para comentar.

Respuestas (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by