8051 64K external SRAM possible?

I'm planning to add some external SRAM to my 8051. I've seen many examples how to add 32K but never 64K. Is it possible to have the full external data space in SRAM? If so, do I just hardwire the CE line to always select the chip?

Thanks, Andrew

Reply to
andrew queisser
Loading thread data ...

Of course.

Yes. ( and WRN -> WEN and RDN -> OEN )

Reply to
Jim Granville

Yes there is no problem with using the full 64K for SRAM. The reason that people often use 32K is that 32K chips are cheaper and secondly, it keeps some memory space for mapping external peripherals such as A/D chips etc.

Reply to
Ppelectron

I've done banking with 6811s with up to 1M of space. Works well for static kind of memory, but puts some trickery in the code. Hopefully your compiler supports it.

Reply to
Dave

In article , andrew queisser writes

Of course it is possible. P0 and P2 give 16 address lines. You are adding XDATA which is 64K external data. This is a seperate space to the iData and Data. (though confusingly some 51]s have "internal xdata" that is an additional space.)

There is a description of this in thje C51 Primer at

formatting link

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/\ /\/\/ snipped-for-privacy@phaedsys.org

formatting link
\/\/ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

Reply to
Chris Hills

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.