Skip to main content
ferhatyol-23
Senior
October 20, 2017
Question

STM32F103 CubeF1 FatFS how to port SPI?

  • October 20, 2017
  • 3 replies
  • 674 views
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

    This topic has been closed for replies.

    3 replies

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

    Add your vote here.

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

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

    Can anyone help in this regard?

    Jeanne Joly
    Associate
    February 8, 2018
    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