You are on page 1of 9

Course code Microprocessor and Interfacing L T P J C

CSE2006 2 0 2 4 4
Pre-requisite CSE2001 Computer Architecture and Organization Syllabus version
v. xx.xx
Course Objectives:
Introduction to fundamentals of 8086

as assembler(MASM, EMU8086)

Expected Course Outcome:


CO 1: Explain the design aspects of a typical microprocessor and illustrate its capabilities.
CO 2: Practice and simulate assembly programs. To develop logics at assembly level for solving various
operations.
CO 3: Understand need for and working of Interrupt Service Routines (ISRs) and practice assembly programs for
file handling and other operations using ISR.
CO 4: Illustrate interfacing of IO devices using PPI and PIC for polling and Interrupt Driven IO modes.
Understand the importance and working of Timer/Counter for delay, time out and waveform generation.
CO 5: Illustrate UART interfacing for asynchronous serial communication and Data converters for handling
analog data.
CO 6: Explain the design aspects of Co-Processor and illustrate its capabilities by practicing sample assembly
programs.
CO 7: Explore Arduino prototyping board, sample sensors and actuators and develop smart solutions for socio-
economic issues.

Student Learning Outcomes (SLO): 2,5,9

Module:1 INTRODUCTION TO 8086 MICROPROCESSOR X hours SLO: x,x


Introduction to 8086, Pin diagram, Architecture, addressing mode
and Instruction set

Module:2 INTRODUCTION TO ALP x hours SLO: x, x


Tools- Assembler Directives, Editor, assembler, debugger, simulator and emulator. E.g., ALP Programs-
Arithmetic Operations and Number System Conversions, Programs using
Loops, If then else, for loop structures

Module:3 Advanced ALP x hours SLO: x,x


interrupt programming using DOS BIOS function calls, File
Management

Module:4 INTRODUCTION TO PERIPHERAL x hours SLO: x,x


INTERFACING-I
PPI 8255, Timer 8253,Interrupt controller-8259

Module:5 INTRODUCTION TO PERIPHERAL x hours SLO: x,x


INTERFACING-II
IC 8251 UART, Data converters (A/D and D/A Converter), seven
segment display and keyboard interfacing

Module:6 CO-PROCESSOR x hours SLO: x,x


Introduction to 8087, Architecture, Instruction set and ALP
Programming

Module:7 INTRODUCTION TO ARDUINO BOARDS x hours SLO: x,x


Introduction to Microcontroller- Quark SOC processor, programming, Arduino Boards using GPIO
(LED,LCD, Keypad, Motor control and sensor), System design application and case
study.

Module:8 Recent Trends x hours SLO: x,x


Architecture of one of the advanced processors such as Multicore, Snapdraggon, ARM processor in ipad.

Total Lecture hours: 30 hours

Text Book(s)
1. A.K. Ray and K.M. Bhurchandi Advanced Microprocessors and Peripherals, third Edition, Tata
McGraw Hill, 2012.

2. Barry B Bray , The Intel Micro processor 8086/8088, 80186,80286, 80386 and 80486-Arcitecture,
programming and interfacing, PHI, 8th Edition,2009

Reference Books
1. Douglas V. H
Third edition, 2012.
2.
Universal Book stall, New Delhi, Second edition, 1995
3. K Uday Kumar, B S Umashankar, Advanced Micro processors & IBM-PC Assembly Language Programming,
Tata McGraw Hill, 2002.
4.

Mode of Evaluation:

List of Challenging Experiments (Indicative) SLO: 14,17

1. The bating strike rate of a batsman in an IPL series for 12


matches is 12h,14h,18h,20h,10h,11h,15h,24h,12h,10h,8h and
16h. Write a procedure to calculate the average strike rate of the
batsman.
2.
procedure.
3. Write an ALP to find number of password phrase possible using
4 alphabets and 2 numbers. The alphabet and number should not
be repeated.
4. Tulip flower petals are arranged in Fibonacci pattern from outer
layer. Write an ALP to find numbers of petals available at the 5th
layer of a Tulip.
5. For a decoration, 100 petals of Tulip are required. Tulip has
petals arranged in Fibonacci number and has petals up to 5th
Fibonacci level. Write an ALP to find number of Tulip flowers
required for the decoration.
6. VIT university is planning to admit 10 new Ph.D candidates for
the SCSE, but VIT received 15 applications and their marks out
of 100 are: 30,24,12,70,45,67,34,20,33,88,34,69,54,90 and 50.
Write an ALP to select top 10 candidates.

7. word from the

in reverse
8. Read your name from the keyboard and display it at a specified

9.

10. For security reasons, the bank accepts the username of a new
internet user with a characteristic such that the reverse of the user

Write an ALP for the above scenario.

11. Assume an optical document scanner. The Optical sensor is


controlled by the stepper motor. While scanning the optical
sensor has to move slowly from left to right and has to move
back to the left. Write an ALP to control the optical sensor while
scanning.

12. Assume that 1st of May is Friday, you are planning to take a
leave on Friday of 6th week from 1st May. Find the date of leave
and display all the dates of Friday till 6th weeks.
13. Write an ALP to switch the simulate Traffic Light using input
output peripherals interfaced to 8086 microprocessor/ GPIO of
Intel Arduino Board

Total Laboratory Hours X hours


Sample Project # Generally a team project [5 to 10 members] X hours
# Assessment on a continuous basis with a min of 3 reviews.

Projects may be given as group projects


Sample project titles:

Water Level/ Flood Control system using microprocessor/arduino -


GPIO
Elevator Control System
Home Automation System using arduino GPIO
Efficient water supply to the plants using Moisture sensor( Intel Galileo Arduino
Board)
Security system Intel Arduino Galileo Board(Burglar Alarm system)
Arduino based obstacle detection system for disabled people.
Pill Remainder for elderly people using arduino
People counter using Arduino in an auditorium
X hours
Mode of evaluation:
Recommended by Board of Studies DD-MM-YYYY
Approved by Academic Council No. xx Date DD-MM-YYYY
CO-PO MAPPING:

PO 2 PO 3 PO 6,7 PO 3 PO 4 PO 5

SLO 2 SLO 5 SLO 9 SLO 6 SLO 14 SLO 17

CO1 *
CO2 * * *
CO3 * * *
CO4 * *
CO5 * * *
CO6 * *
CO7 * *
CO8 * * * * *
(Lab)
CO9 * * * * *
(J)

Knowledge areas that contain topics and learning outcomes covered in the course

Knowledge Area Total Hours of Coverage

CS: AR(Architecture) / CE: CAO(Computer 28


Architecture and Organization)

CS: HCI (Human computer Interaction) 2

Body of Knowledge coverage

KA Knowledge Unit Topics Covered Hours

CE:CAO0 History and Indicate some important topic areas such as 2


overview of system organization and architecture,
CE:CAO6
computer memory, interfacing, microprocessors
CE:CAO3 architecture and CAO0
organization Mention a typical CPU and sketch its
organization CAO0
The CPU interface: clock, control, data and
Processor systems address buses (CAO6)
design Main memory organization and its
characteristics and performance (CAO3)

CE:CAO1 Fundamentals of Instruction formats (CAO1) 4


computer The fetch/execute cycle; instruction
CS:AR architecture decoding and execution (CAO1)
Registers and register files (CAO1)
Instruction types and addressing modes
Assembly Level (CAO1)
Machine Control unit; instruction fetch, decode, and
Organization execution AR
Instruction sets and types (data
manipulation, control, I/O) AR
Instruction formats AR
Addressing modes AR

CE:CAO1 Fundamentals of Programming in assembly language CAO1 7


computer I/O techniques and interrupts CAO1
CS:AR architecture Subroutine call and return mechanisms
CAO1, AR
Assembly/machine language programming
Assembly level AR
machine
organization

CE:CAO4 Interfacing and I/O fundamentals: handshaking, buffering, 7


communication I/O techniques: programmed I/O, interrupt-
CE:CAO6 driven I/O, DMA, (CAO4)
Interrupt structures: vectored and
Processor systems prioritized, interrupt overhead, interrupts
design and re-entrant code (CAO4)
Basic parallel and serial interfaces (CAO6)
Timers (CAO6)
CS:AR Assembly Level I/O and interrupt AR
Machine I/O fundamentals: handshaking, buffering,
Organization programmed I/O, interrupt-driven I/O AR
Interrupt structures: vectored and
prioritized, interrupt acknowledgment AR

Interfacing and
Communication
CE:HCI1 Foundations of Motivation: the importance of the human 2
human-computer interface in computer engineering; issues of
CS:HCI interaction small screens and larger screens, HCI1
Principles of good human computer
interaction design in the context of
User-centered computer engineering; engineering
design and testing tradeoffs, HCI1
Approaches to, and characteristics of, the
design process HCI

CE:CAO2 Computer Representation of integers (positive and 8


arithmetic negative numbers)
Significance of range, precision, and accuracy
in computer arithmetic
Representation of real numbers (standards for
floating-point arithmetic)
Algorithms for carrying out common floating-
point operations
Converting between integer and real numbers
Multi-precision arithmetic
Hardware and software implementation of
arithmetic unit
The generation of higher order functions from
square roots to transcendental functions

Total hours 30

Where does the course fit in the curriculum?

This course is
A Program core Course
Suitable from 3rd semester onwards
Knowledge of Fundamental Digital logic is preferred

What is covered in the course?

This course is designed to cover Introduction to microprocessor and microcontroller. Various peripheral
devices that may be connected to microprocessor for input, output with other system are covered here.
Second module covers how to program the microprocessor using assembly language. Intel 80x86
architecture is used in desktop computers. Peripheral device interface and assembly language
programming to interact with DOS is also covered here. Fourth module covers to enable multiprocessing
with numeric processor.
The last module is intended for encouraging project work in automation at home and at Industry.

What is the format of the course?

This Course is designed with 100 minutes of in-classroom sessions per week. Generally this course will
have the combination of lectures, in-class discussion, case studies, guest-lectures, mandatory off-class
reading material, assignments and quizzes.

How are students assessed?


Students are assessed based on group activities, classroom discussion, assignments, quiz, projects,
continuous (CAT) assessment test, and final assessment test.

Session wise plan

Sl. Class Hour Lab Topic Covered levels of Text/ Remarks


No. Hour mastery
Reference
Book
1 3 Introduction to Familiarity 1,2
8086, Pin
diagram,
Architecture,
2 3 4 addressing mode Usage 1, 2
and Instruction
set
3 1 1 Tools- Usage 1 LAB
Assembler Component
Directives,
Editor,
assembler,
debugger,
simulator and
emulator
4 3 5 . E.g., ALP Assessment 1,2 LAB
Programs- Component
Arithmetic
Operations and
Number System
Conversions,
5 1 4 Programs using Familiarity 1,2 LAB
Loops, If then Component
else, for loop
structures
6 2 2 interrupt Usage 1, LAB
programming Component
using DOS
BIOS function
calls, File
Management
7 3 2 PPI 8255, Familiarity 1 LAB
Timer 8253 Component
8 2 0 Interrupt Usage 1
controller-8259,
9 2 2 IC 8251 UART, Usage 1
Data converters
(A/D and D/A
Converter),
10 2 2 seven segment Usage 1 LAB
display and Component
keyboard
interfacing
11 2 4 Introduction to Usage 1
8087,
Architecture,
12 2 Instruction set 1
and ALP
Programming
13 1 Introduction to Usage INTEL LAB
Microcontroller- Galileo Component
Quark SOC Arduino
processor, Lab manual
14 1 4 Programming Assessment INTEL LAB
INTEL Galileo Galileo Component
Arduino Boards Arduino
using GPIO Lab manual
(LED, LCD,
Keypad, Motor
control and
sensor), System
design
application and
case study.
15 2 Recent trends:
Architecture of
one of the
advanced
processors, such
as Multicore,
Snapdraggon,
ARM processor
in ipad.
30 Hours (2 30
Credit hours Hours
(2
Weeks Credit
schedule) hours /
week )

You might also like