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 8051 with SRAM (AS7C256)

Status
Not open for further replies.

vinash

Member level 2
Joined
Nov 3, 2005
Messages
45
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,999
8051 with sram

Hi,
I am trying to interface an 8051 (at89C52) microcontroller with AS7C256 for my project. I am working on sensors, where the sensor data from the microcontroller (at89c52) is to be stored in the Sram. It would be very helpful if someone has a code ( in C) for the interfacing....Thank you.
 

klystron

Advanced Member level 4
Joined
Jul 11, 2002
Messages
1,014
Helped
192
Reputation
384
Reaction score
180
Trophy points
1,343
Location
South Africa
Activity points
4,513
If you use the Keil compiler (2k byte version free) to map variables to XRAM (external RAM)
 

vinash

Member level 2
Joined
Nov 3, 2005
Messages
45
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,999
Hi,
Do you have any sample code, so that i can try to understand from there. i am new to microcontrollers.Thank you.
 

IanP

Advanced Member level 5
Joined
Oct 5, 2004
Messages
7,942
Helped
2,309
Reputation
4,620
Reaction score
531
Trophy points
1,393
Location
West Coast
Activity points
66,435
Please understand this is not a software issue ..

Connecting an external RAM(SRAM) to 8051 is purely hardware issue ..

8051 addresses internal or external RAM locations using pointers (R0, R1 or DPTR; see:
)

.. and there are NO SPECIAL SOFTWARE routines (C or assembly) to do so ..

Regards,
IanP
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top