EC6504 MICROPROCESSOR AND MICROCONTROLLER Year/ Semester: 3/5 LTPC 3003 Prepared By S.DINESH...

Preview:

Citation preview

EC6504 MICROPROCESSOR AND MICROCONTROLLER

Year/ Semester: 3/5LTPC3003

Prepared By

S.DINESH SUNDAR/AP Dept of ECE

PROGRAM OBJECTIVES

To produce graduates who understand the basic operation of a microprocessor and microcontroller system and who have learned fundamental programming skills in assembly language

DEPARTMENT OBJECTIVES

• Optimize and integrate current information systems and services based upon a risk management framework (COBIT) and through multi-sourcing.

• Establish and centralize all functions related to systems development so as to avoid the risk of systems development becoming fragmented.

•Enhance staff competence and improve job performance through knowledge and use of information technology and resources.

LIST OF SUBJECTS

Electronics CSE/IT

Digital Principles and System Design Programming and Data Structures I

Analog and Digital Communication Programming and Data Structures II

Microprocesor and Microcontroler Operating Systems

Digital Signal Procesing Wireles Communication

Compiler Design

Software Architectures

Cryptography and Network Security

Service Oriented Architecture

AIM

To learn the architecture, programming, interfacing and system design of microprocessors and microcontrollers

The student should be made to:

Study the Architecture of 8086 microprocessor.Learn the design aspects of I/O and Memory Interfacing circuits.Study about communication and bus interfacing.Study the Architecture of 8051 microcontroller.

OBJECTIVES

At the end of the course, the student should be able to:

Design and implement programs on 8086 microprocessor.Design I/O circuits.Design Memory Interfacing circuits.Design and implement 8051 microcontroller based systems.

OUTCOMES

INTRODUCTION

MICRO PROCESSOR

• Chip on a computer

MICRO CONTROLLER

• Computer on a chip

COMPARISION

APPLICATION

SYLLABUS

UNIT I THE 8086 MICROPROCESSOR (9)

– Introduction to 8086 – Microprocessor architecture – Addressing modes – Instruction set and assembler directives – Assembly language programming – Modular Programming – Linking and Relocation – Stacks – Procedures – Macros – Interrupts and interrupt service routines – Byte and String Manipulation.

PIN DIAGRAM

S.NO CONTENT

NOV/DEC 2010

APR/MAY 2011

NOV/DEC 2011

APR/MAY 2012

NOV/DEC 2012

MAY/JUN 2013

WEIGHTAGE

No of min to be

allottedNo of

sessions to be

allotted

Estimated hrs

2M 16M 2M 16M 2M 16M 2M 16M 2M 16M 2M 16M 2M 16M 2M 16M

1 Introduction to 8086 0 0 0

11+ 1 (Ori)+1

(sem)

2 Microprocessor architecture * * 2 0 100 1

3 Addressing modes * * * * * * 2 4 196 200 2

4 Instruction set & assembler directives * 0 0 2

5 Assembly language programming * * * * 1 3 98 150 2

6 Modular Programming 0 0 0

7 Linking and Relocation 0 0 0

8 Stacks - Procedures – Macros * * 1 1 98 50 1

9 Interrupts and interrupt service routines * * * * 2 2 196 100 1

10 String Manipulation. 0 0 0

Tot 6 12

AUC QUESTION COMAPSION DETAILSUNIT 1

UNIT II 8086 SYSTEM BUS STRUCTURE (9)

– 8086 signals – Basic configurations – System bus timing –System design using 8086 – IO programming – Introduction to Multiprogramming – System Bus Structure – Multiprocessor configurations – Coprocessor, Closely coupled and loosely

Coupled configurations

– Introduction to advanced processors.

UNIT 2

S.NO CONTENT

NOV/DEC 2010

APR/MAY 2011

NOV/DEC 2011

APR/MAY 2012

NOV/DEC 2012

MAY/JUN 2013

WEIGHTAGE No of min to

be allotted

No of sessions

to be allotted

Estimated hrs

2M 16M 2M 16M 2M 16M 2M 16

M 2M 16M 2M 16

M 2M 16M 2M 16M

1 8086 signals – Basic configurations 0 0 0

10+1 (Intro)

+2 (Quiz &

Video)+1

(sem)

2 System bus timing 0 0 1

3 System design using 8086 0 0 1

4 IO programming * 1 117 0 1

5 Introduction to Multiprogramming 0 0 1

6 System Bus Structure 0 0 1

7 Multiprocessor & Coprocessor configurations

* * * * 2 2 235 120 2

8 Closely coupled configurations * * * * 2 2 235 120 1

9 loosely Coupled configurations * * * 1 2 117 120 1

10 Introduction to advanced processors 0 0 0

Tot 6 6

UNIT III I/O INTERFACING (9)

– Memory Interfacing and I/O interfacing – Parallel communication interface – Serial communication interface – D/A and A/D Interface – Timer – Keyboard /display controller – Interrupt controller – DMA controller – Programming and applications Case

studies: Traffic Light control,

LED display , LCD display, Keyboard display interface Alarm Controller.

Traffic Light control

7 Segment Display

UNIT 3

S.NO CONTENT

NOV/DEC 2010

APR/MAY 2011

NOV/DEC 2011

APR/MAY 2012

NOV/DEC 2012

MAY/JUN 2013

WEIGHTAGE

No of min to be

allotedNo of

sessions to be

allotted

Estimated hrs

2M 16M 2M 16M 2M 16M 2M 16

M 2M 16M 2M 16

M 2M 16M 2M 16M

1 Memory Interfacing and I/O interfacing 0 0 1

13+1 (Intro)

+1 (sem)

2 Parallel communication interface * 1 0 60 1

3 Serial communication interface 0 0 14 D/A and A/D Interface * 1 117 0 1

5 Timer – Keyboard /display controller * * * 3 0 180 2

6 Interrupt controller * 1 0 60 17 DMA controller * * * * 1 3 117 180 1

8 Case studies: Traffic Light control 0 0 1

9 LED display , LCD display, 0 0 2

10 Keyboard display interface and Alarm Controller

0 0 2

Tot 2 8

UNIT IV MICROCONTROLLER (9)

– Architecture of 8051 – Special Function Registers(SFRs) – I/O Pins Ports and Circuits – Instruction set– Addressing modes – Assembly language programming.

PIN DIAGRAM

8051 ARCHITECTURE

SPECIAL FUNCTION REGISTER

UNIT 4

S.NO CONTENT

NOV/DEC 2010

APR/MAY 2011

NOV/DEC 2011

APR/MAY 2012

NOV/DEC 2012

MAY/JUN 2013

WEIGHTAGE No of min

to be alloted

No of sessions

to be allotted

Estimated hrs

2M 16M 2M 16M 2M 16M 2M 16

M 2M 16M 2M 16

M 2M 16M 2M 16M

1 Architecture of 8051 * 1 0 60 1

10+1 (Intro)

+2 (Quiz & Video)+ 1(sem)

2 Special Function Registers(SFRs)

* * * * * 2 3 235 180 2

3 I/O Pins Ports and Circuits * * * 3 0 180 1

4 Instruction set 0 0 2

5 Addressing modes 0 0 2

6 Assembly language programming

0 0 2

Tot 2 7

UNIT V INTERFACING MICROCONTROLLER (9)

– Programming 8051 Timers – Serial Port Programming – Interrupts Programming – LCD & Keyboard Interfacing – ADC, DAC & Sensor Interfacing – External Memory Interface – Stepper Motor and Waveform

generation.

UNIT 5

S.NO CONTENT

NOV/DEC 2010

APR/MAY 2011

NOV/DEC 2011

APR/MAY 2012

NOV/DEC 2012

MAY/JUN 2013

WEIGHTAGE No of min

to be alloted

No of sessions

to be allotted

Estimated hrs

2M 16M 2M 16M 2M 16M 2M 16

M 2M 16M 2M 16

M 2M 16M 2M 16M

1 Programming 8051 Timers * * * 1 2 117 120 1

11+ 1(Intro)

+ 1(sem)

2 Serial Port Programming * * * 1 2 117 120 1

3 Interrupts Programming * * 1 1 117 60 1

4 LCD & Keyboard Interfacing * * * * 1 3 117 180 2

5 ADC, DAC * * * * * 2 3 235 180 2

6 Sensor Interfacing 0 0 1

7 External Memory Interface 0 0 1

8 Stepper Motor * * 1 1 117 60 1

9 Waveform generation 0 0 1

Tot 7 12

MINI PROJECTS

http://www.electronicshub.org/interfacing-7-segment-display-8051/

INTERFACING 7 SEGMENT DISPLAY USING 8051

URLS

•https://www.youtube.com/watch?v=peX0rICizC0•https://www.youtube.com/watch?v=slmdRiu-m3o•https://www.youtube.com/watch?v=NH3VsozxuFg•https://www.youtube.com/watch?v=iV4TPnOLvgA •https://www.youtube.com/watch?v=LTvv8fzopzE •https://www.youtube.com/watch?v=0-ljoBEi-WE•https://www.youtube.com/watch?v=Aaz87BJzzKU •https://www.youtube.com/watch?v=1eYdfVa21dw

TEXT BOOKS: 1. Yu-Cheng Liu, Glenn A.Gibson, “Microcomputer Systems: The 8086 / 8088 Family - Architecture, Programming and Design”, Second Edition, Prentice Hall of India, 2007. 2.Mohamed Ali Mazidi, Janice Gillispie Mazidi, Rolin McKinlay, “The 8051 Microcontroller and Embedded Systems: Using Assembly and C”, Second Edition, Pearson Education, 2011.

REFERENCE: 1.Doughlas V.Hall, “Microprocessors and Interfacing, Programming and Hardware,TMH, 2012

LOCAL AUTHOR: MICROPROCESSOR & MICROCONTROLLER --- SRIKRISHNA PUBLISHERS