You are on page 1of 19

Microcontroller & Embedded Systems

Prof. Sale Hanamant Bhagwan


Dept. of Information Technology,
Bharati Vidyapeeth’s College of Engineering,
Navi Mumbai – 400614.

1
Microcontroller & Embedded Systems
CLASS T.E. INFORMATIONTECHNOLOGY SEMESTER V
LECTURES 04
HOURS PER WEEK
PRACTICALS 02
HOURS MARKS
THEORY 04 80
UNIT TEST I - 20
UNIT TEST II - 20
PRACTICAL - -
EVALUATION ORAL - 25
SYSTEM Journal 15
Assignment 05
TERM WORK Attendance 05
Quiz -
Total 25
2 Prof. Sale Hanamant B. Dept. of Information Technology, Bharati Vidyapeeth’s College of Engineering, Navi Mumbai – 400614.
Microcontroller & Embedded Systems

Course Code Credits Assigned Teaching Scheme

TEITC503 Theory Practical Total Theory Practical

04 01 05 04 02

3 Prof. Sale Hanamant B. Dept. of Information Technology, Bharati Vidyapeeth’s College of Engineering, Navi Mumbai – 400614.
Course Educational Objectives

 To conceptualize the basics of embedded systems.


 To conceptualize the basics of organizational and architectural
issues of a microcontroller.
 To learn programming techniques used in microcontroller.
 To understand basic concept of ARM processor.
 To understand fundamentals of real time operating system.
 To design conceptual embedded system.

4 Prof. Sale Hanamant B. Dept. of Information Technology, Bharati Vidyapeeth’s College of Engineering, Navi Mumbai – 400614.
Course Outcomes
At the end of the course student will be able to
 CO1: demonstrate understanding of basic structure & concept of
embedded systems. (PO2)-Module 1
 CO2: explain basic structure, concept and do the assembly language
programming of microcontroller 8051. (PO3)-Module 2, 3
 CO3: explain basic structure, concept and do the assembly language
programming of ARM7. (PO3)-Module 4
 CO4: design conceptual embedded system. (PO4)-Module 5, 6
 CO5: implement programs for microcontroller 8051 and ARM7.
(PO5)-Module 3, 4
5 Prof. Sale Hanamant B. Dept. of Information Technology, Bharati Vidyapeeth’s College of Engineering, Navi Mumbai – 400614.
Detailed Syllabus
CO Detailed Ccontents Ho
urs
CO1 Introduction to Embedded Systems: 6
Overview of Embedded System Architecture, Application areas,
Categories of embedded systems, specialties of embedded systems.
Recent trends in embedded systems. Brief introduction to embedded
microcontroller cores CISC, RISC, ARM, DSP and SoC.
CO2 The Microcontroller Architecture: 8
Introduction to 8051 Microcontroller, Architecture, Pin configuration,
Memory organization, Input /Output Ports, Counter and Timers, Serial
communication, Interrupts.
Assembly Language Programming of 8051: 10
Instruction set, Addressing modes, Development tools, Assembler
Directives, Programming based on Arithmetic & Logical
operations, I/O parallel and serial ports, Timers & Counters, and
ISR.

6 Prof. Sale Hanamant B. Dept. of Information Technology, Bharati Vidyapeeth’s College of Engineering, Navi Mumbai – 400614.
Detailed Syllabus
CO Detailed Ccontents Ho
urs
CO3 ARM 7 architecture: 10
Architectural inheritance, Detailed study of Programmer„s model, ARM
Development tools, Instruction set: Data processing, Data transfer, Control
flow. Addressing modes. Writing simple assembly language programs.
Pipelining, Brief introduction to exceptions and interrupts handling.
CO4 Embedded / Real Time Operating System: 8
Architecture of kernel, Task and Task scheduler, Interrupt service routines,
Semaphores, Mutex, Mailboxes, Message queues, Event
registers, Pipes, Signals, Timers, Memory management, Priority
inversion problem. Off-the-Shelf Operating Systems, Embedded
Operating Systems, Real Time Operating System (RTOS) and
Handheld Operating Systems.
Embedded System - Design case studies: 6
Digital clock, Battery operated smart card reader, Automated meter reading
system, Digital camera.
7 Prof. Sale Hanamant B. Dept. of Information Technology, Bharati Vidyapeeth’s College of Engineering, Navi Mumbai – 400614.
Text Books
 The 8051 microcontroller & Embedded systems, M. A. Mazidi, J. G.
Mazidi, R. D. McKinlay, Pearson
 The 8051 microcontroller & Embedded systems, Kenneth J. Ayala,
Dhananjay V. Gadre, Cengage Learning
 Embedded / real – time systems: concepts, design & programming,
Black Book, Dr. K. V. K. K. Prasad, Dreamtech press, Reprint
edition 2013
 Introduction to embedded systems, Shibu K. V., McGraw Hill
 ARM System on chip Architecture, Steve Furber, Pearson, edition
second
8 Prof. Sale Hanamant B. Dept. of Information Technology, Bharati Vidyapeeth’s College of Engineering, Navi Mumbai – 400614.
Reference Books:
 Embedded systems an integrated approach, Laya B. Das, Pearson,
Third impression, 2013
 ARM system developer‟s guide, Andrew N. Sloss, Dominic Symes,
Chris Wright, Morgan Kaufmann Publishers
 Embedded system design A Unified hardware/software Introduction,
Frank Vahid, Tony Givargis, Wiely
 ARM Technical Reference manual

9 Prof. Sale Hanamant B. Dept. of Information Technology, Bharati Vidyapeeth’s College of Engineering, Navi Mumbai – 400614.
Evaluation
Term Work: 25 Marks (Total marks)
15 Marks (Experiment and Case Studies) + 5 Marks (Assignments) + 5
Marks (Attendance)
 eight programming practicals/experiments based on syllabus
 and two case studies based on recent trends in embedded systems.

 Oral examination will be based on the syllabus.

Theory Examination:
 Question paper will comprise of 6 questions, each carrying 20 marks.
 Total 4 questions need to be solved.
 Q.1 will be compulsory, based on entire syllabus.
 Remaining question will be randomly selected from all the modules.
 Weightage of marks should be proportional to number of hours
assigned to each module.
10 Prof. Sale Hanamant B. Dept. of Information Technology, Bharati Vidyapeeth’s College of Engineering, Navi Mumbai – 400614.
Assignment Plan
Assign Mod Topic Name. Planned Submissio Remark
ment ule Date n Date
No No

16/07/2016 20/07/2016
A1 1 Introduction to Embedded Systems

The Microcontroller Architecture, 16/08/2016 24/08/2016


A2 2, 3 Assembly Language Programming
of 8051
13/09/2016 16/09/2016
A3 4 ARM 7 architecture

Embedded / Real Time Operating 08/10/2016 15/10/2016


A4 5, 6 System, Embedded System - Design
case studies
11 Prof. Sale Hanamant B. Dept. of Information Technology, Bharati Vidyapeeth’s College of Engineering, Navi Mumbai – 400614.
Assignment List
Assignment No.1
1. What are the specialities of Embedded System? Which are the Application
areas?
2. Define and classify the embedded systems, give few examples of such
systems.
3. What is embedded system? Discuss various components of embedded
systems.
4. Explain embedded system architecture.
5. Explain CISC and RISC.
6. Explain features in detail, DSP and SOC.

12 Prof. Sale Hanamant B. Dept. of Information Technology, Bharati Vidyapeeth’s College of Engineering, Navi Mumbai – 400614.
Assignment List
Assignment No.2
1. Explain Architecture of 8051.
2. Explain internal memory organization of 8051.
3. Explain in detail Pin configuration of 8051.
4. Explain Interrupts of 8051.
5. Explain serial communication.
6. Explain any 10 instructions.
7. Explain Addressing modes of 8051.
8. Write a program on Arithmetic operations.
9. Write assembly language program for 8051 to multiply two 8 bit numbers
stored in external memory locations 4000H and 4001H. Send the result on
PORT 1 and PORT 3.
10. Write a program on Logical operations.
11. Write assembly language program for 8051 to transfer message “BVCOE,
Navi Mumbai” at the baud rate of 4800 in mode 1.

13 Prof. Sale Hanamant B. Dept. of Information Technology, Bharati Vidyapeeth’s College of Engineering, Navi Mumbai – 400614.
Assignment List
Assignment No.3
1. Explain ARM programmer’s model.
2. Explain CPSR of ARM 7 processor.
3. Describe the principal features of the ARM architecture.
4. Explain ARM development tool with block diagram.
5. Write all ARM instructions.
6. Write a program to display “Hello BVCOE, Navi Mumbai”.
7. Write a program to Convert HEX value to ASCII.
8. Write a program to divide 32 bit number by an 8 bit number.

14 Prof. Sale Hanamant B. Dept. of Information Technology, Bharati Vidyapeeth’s College of Engineering, Navi Mumbai – 400614.
Assignment List
Assignment No.4
1. Explain in detail tasks and task scheduler.
2. What is Interrupt Service Routines?
3. Describe Semaphores, Mutex, Mailboxes.
4. Explain priority inversion problem in Embedded system. How does it is resolved?
5. Explain in detail : Off-the-Shelf Operating System
6. Explain in detail : Embedded Operating System.
7. Explain in detail : Real Time Operating System.
8. Explain in detail : Handheld Operating System.
9. Explain smart card reader system in detail.
10. Design Digital Clock.
11. Design Digital Camera.
15 Prof. Sale Hanamant B. Dept. of Information Technology, Bharati Vidyapeeth’s College of Engineering, Navi Mumbai – 400614.
Experiment Plan

Exp. Experiment Name Planned Performa Remark


No Date nce Date

0 Numbering System and Logic Gates 04/07/2016

Loading data in A and transferring to R0, R1 of 11/07/2016


1
bank 1
2 Addition of first 10 natural numbers 11/07/2016
3 Addition of two 16 bit numbers 18/07/2016
4 Subtraction of two 16 bit numbers 25/07/2016

5 Multiplication of two 8 bit numbers 01/08/2016

6 Division of two 8 bit numbers 01/08/2016

7 Finding Smallest/Largest Number in the Array 08/08/2016

16 Prof. Sale Hanamant B. Dept. of Information Technology, Bharati Vidyapeeth’s College of Engineering, Navi Mumbai – 400614.
Experiment Plan
Exp. Experiment Name Planned Performa Rem
No Date nce Date ark
8 Conversion of Hexadecimal number to Decimal Number 22/08/2016

9 Performing logical operations, AND, OR, XOR, NOT 22/08/2016

10 Generation of Square wave using timer 29/08/2016

11 To transfer message serially to P1.5 05/09/2016

Write a ARM assembly language program to display 12/09/2016


12
“Hello TEIT”
Write a ARM assembly language program to transfer 12/09/2016
13
block of data from one address to other address
Write a ARM assembly language program to convert 26/09/2016
14
hexadecimal to ASCII conversion
Write a ARM assembly language program to divide a 32 26/09/2016
15
bit number by an 8 bit number
17 Prof. Sale Hanamant B. Dept. of Information Technology, Bharati Vidyapeeth’s College of Engineering, Navi Mumbai – 400614.
Experiment List
Exp. No Experiment Name
0 Numbering System and Logic Gates

1 Loading data in A and transferring to R0, R1 of bank 1

2 Addition of first 10 natural numbers

3 Addition of two 16 bit numbers

4 Subtraction of two 16 bit numbers

5 Multiplication of two 8 bit numbers

6 Division of two 8 bit numbers

7 Finding Smallest/Largest Number in the Array

8 Conversion of Hexadecimal number to Decimal Number

9 Performing logical operations, AND, OR, XOR, NOT

10 Generation of Square wave using timer

11 To transfer message serially to P1.5

12 Write a ARM assembly language program to display “Hello TEIT”

13 Write a ARM assembly language program to transfer block of data from one address to other address

14 Write a ARM assembly language program to convert hexadecimal to ASCII conversion

15 Write a ARM assembly language program to divide a 32 bit number by an 8 bit number
18 Prof. Sale Hanamant B. Dept. of Information Technology, Bharati Vidyapeeth’s College of Engineering, Navi Mumbai – 400614.
Experiment List

19 Prof. Sale Hanamant B. Dept. of Information Technology, Bharati Vidyapeeth’s College of Engineering, Navi Mumbai – 400614.