Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Help me interface a static RAM using data bus at 16 bits

Status
Not open for further replies.

tlp71@hotmail.com

Full Member level 4
Joined
May 14, 2002
Messages
220
Helped
6
Reputation
12
Reaction score
2
Trophy points
1,298
Activity points
1,596
INTERFACING RAM *16

hI, I HAVE TO INTTERFACE A STATIC RAM USING A DATA BUS AT 16 BITS.
IS CORRECT THAT I USIGN THIS MAP ?

MICRO SRAM
-----------------------------------------------
A1 ------------------> A0
A2 ------------------> A1
. .
. .
. .
. .
. .
A18 ------------------> A17


tHANKS FOR YOUR REPLIES.
BYE
G.
 

Re: INTERFACING RAM *16

There are several things i dont have clear here, Ax stands for address?

If so, i think u are using one more address pin from the micro that u should, u have from A1 to A18, 18 pins, i thouhgt it was a 16 data bus RAM, one more thing, data bus doen't mean u have to use 16 pins to direction it, it depends on the size of the memopry rather than the data bus, check the address bus for that.
 

Re: INTERFACING RAM *16

yes sorry, A main Address.
And the data bus is 16 bits wide.
 

Re: INTERFACING RAM *16

Well, see when u have a micro it can direction some memory, it depends on how many address pins it has, if it has 2 pins it can direcction just 4 addresses 2^2. for more pins more addresses 2`#pin.

Now, u have to build a memory map, that means you have to choose in what range of external componentes the micro con hanlde are u gonna put the ram memory, this will depend on the other external hardware the micro has and the internal memory too, once u have choosen a range of addresses to put your ram, the easier way is to try put it on a range that starts with all 0 for the ram address bus, rg: if the micro has 4 address pins and the ram has 2 addres pins, u can put the ram on the first 2 pins or on the last 2 pins, wheter choice u make the other 2 pins that u are not using are gonna be part of te enable circuitery for the ram memory.

after thaat u just connect the pins from the address bus of the micro to the address bus of the ram....

sorry i extended myself that much,

To answear your question i think the address bus u have selected is ok, with the A0 as your memory enable.

Sorry again for that much text, it seems u already know that.

hope it helped
 

Re: INTERFACING RAM *16

MANY THANKS DARKJEDY AS LATINS SAY:

"MELIUS ABUNDERE QUAM DEFICERE".
tRADUCED IN ENGLISH MEANS
IS BETTER TO SAY MORE THAN FHEWER.

P.S
I WRITE A BAD ENGLISH
:)
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top