Please let me know the procedure for below
I am new for this design. I would like to know how to interface 4 SRAMs of 32 K bytes to 8051 microcotroller and I am developing code in C language in C51 Keil compiler.
Cy62256-SRAM 11.0592MHZ crystal
So start here:
Chapter 1 - 80C51 Family Architecture: www.nxp.com/.../80C51_FAM_ARCH_1.pdf
Chapter 2 - 80C51 Family Programmer's Guide and Instruction Set: www.nxp.com/.../80C51_FAM_PROG_GUIDE_1.pdf
Chapter 3 - 80C51 Family Hardware Description: www.nxp.com/.../80C51_FAM_HARDWARE_1.pdf
The Keil Manuals contain some suggested Banking schemes...
eg, http://www.keil.com/support/docs/2103.htm
living in the past are you? 32k SRAMs will cost you way MORE than a 128k SRAM ($2 or so).
Erik
Or, more likely, living out of the junk box.
However, in these environmentally-enlightened days, recycling and re-use are Good Things, aren't they...?
Except that recycling of old chips may result in way higher power consumption than the corresponding new parts at the same clock frequency.
I wondered who'd be the first to spot that...
;-)
Reuse of old components on a commercial level definitely needs to take the energy consumption of the components into account.
But for hobby use, the extra energy consumption is probably a fraction of the energy needed to package and transport a few modern items. Most hobbyists can't just walk to a well-stocked vendor and buy the items.
It is actually quite fun to have a box of random comopnents, and design something based on what is available instead of just filling a shopping list with "optimum" components. It's a bit like crosswords - gives the brain something to do.
Most probably, it also promotes deeper understanding, since the designs can't just be carbon-copies of available application notes.
But this could be just a carbon copy of an old design from way back when there were "optimum" components...
Possible, yes.
But when you build with what you have in the drawers, you seldom have the correct parts to match published designs.
But, here requirement is by using 3x8 decoder to interface 4 SRAMS of 32K bytes with 8051. So,I am not able to exact Schematic also.
Requirements is to use 3x8 decoder. Why? Is it a school job?
no no, I am new to this field so, I am trying to interface like this way. so, just I said like this is my requirement
What Language are you writing the code with? A generic 8051 only supports 64K of RAM. So you will have to use another port pin to address 128K. The code will then have to insure the correct memory is selected. In this case a 3 to 8 decode will work. What is the part number of the chip you are using? Does it support 128K directly?
What beginner's 8051 project requires 128K RAM?!
Instead, perhaps you should begin with the basics - and just interface one of those RAM chips?
When you've mastered that, try two RAM chips - which will fill the standard 8051's 64K XDATA address space.
Only then should you consider moving on to extending the XDATA space beyond 64K.
In fact, these days, you should be seriously asking yourself whether it's worth the effort of trying to extend the 8051 beyond its limits at all! If you know you will need more memory than an 8051 can support, why even start with an 8051?!
See: www.8052.com/.../read.phtml
Q: Is it a school job?
A: no no
So what, exactly, is the objective of this exercise?