21CS43 Microcontroller and Embedded System syllabus for CS



A d v e r t i s e m e n t

Module-1 Microprocessors versus Microcontrollers, ARM Embedded Systems 0 hours

Microprocessors versus Microcontrollers, ARM Embedded Systems:

The RISC design philosophy, The ARM Design Philosophy, Embedded System Hardware, Embedded System Software.

 

ARM Processor Fundamentals:

Registers, Current Program Status Register, Pipeline, Exceptions, Interrupts, and the Vector Table, Core Extensions

 

Textbook 1: Chapter 1 - 1.1 to 1.4, Chapter 2 - 2.1 to 2.5

 

Laboratory Component:

1. Using Keil software, observe the various registers, dump, CPSR, with a simple ALP programme

Module-2 Introduction to the ARM Instruction Set 0 hours

Introduction to the ARM Instruction Set:

Data Processing Instructions , Branch Instructions, Software Interrupt Instructions, Program Status Register Instructions, Coprocessor Instructions, Loading Constants

 

C Compilers and Optimization :

Basic C Data Types, C Looping Structures, Register Allocation, Function Calls, Pointer Aliasing,

 

Textbook 1: Chapter 3: Sections 3.1 to 3.6 (Excluding 3.5.2), Chapter 5

 

Laboratory Component:

2. Write a program to find the sum of the first 10 integer numbers.

3. Write a program to find the factorial of a number.

4. Write a program to add an array of 16 bit numbers and store the 32 bit result in internal RAM.

5. Write a program to find the square of a number (1 to 10) using a look-up table.

6. Write a program to find the largest or smallest number in an array of 32 numbers.

Module-3 C Compilers and Optimization 0 hours

C Compilers and Optimization :

Structure Arrangement, Bit-fields, Unaligned Data and Endianness, Division, Floating Point, Inline Functions and Inline Assembly, Portability Issues.

 

ARM programming using Assembly language:

Writing Assembly code, Profiling and cycle counting, instruction scheduling, Register Allocation, Conditional Execution, Looping Constructs

 

Textbook 1: Chapter-5,6

 

Laboratory Component:

1. Write a program to arrange a series of 32 bit numbers in ascending/descending order.

2. Write a program to count the number of ones and zeros in two consecutive memory locations.

3. Display “Hello World” message using Internal UART

Module-4 Embedded System Components 0 hours

Embedded System Components:

Embedded Vs General computing system, History of embedded systems, Classification of Embedded systems, Major applications areas of embedded systems, purpose of embedded systems.

Core of an Embedded System including all types of processor/controller, Memory, Sensors, Actuators, LED, 7 segment LED display, stepper motor, Keyboard, Push button switch, Communication Interface (onboard and external types), Embedded firmware, Other system components.

 

Textbook 2: Chapter 1 (Sections 1.2 to 1.6), Chapter 2 (Sections 2.1 to 2.6)

 

Laboratory Component:

1. Interface and Control a DC Motor.

2. Interface a Stepper motor and rotate it in clockwise and anti-clockwise direction.

3. Determine Digital output for a given Analog input using Internal ADC of ARM controller.

4. Interface a DAC and generate Triangular and Square waveforms.

5. Interface a 4x4 keyboard and display the key code on an LCD.

6. Demonstrate the use of an external interrupt to toggle an LED On/Off.

7. Display the Hex digits 0 to F on a 7-segment LED interface, with an appropriate delay in between.

Module-5 RTOS and IDE for Embedded System Design 0 hours

RTOS and IDE for Embedded System Design:

Operating System basics, Types of operating systems, Task, process and threads (Only POSIX Threads with an example program), Thread preemption, Multiprocessing and Multitasking, Task Communication (without any program), Task synchronization issues – Racing and Deadlock, Concept of Binary and counting semaphores (Mutex example without any program), How to choose an RTOS, Integration and testing of Embedded hardware and firmware, Embedded system Development Environment – Block diagram (excluding Keil), Disassembler/decompiler, simulator, emulator and debugging techniques, target hardware debugging, boundary scan.

 

Textbook 2: Chapter-10 (Sections 10.1, 10.2, 10.3, 10.4 , 10.7, 10.8.1.1, 10.8.1.2, 10.8.2.2, 10.10 only), Chapter 12, Chapter-13 ( block diagram before 13.1, 13.3, 13.4, 13.5, 13.6 only)

 

Laboratory Component:

1. Demonstration of IoT applications by using Arduino and Raspberry Pi

 

Course outcome (Course Skill Set)

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

CO 1. Explain C-Compilers and optimization

CO 2. Describe the ARM microcontroller's architectural features and program module.

CO 3. Apply the knowledge gained from programming on ARM to different applications.

CO 4. Program the basic hardware components and their application selection method.

CO 5. Demonstrate the need for a real-time operating system for embedded system applications.

 

Assessment Details (both CIE and SEE)

  • The weightage of Continuous Internal Evaluation (CIE) is 50% and for Semester End Exam (SEE) is 50%.
  • The minimum passing mark for the CIE is 40% of the maximum marks (20 marks).
  • A student shall be deemed to have satisfied the academic requirements and earned the credits allotted to each subject/ course if the student secures not less than 35% (18 Marks out of 50) in the semester-end examination (SEE), and a minimum of 40% (40 marks out of 100) in the sum total of the CIE (Continuous Internal Evaluation) and SEE (Semester End Examination) taken together

 

Continuous Internal Evaluation:

Three Unit Tests each of 20 Marks (duration 01 hour)

1. First test at the end of 5th week of the semester

2. Second test at the end of the 10th week of the semester

3. Third test at the end of the 15th week of the semester Two assignments each of 10 Marks

4. First assignment at the end of 4th week of the semester

5. Second assignment at the end of 9th week of the semester

 

Practical Sessions need to be assessed by appropriate rubrics and viva-voce method. This will contribute to 20 marks.

 

  • Rubrics for each Experiment taken average for all Lab components – 15 Marks.
  • Viva-Voce– 5 Marks (more emphasized on demonstration topics)

 

The sum of three tests, two assignments, and practical sessions will be out of 100 marks and will be scaled down to 50 marks

(to have a less stressed CIE, the portion of the syllabus should not be common /repeated for any of the methods of the CIE. Each method of CIE should have a different syllabus portion of the course).

 

CIE methods /question paper has to be designed to attain the different levels of Bloom’s taxonomy as per the outcome defined for the course.

 

Semester End Examination:

Theory SEE will be conducted by University as per the scheduled timetable, with common question papers for the subject (duration 03 hours)

1. The question paper will have ten questions. Each question is set for 20 marks. Marks scored shall be proportionally reduced to 50 marks

2. There will be 2 questions from each module. Each of the two questions under a module (with a maximum of 3 sub-questions), should have a mix of topics under that module.

 

The students have to answer 5 full questions, selecting one full question from each module.

 

Suggested Learning Resources:

Textbooks

1. Andrew N Sloss, Dominic Symes and Chris Wright, ARM system developers guide, Elsevier, Morgan Kaufman publishers, 2008.

2. Shibu K V, “Introduction to Embedded Systems”, Tata McGraw Hill Education, Private Limited, 2nd Edition.

 

Reference Books

1. Raghunandan. G.H, Microcontroller (ARM) and Embedded System, Cengage learning Publication,2019

2. The Insider’s Guide to the ARM7 Based Microcontrollers, Hitex Ltd.,1st edition, 2005.

3. Steve Furber, ARM System-on-Chip Architecture, Second Edition, Pearson, 2015.

4. Raj Kamal, Embedded System, Tata McGraw-Hill Publishers, 2nd Edition, 2008.

Last Updated: Tuesday, January 24, 2023