S
S
Siegurd2019-01-29 21:32:36
C++ / C#
Siegurd, 2019-01-29 21:32:36

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

Is there a way to integrate custom libraries into Simulink via S-function for STM32 embedded target for MATLAB and Simulink ?
Let me explain.
To support STM32 peripherals for Simulink, there is The STM32 Embedded Target released by STM itself. However, the list of supported peripherals does not include a protocol for interacting with an SD card using the SDIO protocol. Or, for example, the STM32 embedded target has SPI support, however, in order to interact with the SD card, you need to write the entire card initialization algorithm and file system operation yourself, which will take a very long time in Simulink and if you have ready-made C / C ++ libraries for IDEx seems like a completely irrational idea. The use of Simulink is driven by algorithms.
There is a detailed instruction on how to add your own libraries for Arduino, but I can’t find how to do it for STM.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question