cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F103 CubeF1 FatFS how to port SPI?

ferhatyol-23
Senior
Posted on October 20, 2017 at 15:04

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

3 REPLIES 3
John Craven
Senior
Posted on October 20, 2017 at 16:53

Add your vote here.

https://community.st.com/0D50X00009XkYXdSAN

ferhatyol-23
Senior
Posted on October 22, 2017 at 22:28

Can anyone help in this regard?

Jeanne Joly
Senior III
Posted on February 08, 2018 at 16:13

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