‘1126122, 9:04 PM Memory organisation of 8051 Microcontroller | Electric easy
HOME BASICS —ELECTRIC MACHINES POWER SYSTEMS ~—STATIC DRIVES.
CONTROL SYSTEMS ELECTRONICS-——_-INSTRUMENTATION x a
4 Breaking News
Static drives Pro
s on 4 quadrant operation
essors Data Com
MEMORY ORGANISATION OF 8051
MICROCONTROLLER
& Unknown 4 7:07am
Memory organization of 8051 Microcontroller
The applications of microcontroller are more. Hence
knowledge about interfacing devices to the
microcontroller and expanding of microcontroller
memory is very important. Memories like SRAM,
EPROM, EEPROM are interfaced to microcontroller to
enhance capabilities of 8051.
1.Program memory:
lectriceasy blogspot.conv2016/04imemory-organisation-oF 8051 him! 18‘1126122, 9:04 PM Memory organisation of 8051 Microcontroller | Electric easy
Program memory accessed through EA
pin. In program memory two categories takes place:
EA=0
FREFHE)FFFFH
External
program
memory
64K bytes external
‘00H program memory
OFFFH |
Internal
program
memory
0000H
0000H
www.electriceasy.in
a)lf EA is high, internal program memory is accessed
to OFFFH memory location and external program
memory accessed from 1000H to FFFFH memory
locations.
b)If EA is low, only external program memory
accessed from 0000H to FFFFH memory locations.
2.Data memory:
Data memory is used to store the
memory in the registers each of 64k bytes size, to
access the data memory instruction MOVX is used.
Data memory is of two types Internal and external.
i)Internal data memory:
lectriceasy blogspot.conv2016/04imemory-organisation-oF 8051 him!‘112802, 208 6m Memory orgarisationo 861 Micocontrler | Electric easy
The internal data memory consists of 256
bytes, these are divided into two parts:
OOH-FFH for internal data RAM (128 bytes)
80H-FFH for special function registers (128 bytes)
Internal Data Memory External Data Memory
Special function reg sters
(28 oytes)
64K bytes external
program memory
Internal data RAM
(128 bytes)
www.electriceasy.in
2.External data memory:
The 8051 gives the facility to interface
external RAM and ROM. External RAM is accessed by
DPTR and up to 64KB of RAM can be interfaced.
External data memory interfacing is of two types i.e.
RAM and ROM interfacing.
i)RAM interfacing:
The interfacing of memory chip with
microcontroller has some regulations to follow:
lectriceasy blogspot.conv2016/04imemory-organisation-oF 8051 him!‘2s, 908 Pm Merry organisation of 8051 Mcoconrole |Electic easy
a)The memory data bus is directly connected to
memory chip data pins
b)Control signal connection
RD(Read Memory) connected to OE (Output
Enable)
WR(Write Memory) connected to WE(Write
Enable)
c)The CPU address lines are directly connected to
memory chip addressing lines.
* The memory chip consists of Chipset (CS) and Chip
enable (CE) address lines varies based on memory
capacity chip should inbuilt with control signals, data
lines. The accessing of memory is done when chip is
activated.
Example: Interfacing 4KB RAM
Let address chip is 3000H to 3FFF
415 Aig A13 A12) |ArtA10AgAg Az Ag A5Ag AZ Ay Ay Ag
cs Adress lines tomemory chip
Ata Do
A
0
a D
13, P 7
ys
15
MEMR
MeEMWw
www.electriceasy.in
lectriceasy blogspot.conv2016/04imemory-organisation-oF 8051 him!‘122, 904m Mermary rgariston of 851 Microcontrler [Elect ensy
ii) ROM Interfacing:
In many systems the on chip ROM of
8051 is not sufficient, so 8031 chip is used, it is a ROM
less version of 8051 which allows program size to be
large as 64K bytes.
EA Pin: To Indicate the program code stored in
microcontroller on chip ROM, EA pin is connected to
Vcc, to indicate program code is stored in ROM EA pin
is connected to ground.
wv Twitter f Faceboo § Google Tum ® Pintere
k
[a2Unknown Unknown
RELATED POSTS:
Data communication
——— E
Serial data Pe
—
[
ini sta anster tel
lh
jata_—_ Asynchronous serial dat
MICROCONTROLLER DATA COMMUNICATION OF 8051 MICROCONTROLLER
PROJECTS ‘8086 MICROPROCESSOR BLOCK DIAGRAM
lectriceasy blogspot.conv2016/04imemory-organisation-oF 8051 him!‘126122, 9:04 Pm Memory organisation of 8051 Microcontroller | Electric easy
‘lectrceasy blogspot com/20 16/04#memory-organisation-of:8051.html