SPI Flash with FatFs

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
DePa_3244516
Level 4
Level 4
First like received First like given

hello

i am using flash chip W25Q128FV, and interfaced it with PSOC5 lp

at basic level i am able to read, write and read device id

but how can i implement flash with FatFs like sd card?

any document or code example for flash?

thanks in advance

0 Likes
7 Replies
SudheeshK
Moderator
Moderator
Moderator
250 sign-ins First question asked 750 replies posted

Hello,

You have to implement FAT file system in your application to access the flash memory like an SD card. Since, you are using a flash device from Winbond, we recommend you to contact Winbond regarding this query. They may be able to help you to implement the FAT file system on W25Q128FV.

Thanks and Regards,

Sudheesh

0 Likes

ok

i asked them hope they respond to my question

which flash can i use from cypress for my mentioned purpose?

0 Likes

Hello,

The recommended replacement for W25Q128FV is S25FL128L. Please find the datasheet and migration guide from the below links.

Datasheet: http://www.cypress.com/file/316171/download

Migration guide: http://www.cypress.com/file/202606/download

Thanks and Regards,

Sudheesh

0 Likes

thank you

where i can find  driver and example code for that?

0 Likes
lock attach
Attachments are accessible only for community members.

Hello,

I am attaching the low level driver for our flash devices with this response.

Thanks and Regards,

Sudheesh

0 Likes

thanks

i will go through that

0 Likes

devyaniparmar,

I not sure if this would help but Cypress has provided a emulated FAT file system as a component with a SPI interface.  (See pic below)

pastedImage_0.png

Len

Len
"Engineering is an Art. The Art of Compromise."
0 Likes