Showing posts with label 8085 microprocessor. Show all posts
Showing posts with label 8085 microprocessor. Show all posts

Saturday, 14 December 2013

Microprocessor Architecture used in mobile phone

in this article and in the next article  you will learn about memory and addresses of a memory location , in which information, data, are store 

The Design of a Memory Chip

Using the RD and WR controls we can determine the direction of flow either into or out of memory. Then using the appropriate Enable input we enable an individual memory register.

What we have just designed is a memory with 4 locations and each location has 4 elements (bits). This memory would be called 4 X 4 [Number of location X number of bits per location].

The Enable Inputs

How do we produce these enable line?
Since we can never have more than one of these enables active at the same time, we can have them encoded to reduce the number of lines coming into the chip.
These encoded lines are the address lines for memory. 

The Design of a Memory Chip

So, the previous diagram would now look like the following:

The Design of a Memory Chip

Since we have tri-state buffers on both the inputs and outputs of the flip flops, we can actually use one set of pins only.
The chip would now look like this:

the steps of writing into Memory

What happens when the programmer issues the STA instruction?
The microprocessor would turn on the WR control (WR = 0) and turn off the RD control (RD = 1).
The address is applied to the address decoder which generates a single Enable signal to turn on only one of the memory registers.
The data is then applied on the data lines and it is stored into the enabled register.

Dimensions of Memory

Memory is usually measured by two numbers: its length and its width (Length X Width).
The length is the total number of locations.
The width is the number of bits in each location.

The length (total number of locations) is a function of the number of address lines.
# of memory locations = 2( # of address lines)

So, a memory chip with 10 address lines would have 
210 = 1024 locations (1K)

Looking at it from the other side, a memory chip with 4K locations would need 
Log2 4096=12 address lines

The 8085 and Memory

The 8085 has 16 address lines. That means it can address 
216 = 64K memory locations. 
Then it will need 1 memory chip with 64 k locations, or 2 chips with 32 K in each, or 4 with 16 K each or 16 of the 4 K chips, etc.

how would we use these address lines to control the multiple chips?

Chip Select

Usually, each memory chip has a CS (Chip Select) input. The chip will only work if an active signal is applied on that input.

To allow the use of multiple chips in the make up of memory, we need to use a number of the address lines for the purpose of “chip selection”.
These address lines are decoded to generate the 2n necessary CS inputs for the memory chips to be used.

Chip Selection Example

Assume that we need to build a memory system made up of 4 of the 4 X 4 memory chips we designed earlier.

We will need to use 2 inputs and a decoder to identify which chip will be used at what time. 

The resulting design would now look like the one on the following slide.

Chip Selection Example



for further detail and any query you can mail on muradalishah57@yahoo.com or can call on +923329473428, 
https://www.google.com.pk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&ved=0CCwQFjAA&url=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FMicroprocessor&ei=ZXWtUveFJozN7Abq3YHQDw&usg=AFQjCNELdGXZS5JPzHDs9j6hJNdWlSLE-A&sig2=Q81X9sIqEa1ta5p6Tc37CA&bvm=bv.57967247,d.ZGU

Microprocessor Architecture(used in mobile )

In this post i will cover all those internal architecture of an microprocessor that is the building block of all mobiles, egg htc , android etc anyone can study it in short but explanatory form , not only mobiles, but also computers, leptopes having this basic, which is describe below, in this post i discussed a lilttle about microprocessor but will cover and explain all knowledge about this in different post.
The microprocessor can be programmed to perform functions on given data by writing specific instructions into its memory.
The microprocessor reads one instruction at a time, matches it with its instruction set, and performs the data manipulation specified.
The result is either stored back into memory or displayed on an output device.

The 8085 Architecture

The 8085 uses three separate busses to perform its operations
The address bus.
The data bus.
The control bus.
16 bits wide (A0 A1…A15)
Therefore, the 8085 can access locations with numbers from 0 to 65,536. Or, the 8085 can access a total of 64K addresses.

“Unidirectional”.
Information flows out of the microprocessor and into the memory or peripherals.

When the 8085 wants to access a peripheral or a memory location, it places the 16-bit address on the address bus and then sends the appropriate control signals
Data bus
8 bits wide (D0 D1…D7)
“Bi-directional”.
Information flows both ways between the microprocessor and memory or I/O.

The 8085 uses the data bus to transfer the binary information.

Since the data bus has 8-bits only, then the 8085 can manipulate data 8 bits at-a-time only
Control bus
There is no real control bus. Instead, the control bus is made up of a number of single bit control signals
operation type in microprocessor
All of the operations of the microprocessor can be classified into one of three types:
Microprocessor Initiated Operations
Internal Operations
Peripheral Initiated Operations
Microprocessor initiated operation
These are operations that the microprocessor itself starts.
These are usually one of 4 operations:
Memory Read
Memory Write
I/O Read (Get data from an input device)
I/O write (Send data to an output device)
It is important to note that the microprocessor treats memory and I/O devices the same way.
Input and output devices simply look like memory locations to the microprocessor.
For example, the keyboard may look like memory address A3F2H. To get what key is being pressed, the microprocessor simply reads the data at location A3F2H.

The communication process between the microprocessor and peripheral devices consist of the following three steps:
Identify the address.
Transfer the binary information.
Provide the right timing signals.
Red operation
To read the contents of a memory location, the following steps take place:
The microprocessor places the 16-bit address of the memory location on the address bus.
The microprocessor activates a control signal called “memory read” which enables the memory chip.
The memory decodes the address and identifies the right location.
The memory places the contents on the data bus.
The microprocessor reads the value of the data bus after a certain amount of time.
internal data operation
The 8085 can perform a number of internal operations. Such as: storing data, Arithmetic & Logic operations, Testing for condition, etc.
To perform these operations, the microprocessor needs an internal architecture similar to the following: