Effacer les filtres
Effacer les filtres

Generate C code for MC33771 and S32K for SOC/SOH standlone oepartion

9 vues (au cours des 30 derniers jours)
Balwinder Saini
Balwinder Saini le 6 Nov 2021
  1. Is it posssible to genearte C code for MC33771/S32K MCU for SOC/SOH which can independently run on S32K MCU?
  2. I saw some videos on mallab site, but not sure if it can be able to run on S32K MCU also.
  3. Mostly i use 14S Li-Ion or 16S LFP

Réponses (1)

Venkatesh Chilapur
Venkatesh Chilapur le 11 Nov 2021
Modifié(e) : Venkatesh Chilapur le 11 Nov 2021
Hi Balwinder,
There can be following approaches (Option 2 or 3 in your case):
  1. The board or the MCU is already supported by MATLAB/Simulink: In this case you can go ahead and model the application including the device driver blocks that will also be available. Additionaly you can also run the model in PIL/External mode to verify the model before a final executable is genertaed which in this case will be directly deployed to the target board.
  2. The board or the MCU is NOT supported by MATLAB/Simulink: In this case you can go just focus on the MATLAB/Simulink to model your Algorithm part alone. You can then generate the code for this algorithm. Please note, you will then have to integrate this Algorithm code with device specific files in an IDE or something similiar. Then you can generate the executable. This is called Algorithm Export Workflow.
  3. You can or work with MathWorks Consulting to develop own target support in MATLAB/Simulink: In this approach you can leverage our documented workflow to create a custom target that will enable you to generate the Full Executable from within MATLAB/Simulink. You can also leverage MathWorks Consulting paid services for the same.
Venkatesh C


En savoir plus sur Embedded Coder dans Help Center et File Exchange




Community Treasure Hunt

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

Start Hunting!

Translated by