- https://www.mathworks.com/matlabcentral/fileexchange/43093-embedded-coder-support-package-for-stmicroelectronics-stm32-processors
- https://www.mathworks.com/help/ecoder/stm32-spkg.html
STM32H7 CAN, I2C, and SPI Custom Board Implementation
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello, I am looking for gudiance on using an STM32H7xx on a custom board with Simulink coder. I see on the STMicroelectronics hardware support website that "single core STM32H7xx based boards using Embedded Coder" are supported. However, things like CAN, I2C, and SPI are unlisted for this scenario. I do see that CAN, I2C, and SPI are supported for nucleo boards, does this mean that we can only use a nucelo to get peripheral driver blocks for CAN, I2C and SPI? Is there any other way we could implement these? Thanks!
0 commentaires
Réponses (1)
Rangesh
le 8 Nov 2023
Hi Jacob,
I understand that you are inquiring about the implementation of CAN, SPI, and I2C protocols on the STM32H7 hardware. Unfortunately, the support for these functionalities has been introduced in the R2022a release of MATLAB and later versions.
To obtain support for these protocols, you can install the Embedded Coder Support Package for STMicroelectronics STM32 Processors. You can find more information and download the support package from the following links:
Please note that the support for STM32H7 is currently provided for single-core variants.
I hope this resolves your query.
With regards,
Rangesh.
0 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!