2017-10-20 06:04 AM
hi
I'm using STM32F103C8 MCU's. I want to run fatfs library in spi mode. I create a new project by adding the FatFS library with CubeMX. But I do not know how to associate FatFS library with SPI. Can you give a sample application in FatFS spi mode?
Thanks
2017-10-20 07:53 AM
Add your vote here.
2017-10-22 01:28 PM
Can anyone help in this regard?
2018-02-08 07:13 AM
Hi
YOL.Ferhat
,Sorry for my late answer.
Do you have a look to the example located in Repository\STM32Cube_FW_F3_V1.9.0\Projects\STM32F302R8-Nucleo\Demonstrations\Adafruit_LCD_1_8_SD_Joystick?
This example will help you, especially, to make SDIO/SD and FatFS working together.
Here is an extract if the demo :
- Manual Mode selected:
Images available on SD Card, are displayed by pressing Joystick RIGHT to display next image or Joystick LEFT to display previous one. Pressing long (~1s) Joystick SEL, switches display mode to automatic one. - Automatic Mode selected: Images available on SD Card are displayed sequentially in a forever loop.I hope you can progress with this example.
BR. Jeanne