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.

The Internal RAM of 51 MCU

Status
Not open for further replies.

nbuzs

Junior Member level 2
Joined
Jul 20, 2006
Messages
21
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,404
I wonder exactly how many sram cells there are in a 51 MCU core.

The data sheet says overlapped 128 upper ram with address 80H~FFH accessed by INDIRECT addressing, while these address space accessed by DIRECT addressing should be SFRs.

So I really puzzled about the Internal RAM and SFRs are exactly uses the same storage cells.


Any help will be appreciate!!
 

8052 has two pages of upper ram, one, which is directly addressable (SFR Page), other which is indirectly accessible (GPRam), so if you use indirect addressing (eg. through R0 and R1) you actually write to ram, but if you use direct addressing you write to SFR ..
And that is a small catch ..

Rgds,
IanP
 

    nbuzs

    Points: 2
    Helpful Answer Positive Rating
so are the RAM and SFR physically independ while using the same address. Only distinguished by addressing method?
 

Yes
 

    nbuzs

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top