Implement fat file system using SPI in stm32F0 Disco Board.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-09-24 2:39 AM
Greetings,
I am trying to implement SPI based fat file system in stm32F0 Discovery Board. I want to use HAL SPI.
My connections are as show in image.
Any guidance or sample code for implementing fat file system will be of great help.
- Labels:
-
FatFS
-
SDIO-SDMMC
-
SPI
-
STM32Cube MCU Packages
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-09-24 5:48 AM
In the HAL trees are a couple of relevant examples
STM32Cube_FW_F0_V1.9.0\Drivers\BSP\Adafruit_Shield\stm32_adafruit_sd.c
STM32Cube_FW_F0_V1.9.0\Middlewares\Third_Party\FatFs\src\drivers\sd_diskio.c
STM32Cube_FW_F0_V1.9.0\Projects\STM32F091RC-Nucleo\Applications\FatFs\FatFs_uSD
port as appropriate
SPI read/write code supporting the Adafruit library is in the BSP
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-10-03 4:24 AM
Thanks Clive for reply. I have gone through those examples. Finally i have decided to move on to STM32F103 controller with SDIO bus.
