2016-10-24 01:31 PM
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 #fatfs #fsmc #fmc #nand2016-10-24 06:46 PM
FMC has all the capabilities of FSMC (and adds SDRAM to it).
JW2016-10-25 02:26 AM
Hello,
I advise you in a first step to check some useful examples inside the STM32CubeF4 firmware package, at this path: STM32Cube_FW_F4_V1.13.0\Projects\STM324xG_EVAL\Examples\FSMCRegards2016-10-27 07:02 AM
Thanks to both of you!
Gabriele