FatFS on STM32U0XX and external flash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-07-04 3:29 AM
I'm a fresher as a Firmware engineer. I'm currently working on dataloggers. I'm using STM32U083C-DK board which contains STM32U083MCT6 MCU. I've written the code for the basic functionality of the device i.e sleep and wakeup logic using STM32CubeIDE.
Now, I need to communicate with an external flash memory (W25Q32JVSIQ).
Help me with integrating and modifying the necessary files in the FatFS.
So, after going through some searching, I got to know that I need to integrate FatFS with my project (on STM32CubeIDE) first and then do SPI communication with the W25Q32JVSIQ.
So, till now, I've done these things:
- I've downloaded the FatFs module (ff15.zip) from http://elm-chan.org/fsw/ff/arc/ff15.zip
- And extracted the contents to a location accessible by the STM32CubeIDE project.
- Copied the necessary source files (ff.c, ffsystem.c, ffunicode.c, diskio.c, ff.h, ffconf.h, diskio.h) from the FatFs source folder (ff15/source) into the STM32CubeIDE project directory.
Now, what should I do?
I think, I need to modify the ffconf.h file and Set Up Low-Level Disk I/O Functions.
So, can anyone help me by providing your files for reference or any other references or examples to go through?
- Labels:
-
FatFS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2024-07-05 7:21 AM
Hello @RB4020 ,
Welcome to ST Community.
A similar topic has been answered, please refer to this thread: Need to Access External Flash memory as File System
