23
WELCOME

Micro controller

Embed Size (px)

Citation preview

Page 1: Micro controller

WELCOME

Page 2: Micro controller

µProcessor As

µComputer & µController

P. Devi Prasad

Page 3: Micro controller

What is µProcessor?

The microprocessor is a multipurpose, programmable device that accepts digital data as input, processes it according to instructions stored in its memory, and provides results as output.

Page 4: Micro controller

• The first microprocessor was the Intel 4004, introduced in 1971.

• 8-bit microprocessor 8008 in 1972. • Intel released the 8086, a 16-bit

microprocessor, in 1978• it was primarily used to perform

simple mathematical operations in a calculator called “Busicom.”

Page 5: Micro controller

Manufacturing:-

The manufacturing of a CPU(µProcessor) is a highly complex and demanding process involving multiple hundreds of steps in “clean rooms.” Cleanrooms or manufacturing plants, contain air which is 1,000 times cleaner than a hospital’s operation theater.

Page 6: Micro controller

CHARACTERISTICS

• Instruction set: The set of instructions that the microprocessor can execute.

• bandwidth: The number of bits processed in a single instruction.

• clock speed : Given in megahertz (MHz), the clock speed determines how many instructions per second the processor can execute.

In both cases, the higher the value, the more powerful the CPU. For example, a 32-bit microprocessor that runs at 50MHz is more powerful than a 16-bit microprocessor that runs at 25MHz.

Page 7: Micro controller

In addition to bandwidth and clock speed, microprocessors are classified as RISC(reduced instruction set computer) or CISC (complex instruction set computer).

Page 8: Micro controller

RISC and CISC

The CISC ApproachMULT 2:3, 5:2

The RISC ApproachLOAD A, 2:3LOAD B, 5:2PROD A, BSTORE 2:3, A

Page 9: Micro controller

Inside a Microprocessor

• A microprocessor executes a collection of machine instructions that tell the processor what to do.

Based on the instructions, a microprocessor does three basic things: Using its ALU it can perform mathematical

operations. (Modern microprocessors contain complete floating point processors that can perform extremely sophisticated operations on large floating point numbers).

Can move data from one memory location to another Can make decisions and jump to a new set of instructions based on those decisions

Page 10: Micro controller

an address bus a data bus a RD (Read) and WR (Write) line a clock line that lets a clock pulse sequence A reset line that resets the PC

Registers A, B and C are simply latches made out of flip-flopsThe address latch is just like registers A, B and C.The program counter is a latch with the extra ability to increment by 1 when told to do so

The ALU could be as simple as an 8-bit adder (or other)

Page 11: Micro controller

These buses and lines connect either to RAM or ROM - generally both. microprocessor have an 8 bits wide address bus and a 8 bits wide data bus. can address 28 = 256 bytes of memory, and it can read or write 8 bits of the memory at a time

Page 12: Micro controller

Microcomputer and controller

Page 13: Micro controller

Microcomputer and controller

A microcomputer is a computer that uses a microprocessor and its own memory/storage space to perform applicationsYour PC is an example of a microcomputer.

Page 14: Micro controller

a microprocessor generally does not have a RAM, ROM or IO pins and generally uses its pins as a bus to interface to peripherals such as RAM, ROM, serial ports, digital and analog IO. Read

Page 15: Micro controller

A microcontroller is a small and low-cost computer built for the purpose of dealing with specific tasks.

orMicrocontroller a single-chip microcomputer with on-board program ROM and I/O that can be programmed for various control functions. Displaying information in a microwave LED or receiving information from

a television’s remote control.

Page 16: Micro controller

Almost all microcontrollers have at least two different kinds of memory,

a non-volatile memory for storing firmware a read-write memory for temporary data.

Page 17: Micro controller

Micro Controller - Benefits

Cost advantage:Lesser power usageAll-in-one

Page 18: Micro controller

General architecture of a microcontroller

Page 19: Micro controller

Architecture:-

A typical microcontroller consists of the following elements:

• A central processor unit (CPU) That contains registers, ALU, and a sequence controller

to control all activities of the microcontroller.• Read only memory (ROM)

To hold a program and any constant data. Modern microcontrollers have flash memory(EEPROM).

• Random access memory (RAM) To store variable data.

• An input/output (I/O) interface to connect the microcontroller to the real world.

Page 20: Micro controller

Microcontrollers generally contain software configurable GPIO pins.

Page 21: Micro controller

Uses:-

automatically controlled products anddevices:-

Automobile Engine Control Systems, Implantable Medical Devices, Remote Controls, Office Machines, Appliances, Power Tools, Toys and Other Embedded Systems,Digital signal processor(DSP).