2022-07-04 10:59 PM
Hi,
I am working on STM32F777 MCU LQFP 176 Package.
I need to confirm if i can use FMC interface with my EtherCAT chip FIDO5200 that uses 16-bit data lines and 4-address lines.
Also I need to interface SRAM (parallel bus)that has 8-bit data and address lines.
Does STM32F777 can support both devices operating in parallel bus.If not, please suggect alternate MCU part.
Thanks,
Reshma
2022-07-05 02:35 AM
If FIDO5200 works exactly as SRAMs do (which it quite likely does), then you can use the FMC. You should confirm the timing of FMC matches (or can be adjusted) to requirements of FIDO.(it appears that yes, but the final decision is yours).
> Does STM32F777 can support both devices operating in parallel bus.
Yes, you simply use two different NEx pins to connect to chipselects of the two different memories (FIDO here plays role of a memory).
JW
2022-07-05 03:53 AM
2022-07-05 04:48 AM
No. D0-D15 connected to FIDO and in parallel D0-D7 to SRAM.
Similarly, A0-A3 connected to FIDO and in parallel, A0-A7 connected to SRAM (are you sure this is a 256-byte SRAM?)
Also, /OE and /WE connected in parallel. The only thing which is connected individually are the NEx pins which connect to individual chipselects.
Review schematics of some Disco/EVAL boards (both 'F7xx and 'F4xx - the FMC is in principle the same on both), some of them do have two external memories connected to FMC.
JW
2022-07-05 11:16 PM
Understood the connections.
But still I am not sure if I want to read data from FIDO chip and write data into SRAM or vice versa
Can these both operations occur at same time?
Please clarify
2022-07-06 04:33 AM
> Can these both operations occur at same time?
At the same moment of time? No. Can they be performed one after the other? Yes.
JW