The following question paper is for B.Tech degree Examination under Electronics and Communication Engineering department. It was asked for IGNOU, Indira Gandhi National Open University in the year June 2013.
University: IGNOU, Indira Gandhi National Open University
Department: B.Tech. ELECTRONICS AND COMMUNICATION ENGINEERING
Semester: 06
Degree code: BTECVI
Exam: Term-End Examination June, 2013
Subject with code: BIEL-008 : MICRO CONTROLLERS
Time : 3 Hours
Maximum Marks : 70
Note : Question No. 10 is compulsory. Answer any six other questions. Assume data wherever it is not provided.
1. (a) Describe the Harvard and Von - Neumann CPU architectures. (5 marks)
(b) List the Interrupts in 8051. How can we enable or disable a particular Interrupt in 8051 ? (5 marks)
2. (a) Explain the 8051 addressing modes with examples. (5 marks)
(b) What addresses are assigned to register banks in 8051 RAM ? Write a program that will invert every bit in register R6 of bank 1. (5 marks)
3. (a) Describe the function of the following instructions : (4 marks)
(i) LJMP code addr
(ii) XRL A data addr
(b) Explain the features of 8051 micro-controller with suitable block diagrams. (6 marks)
University: IGNOU, Indira Gandhi National Open University
Department: B.Tech. ELECTRONICS AND COMMUNICATION ENGINEERING
Semester: 06
Degree code: BTECVI
Exam: Term-End Examination June, 2013
Subject with code: BIEL-008 : MICRO CONTROLLERS
Time : 3 Hours
Maximum Marks : 70
Note : Question No. 10 is compulsory. Answer any six other questions. Assume data wherever it is not provided.
1. (a) Describe the Harvard and Von - Neumann CPU architectures. (5 marks)
(b) List the Interrupts in 8051. How can we enable or disable a particular Interrupt in 8051 ? (5 marks)
2. (a) Explain the 8051 addressing modes with examples. (5 marks)
(b) What addresses are assigned to register banks in 8051 RAM ? Write a program that will invert every bit in register R6 of bank 1. (5 marks)
3. (a) Describe the function of the following instructions : (4 marks)
(i) LJMP code addr
(ii) XRL A data addr
(b) Explain the features of 8051 micro-controller with suitable block diagrams. (6 marks)
4. (a) Write a program to add the unsigned numbers found in internal RAM locations 25h, 26h and 27h together and put the result in RAM locations 31h (MSB) and 30h (LSB). (5 marks)
(b) How is ADC interfaced with 8051/31 micro-controller ? Explain with an interfacing connection diagram. (5 marks)
5. (a) What is a subroutine ? What happens when a subroutine is called in the main program ? (4 marks)
(b) Write a program to turn on a low current LED connected to port 0, bit 0, after 10 cycles of an external pulse connected to port 3, bit 5. (6 marks)
6. (a) List three factors that can affect the delay size. (3 marks)
(b) Write an 8051 C program to read the P1.0 and P1.1 bits and issue an ASCII character to PO according to the following table. (7 marks)
P1.1 P1.0
0 0 Send '0' to PO
0 1 Send '1' to PO
1 0 Send '2' to PO
1 1 Send '3' to PO
7. (a) Explain why we program the 8051 in C language. (5 marks)
(b) How are timers 0 and 1 started and stopped by instructions ? Can we use both the timers in the same program and why ? (5 marks)
8. (a) What is PSW in 8051 ? Discuss the function of AC and P flags. (5 marks)
(b) Write a program to add two hex numbers and store the result at memory location 2060H. (5 marks)
9. (a) Write a program in which 10 bytes of data stored in RAM locations starting from 45H are transferred serially. At the end of data transfer, the value of RO (i.e., 0) is displayed on P1. (6 marks)
(b) Explain the function of each bit in TCON register. (4 marks)
10. Attempt any two. Write short notes on : 5x2=10
(a) Interfacing 8051 to LCD.
(b) Interfacing 8051 to stepper motor.
(c) Serial communication in 8051.
0 comments:
Pen down your valuable important comments below