FSMC FMC - Interfacing a memory device with two Chip Select pins
Well, as you might know, some memory chips have a set of two Chip Select pins, however, the FSMC of the STM32F407 provides only one FSMC_NE1 signal and that's associated with the address space being written/read from (Bank 1 for NE1). On the STM32F429 line, the FMC provides support for CompactFlash and two Chip Select pins are enabled by default. I was wondering if there's any way to do the same on the STM32F407, as I don't need many of the peripherals available on the F429 for my project.
I have these scenarios in mind:
1- Use the STM32F429 (I'm trying to avoid it because it's an overkill for the project)
2- Add some external logic to switch between two Chip Selects
3- Replace the FSMC_NE1 with two CS pins assigned on the GPIO, though I'm not sure about timing constraints and whether this would affect the overall performance writing/reading the external memory-mapped device.
Let me know what do you think
Zaher