MICROPROCESSOR & INTERFACING



MICROPROCESSOR & INTERFACING

L
3
T
0
P
2

Curri. Ref. No.: CSE407

Total Contact hrs : 75
Theory: 45
Tutorial: 0
Practical: 30
Pre requisite: CSE403,      CSE404
Credit: 4

Total marks: 150
Theory: 100
End Term Exam: 70
P.A.: 30
Practical: 50
End Term Exam:25
P.A. : 25


Theory
Total Periods      : 45
Periods                 : 3 P/W
UNIT
TOPIC/SUB-TOPIC
TOTAL HRS.

1
Introduction to Microprocessor –
Evolution of Microprocessors,Specific features of Microprocessors, Application in our daily life (a few examples)
2
2

Internal architecture of a microprocessor (using block diagram);
Explanation of each block in brief, Concept of bus structure, Register-to-register transfer, Communication with I/O and memory (This part can be explained using the specific microprocessors like 8085 or 8086/8088). Pin details of 8085 and 8086/8088 CPU and their functions in brief


6
3

Addressing modes in general (may be limited to 8085 and 8086/8088 CPU), Instruction cycles, Instruction set, timing diagram (may be limited to 8085 and 8086/8088 CPU). Concept of assemblers and compilers

3
4
Interfacing of Memory and I/O devices :
Concept of address space, address/data bus demultiplexing, address and data bus buffering, address decoding, I/O concepts, memory interfacing concept of I/O mapped I/O and memory mapped I/O.
Interrupts - Types of interrupts, Hardware and software data transfer schemes - Synchronous, asynchronous and interrupt driven.

5
5
Assembly Language Programming :
(This part may be limited to the use assembly language of 8085 or 8086/8088 CPU) i) Example for register to register, register to memory, memory to register, block of data movement from one area of memory to another, merging of two blocks of data, data block exchange. ii) Examples of arithmetic addition, subtraction, multiplication and division iii) Examples of searching and   sorting (simple) iv) Examples using of look up tables v) Use subroutines and delay programme.


10
6
Peripheral chips and their Interfacing :
Functional description of 8255, 8253, 8251, 8257, 8237 and 8259. Interfacing of these chips with some standard CPU. Simple assembly language programme to explain the function of these chips.

6
7
Special Purpose Interfacing Devices and their Interfacing : Keyboard interfacing, 7 segment and dot matrix display interfacing, A/D and D/A interfacing, Stepper motor interfacing

4
8
Recent standard μp : Intel family, HP family and Motorola family.
Concepts of embedded μp.

4
9
PC Interfacing : Simple interfacing of Input/Output peripherals like LED, 7 segment LED display modules, steppes motor, relays through digital I/O card or through the parallel port. Serial link between microprocessor trainer kit and PC serial port, EPROM programming using PC port.

5
-------
Total
45







Practical
Total Periods      : 30                        
Classes                 : 2 P/W

List of Experiments :- 
1
Acquaintance with the microprocessor trainer kit hardware and the user's commands (Dynalog/Vinyties/ALS)
2
Assembly language programme development : Data transfer programme - Register to Register, Register to Memory and Vice-Versa
Arithmetic Operation - 8 bit addition and subtraction, multi-byte addition and subtraction, BCD addition and subtraction, multiplication using repeated addition, multiplication using shift-add process, signed multiplication, Binary division, BCD division
3
Array processing - Adding one entry to an array, checking of an ordered list, replacing of one or more entries in a list, sorting and searching, block movement, block exchange and data insertion
4
Look-up table - finding squares, cubes etc., of a number using look-up table, code conversion using look-up table
5
Delay program, use of subroutine (use the above programme as a subroutine in a main programme
6
Data Input/Output - Programming 8255 with the basic I/O modes, programming 8253, interfacing 7-segment display, bar graph display, multiplexed display, programming 8253, in different modes, waveshape generation using 8253, Interfacing of ADC and DAC with microprocessors/microcontroller, keyboard interfacing (using interrupts or polling) to microprocessor/microcontroller, relay interfacing, stepper motor interfacing.
7
PC Interfacing : Experiments on ADC/DAC interfacing, to stepper motor interfacing and display interfacing, Other interfacing problems may be repeated using PC interfacing and run by using any High level language.


REFERENCE BOOKS:

1.            Introduction to Microprocessor - by A.P. Mathur, TMH
2.            Microprocessor - by Ramesh S. Gaonkar, PHI
3.            Microprocessor - by D.Hall, MGH
4.            IBM PC & Clones - by Govindarajalu, TMH
5.            Computer Organization & Architecture - by William Stalings, PHI

LIST OF EQUIPMENT                                                                                                      
                                                                                                                               
1.            PC (for detail, please refer Annex – I)
2.            UPS
3.            Printer
4.            Digital real-time oscilloscope
5.            Function Generator
6.            Digital Multimeter
7.            CBT/CAI Interface Base Unit
8.            Light Sensor Module
9.            Temperature Sensor Module
10.          Pressure Transducer Module
11.          Sensor Module – Semiconductor Temperature, Light Sensor, Pressure Sensor & Magnetic Sensor
12.          Stepper Motor Control Module
13.          Intel MCS-51 Microcontroller System
14.          EPROM Programmer
15.          32-Bit Microprocessor, 8085 Microprocessor kit (trainer)
16.          LED Display
17.          Peripheral chips, 8255, 8253, 8251, 8237, 8259
19.          Micro assembler