cancel
Showing results for 
Search instead for 
Did you mean: 

How to connect 8 SRAMs to STM32H7

kazutobi
Associate II

Hello everyone.


I want to connect 8 SRAMs (2MB) to STM32H755XIH3 and use them as 16MB work memory.

When connecting 8 memories (SRAMs) using FMC (devices more than the number of FMC_NE*), how should I connect and control them? If there are any similar cases, I would appreciate your advice.

 

I am currently considering it, but I have some conditions.

1. I will use Infenion's CY7C1061GE30-10BVJXIT (2MB) with dual chip enable for the SRAM.

2. Of the 4 NEs in the FMC, 2 will be used to connect other memories, so only 2 can be used for SRAM.

Thank you in advance.

13 REPLIES 13

@kazutobi wrote:

The SRAM I'm trying to use has two chip enable terminals.
I was thinking of doing it without a decoder. I don't know if that's possible though.


Two chip enable is to enable the memory itself.  You need to use one and fix the another. You need as @Tesla DeLorean said an address decoder like the old TTL "74138" to address 8 memories. Each 74138 output will drive a chip enable of a memory. The address decoder is driven by the Higher address lines.

This is an old concept. So for example this link: https://ece-research.unm.edu/jimp/310/slides/8086_memory2.html

8086_memory2-4.gif

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
PS:
1 - This is NOT an online support (https://ols.st.com) but a collaborative space.
2 - Please be polite in your reply. Otherwise, it will be reported as inappropriate and you will be permanently blacklisted from my help.

Hi LCE

Thank you very much.
I will consider whether HYPERRAM matches our system.
It is true that pattern design for 8 SRAM is troublesome.
Thank you for the useful information.

Hello

Thank you very much for the detailed explanation. And thanks for the link.
I understand that I need an address decoder, as @Tesla DeLorean  told me.
I will continue to consider whether to go with 8 SRAMs or use the HYPERRAM that @LCE  told me about.

 

I'm commenting because "Accept as Solution" is not displayed.
I accept your answer. Thank you.