2014-04-25 04:36 PM
Guys,
How can I multiplex SRAM,NOR Flash and NAND Flash on PD7 ? It's function as PD7 FSMC_NE1/FSMC_NCE2 on pin 88 for STM32F103VCT6, is it configurable via software or I need to put a latch / multiplex chip for it ? Any examples for it (schematic)? What's the common application for NAND flash ? Can I run my code from NOR Flash ? I saw there's boot option ''System memory is selected as boot space'', page 48 STM32 reference, chapter 2.4 Boot Configuration... Thanks #fsmc2014-04-26 07:35 PM
so NOR flash is for code, copy to SRAM if I want to run it, then NAND flash is similar with SDcard as a storage....please correct me if I'm wrong, thanks
2014-04-26 08:07 PM
You would combine the Chip Select, with a high order address bit(s) and basic logic gates.
But seriously, why are you persisting with this part selection, surely there are better part choices?2014-04-26 08:10 PM
so NOR flash is for code, copy to SRAM if I want to run it, then NAND flash is similar with SDcard as a storage....please correct me if I'm wrong, thanks
No, 16-bit NOR you could run-in-place, with NAND, Serial DataFlash or SDCard you'd need to copy to SRAM.2014-04-26 08:56 PM
so I can only use either SRAM or NOR flash ?
I read :from AN2784 page 29, or for easier interface I'll use STM32F103ZET6 ?2014-04-28 06:45 AM
Although you can execute code from memories on the FSMC bus the performance is terrible. There's no cache, no prefetch, only 16 bit access, and external SRAM or NOR is much slower than the internal memory. FSMC works much better as bulk data storage or as a parallel interface to a peripheral, like an LCD controller.
Jack Peacock2014-04-28 07:00 AM
I see,
so I will use NOR flash, and NAND flash for storage only, similar with SDcard but in the form of chip... thanks