Log Data externally with STM32F767ZI and Simulink
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-01 8:46 AM
Hey everyone,
I want to use a STM32F767ZI to develop driving safety functions for electric scooters.
The functions and Code are developed on Simulink using the Support Package for nucleo boards.
I would like to log data from the MCU directly to a SD-Card or something similar. Does somebody know an approach to do this? One way would be to use a SD-Card via SPI, but I do not know if that is possible within the Simulink support package.
I would be glad if somebody has done something similar or could give me advice how I could reach my goal.
Thank's in advance!
- Labels:
-
SDIO-SDMMC
-
SPI
-
STM32-MatTarget
-
STM32F7 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-04-04 7:05 AM
Hello @LKlau.1​,
Here is an example that might help!
Data Logger on Arduino UNO - File Exchange - MATLAB Central (mathworks.com)
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-27 12:24 AM - edited ‎2023-12-27 3:37 PM
Did anyone succeed using the approach reported here?
Thank you in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-01-17 2:45 AM
Hi,
do you have an example with STM Nucleo board? the use of the two solutions (Arduino and Nucleo) is very different when it comes to the configuration of the board itself.
Thank you in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-05-01 12:49 PM
You can find a guide here: https://www.mathworks.com/help/ecoder/stmicroelectronicsstm32f4discovery/ug/mat-file-logging-on-sd-card-for-stmicroelectronics-stm32-processors.html
I had some issues with the guide though, so see the notes in this forum post: https://www.mathworks.com/matlabcentral/answers/2176812-trouble-writing-to-sd-card-with-simulink-embedded-coder-support-for-stm32-microcontroller?s_tid=prof_contriblnk
