Can I generate code for STM32H7 Boards using the Embedded Coder Support Package?

9 visualizaciones (últimos 30 días)
Does MathWorks offer Support Packages for generating code using Embedded Coder for STM32H7 Boards?

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 14 de Ag. de 2024
Editada: MathWorks Support Team el 22 de Ag. de 2024

R2024a and later

Support for STM32H7xx-based dual core boards are now available in the MathWorks Embedded Coder Support Package for STMicroelectronics STM32 Processors. For more information about STM32H7xx-based dual core support please refer to the following documentation:

R2022a to R2023b

Support for STM32H7xx-based devices is available as part of the new MathWorks Embedded Coder Support Package for STMicroelectronics STM32 Processors:
This support is based on the STM32CubeMX code generation workflow, and you can configure the pins and peripherals among other details from STM32CubeMX IDE. In these releases, only single-core variants of the H7 family are supported.
 

R2021b and prior

For MATLAB R2021b and prior, you can deploy code on the H7 processor using one of the three Workflows:
Workflow 1:
If the processor is on the Nucleo board, support packages for the Nucleo-H743ZI2 board can be used:
Please note that the support package for the Nucleo-H743ZI2 board is based on MBED workflow, the settings for the clock, memory configurations, pins, etc. are statically defined. Hence code generated from the Nucleo-H743ZI2 board may not directly work with other STM32H7 boards such as STM32H7A3RI. It may be necessary to do additional configurations (hand-coding) to enable the generated code to work on the STM32H7A3RI device.
Workflow 2:
The Target-SDK workflow from the Embedded Coder Support Package for ARM Cortex-M Processors can be used to create a new target for the STM32H7xx-based device:
Please follow the steps on developing the target using the package, which can be accessed from this link:
Before you start with the above step, please read the "What Is a Target?" and "Prerequisites" parts of the "Develop A Target" documentation. When you are ready to start creating your own target, please follow the steps in the "Implement a Target" section. You can access the pages from these links:
Workflow 3:
You can generate the algorithm code alone for the device using the Embedded Coder Support Package for ARM Cortex-M Processors. This option provides advanced features like code replacement for math operations using the CMSIS library for ARM Cortex-M Processors that can be manually leveraged. The algorithm code generated from MATLAB/Simulink will then have to be manually integrated into the device-specific code to be able to run the algorithm on the STM32 device. The documentation of "Algorithm-Export Workflows for Custom Hardware" can be accessed with this link:
https://www.mathworks.com/help/releases/R2021b/mcb/gs/algorithm-export-workflow-for-custom-hardware.html

Más respuestas (0)

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by