Skip to main content
OOleg
Associate
January 29, 2019
Question

How to integrate SDIO or any other library in Simulink for STM32-MAT?

  • January 29, 2019
  • 5 replies
  • 1748 views

Dear community!

Is there an instruction on how to integrate ready-made libraries into a Simulink for STM32 MAT as it is done for Arduino? For example, to work with an SD card using SDIO or SPI? There should be a way to work with the SDIO or SPI SD card without manually prescribing the initialization algorithm and the FAT management system. It is much easier to use a ready-made C / C ++ library for this. Can integration be done with the help of a Simulink S-function block?

This topic has been closed for replies.

5 replies

Tesla DeLorean
Guru
January 29, 2019

@PascalR​ https://www.mathworks.com/matlabcentral/profile/authors/3009420-pascal-reynaud

Was the only ST employee (visibly) supporting the STM32-MAT stuff, not sure I've seen him here recently.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
vlal
Associate II
October 3, 2019

Any update in the integration of SD card library in simulink blocks?

OOleg
OOlegAuthor
Associate
October 14, 2019

Nope.

Tesla DeLorean
Guru
October 14, 2019

Interest in STM32-MAT seems pretty shallow here, perhaps you can start/fund a project that achieves your goals?

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Nickname12840_O
Associate
October 16, 2019

​Hi,

you should be able to use S-Function builder into your Simulink model and integrate .c and .h path from "Configuration parameters" window > "STM32 Project Files"

Regarding librairies,  it is not done today, you can try to add it in the .c files list.

If it doesn't work, you can add it manually to the list of .c files into the .extSettings generated file( [Groups] MATLAB )

Best regards

Pascal