Reg. No.
R.M.K. COLLEGE OF ENGINEERING AND TECHNOLOGY
(An Autonomous Institution)
RSM Nagar, Puduvoyal – 601 206
QP CODE: 243401
B.E./B.TECH.- END SEMESTER THEORY EXAMINATIONS-APRIL/MAY 2024
Fourth Semester
Computer Science and Engineering
22EC441-Microcontrollers and Embedded Systems
(Regulations 2022)
COs Course Outcome: The students, after the completion of the course, are expected to ….
CO1 Acquire knowledge on the architecture of 8051 Microcontroller
CO2 Apply programming techniques in developing the assembly language program for microcontroller applications.
CO3 Analyze various types of interfacing devices with other peripheral devices
CO4 Design and construct Microcontroller based systems
CO5 Acquire knowledge on basic components of embedded system
CO6 Describe the architecture and programming of ARM processor
Time : 3 Hours Answer ALL Questions Max. Marks : 100
Part-A (10 x 2 = 20 Marks)
1. Write the steps in assembling and running an 8051 program.
2. Describe Program Counter and its functions of 8051.
3. Write the different ways to clear the Accumulator.
4. Define bit masking and setting with an example.
5. What is auto reload mode of timer in 8051?
6. Differentiate 8051 and PIC microcontroller.
7. Describe a real time embedded system that you use in your life.
8. What is meant by pipelining?
9. Write about Program Status Register of ARM.
10. What is meant by Co-Processor?
Part – B (5 x 13 = 65 Marks)
11.a. With neat sketch, explain the architecture of 8051 in detail. (13)
Or
11.b. Explain in details about the arithmetic instructions and branch instructions of 8051 with suitable
examples. (13)
12.a. Write an algorithm and Assembly Language Program using 8051 instructions to multiply two
8-bit numbers using repeated addition method and how the results are stored. (13)
Or
12.b. Write an 8051 Assembly Language Program to sort the given 5 hexadecimal numbers which
are stored in the memory locations from 80000H in ascending order. (13)
13.a. (i). Write a program for the 8051 to toggle all the bits of P0, P1, and P2 every ¼ of a second.
Also Explain how do you achieve the delay of ¼ second. (7)
(ii). Write an ALP to create a square wave of 50% duty cycle on bit 0 of port 1. (6)
Or
13.b. (i). Assume that XTAL = 11.0592 MHz. Write a program to transfer the ASCII letter ‘B’
continuously in 57,600 Hz frequency used by Timer 1 with baud rate of 19200. (7)
(ii). Find the TH1 value (in both decimal and hex) to set the baud rate to each of the following.
(a) 9600 (b) 4800 if SMOD=1. Assume that XTAL 11.0592 MHz. (6)
14.a. Explain in detail about the Embedded system design process, Embedded System Hardware and
Embedded System Software with neat sketch. (13)
Or
14.b. Discuss in detail about the architecture of ARM processor with its functional blocks and
instruction set with neat sketch. (13)
15.a. Explain in detail about the data processing and program instructions of ARM 7 with suitable
examples. (13)
Or
15.b. Compare Harvard architecture and Von-Neumann architecture. Explain how the ARM
processor access the memory in four different types. (13)
Part – C (1 x 15 = 15 Marks)
16.a. A door sensor is connected to the P1.1 pin, and a buzzer is connected to P1.7. Write an 8051 C
program to monitor the door sensor, and when it opens, sound the buzzer. You can sound the
buzzer by sending a square wave of a few hundred Hz. (15)
Or
16.b. Explain how ADC804 chip is interfaced with 8051. Write a program to monitor the INTR pin
and bring an analog input into register A. Then call a hex-to ACSII conversion and data display
subroutines. Do this continuously. Assume p1.0 – P1.7= D0 - D7 of the ADC804. (15)
Knowledge Level (Blooms Taxonomy)
K1 Remembering (Knowledge) K2 Understanding (Comprehension) K3 Applying (Application of Knowledge)
K4 Analyzing (Analysis) K5 Evaluating (Evaluation) K6 Creating (Synthesis)
Knowledge Level and Course Outcome – Question wise Mapping
Part Part A
Question 1 2 3 4 5 6 7 8 9 10
K Level K1 K2 K1 K2 K1 K2 K1 K2 K1 K2
CO CO1 CO1 CO2 CO2 CO3 CO3 CO4 CO4 CO5 CO5
Part Part B Part C
Question 11 (a) 11(b) 12 (a) 12 (b) 13 (a) 13 (b) 14 (a) 14 (b) 15 (a) 15 (b) 16 (a) 16 (b)
K Level K3 K3 K3 K3 K3 K3 K3 K3 K3 K3 K3 K3
CO CO1 CO1 CO2 CO2 CO3 CO3 CO4 CO4 CO5 CO5 CO3 CO3