AnsweredAssumed Answered

Clarification about the use of NAND FLASH - STM32F4

Question asked by zampieri.gabriele on Oct 24, 2016
Latest reply on Oct 27, 2016 by zampieri.gabriele
Hi all,
I'm pretty new to STM32 world. I switched to STM32 for their performance and capability, more in detail becouse i need to drive TFT panel in a fluid way. My current project should include the possibility to connect the board to PC via USB and see the board as "removeable disk" (such as USB drive) where i can put files (image, mp3, txt) and the MCU can write on it (logs). I choose to use a NAND Flash (SLC) but during the design phase I'm getting some trouble: I never interfaced with this technology, luckily my MCU (F429ZI) has a FMC and with CubeMX help I should be able to make all working togheter. Now my problem: I found that i can't use the Flash directly as a FAT disk, but I need a translation layer (wear levelling). I found a document on ST site (DM00091013) that give guidelines on how to deal with this technology, it also says that is valid for my MCU, but as far as i can read from datasheet the MCU doesn't have the FSMC.

I'm looking for examples/application notes that can clarify me about how to implement this translation layer and maybe using FATFs to interact with the Flash, or any other way to achieve the task.
I hope i expressed myself in the best possible way, thank you in advance,
Gabriele

Outcomes