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

조회 수: 5 (최근 30일)
Balwinder Saini
Balwinder Saini 2021년 11월 6일
편집: Venkatesh Chilapur 2021년 11월 11일
  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

답변 (1개)

Venkatesh Chilapur
Venkatesh Chilapur 2021년 11월 11일
편집: Venkatesh Chilapur 2021년 11월 11일
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.
Regards,
Venkatesh C

카테고리

Help CenterFile Exchange에서 Embedded Coder에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by