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.

interfacing of external sram to At89s51

Status
Not open for further replies.

malli_1729

Full Member level 5
Joined
Feb 13, 2007
Messages
252
Helped
48
Reputation
96
Reaction score
46
Trophy points
1,308
Location
INDIA
Activity points
3,292
Hi!

Iam begineer to AT89s51.........

I want to interface a sram with AT89s51 ,
I have seen some codes in c, but i didn't get the interpretation of them,,,,like where we are connecting the rd#,wr3,oe#,cs#, to the microcontroller and how we are sending the different signals to the microcontroller so that it will read or write.

and sometimes in syn sram there are having extra pins for synchronous operation and for pipeling operation where these pins connected to the At89s51, Because At89s51 has very less no of pins...................

and last and final when we are using keil c compiler we are directly accessing the AT89s51 external ram by using simple pointers like XDATA, what actually internally happening....................................



Please help!!!!!!!!!!!!!!!!!!
 

This has nothing to do with programming language; this is a basic external memory interfacing (and assumes some rudimentary knowledge of digital electronics). Please read the basic 8051 documentation (user manual, referred to also as "bible") - links in **broken link removed** , you need the "hardware" part; but I am afraid you would need also some basic reading on digital electronics (plus of course the datasheet of the memory in question).

Just a hint: if you want to connect ONLY a small SRAM and only for MOVX access, besides the '573 latch for lower address (latched by ALE) you'd need to connect /OE of memory to /RD of '51, /WE of memory to /WR of '51, and ground /CS of memory.

Once you master standard SRAM interfacing, you will figure out the syncSRAM yourself...

JW
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top