PRINICIPLES OF EMBEDDED SYSTEMS
Course Objectives:
Introduce to features that build an embedded system. To help students to understand the
interaction that the various components within an embedded system have with each other.
Techniques of inter facing between processors & peripheral device related to embedded processing.
To enable writing of efficient programs on any dedicated processor. To introduce the concepts of Real
time operating systems.
Course Outcomes
Upon completion of the course, students shall have ability to
1 Remember the building blocks for Embedded System.
2 Remember the Processor and memory Organization.
3 Understand the Devices and buses for device network.
4 Understand the feedback connections to be used in amplifiers.
5 Apply I/O Programming and Schedule Mechanism.
6 Understand the Real Time Operating System.
Course Contents
INTRODUCTION TO EMBEDDED SYSTEM : Introduction to functional building blocks of embedded
systems – Register, memory devices, ports, timer, interrupt controllers using circuit block diagram
representation for each categories. PROCESSOR AND MEMORY ORGANIZATION : Structural units in a
processor; selection of processor & memory devices; shared memory; DMA; interfacing processor,
memory and I/O units; memory management – Cache mapping techniques, dynamic allocation -
Fragmentation. Case study: Required Memory devices for a Digital Camera and Voice recorder. DEVICES
& BUSES FOR DEVICES NETWORK : I/O devices; timer & counting devices; serial communication using
I2C,SPI, CAN, USB buses, RS485,RS232, wireless applications(Bluetooth,Zigbee) parallel communication
using ISA, PCI, PCI/X buses, arm bus; interfacing with devices/ports, device drivers in a system –
Introduction. I/O PROGRAMMING AND SCHEDULE MECHANISM : Intel I/O instruction – Transfer rate,
latency; interrupt driven I/O - Non-maskable interrupts; software interrupts, writing interrupt service
routine in C & assembly languages; preventing interrupt overrun; disability interrupts. Case study:
Automatic Washing machine, Chocolate vending machine REAL TIME OPERATING SYSTEM (RTOS):
Introduction to basic concepts of RTOS, RTOS – Interrupt handling, Scheduling Algorithms - Rate
monotonic algorithm - earliest deadline algorithm – Round robin algorithm; embedded system design
issues in system development process – Action plan, use of target system, emulator, use of software
tools. Allocation and scheduling. Multi threaded programming – Context switching, premature & non-
premature multitasking, semaphores. Scheduling – Thread states, pending threads, context switching,
round robin scheduling, priority based scheduling, assigning priorities, deadlock, watch dog timers.
List of Experiments 1. LED Blinking Program 2. ADC using Potentiometer. 3. Communication using UART
4. Speed control of DC motor using PWM 5. Programming Using Timer is an application 6. Application
Using Peripherals.
Text Books:
1. P. Rajkamal, ‘Embedded System – Architecture, Programming, Design’, Tata McGraw Hill, 2014.
2. Daniel W. Lewis, ‘Fundamentals of Embedded Software’, Prentice Hall of India, 2013.