Microcontrollers - Jun 2014
Electronics & Communication (Semester 4)
TOTAL MARKS: 100
TOTAL TIME: 3 HOURS (1) Question 1 is compulsory.
(2) Attempt any four from the remaining questions.
(3) Assume data wherever required.
(4) Figures to the right indicate full marks. 1 (a) What is microcontroller? List out the difference between CISC and RISC.(6 marks) 1 (b) Explain the 8051 block diagram and its features.(10 marks) 1 (c) Briefly explain about stack and stack pointer operation.(4 marks) 2 (a) Define addressing mode. Mention the various types of addressing modes with an example with respect to 8051.(6 marks) 2 (b) Explain the following instruction with an example:
i) DIV AB
ii) SWAP A
iii) RRC A
iv) XCHD A @Rp(8 marks) 2 (c) Write an ALP to perform 16-bit×8-bit multiplication.(6 marks) 3 (a) List out and explain different assembler directives used in an ALP.(6 marks) 3 (b) Briefly explain about what are the steps involve to create a program in an ALP.(8 marks) 3 (c) Calculate the time delay for the following subroutine program. Assume
MOV TMOD, #01
HERE: MOV TLO, #0F2H
MOV THO, #OFFH
delay using timer 0
DELAY: SETB TRO
AGAIN: JNV TFO, AGAIN
RET(6 marks) 4 (a) Explain about stepper motor interface with diagram and also write a 'C' program if a motor takes 90 steps to make one complete revolution and show the calculation. (Both clockwise & anticlockwise).(12 marks) 4 (b) Explain DAC interface with diagram and also write a 'C' program to generate stair case waveform.(8 marks) 5 (a) Define interrupt and mention the difference between interrupts and polling method.(6 marks) 5 (b) Explain about timer/counter control logic diagram and also briefly explain various timers mode operation.(8 marks) 5 (c) List out the various types of interrupts and also write the bit pattern of IE SFR with explanation with respect to 8051.(6 marks) 6 (a) Briefly explain about DB-9 connector pins function.(6 marks) 6 (b) Write a 'C' program to send the messages Normal speed" and "High Speed" to the serial port. Assuming that SW is connected to pin P2.0(8 marks) 6 (c) Write the steps to receive and transfer data serially.(6 marks) 7 (a) List on the features of MSP430.(6 marks) 7 (b) Briefly explain about MSP430 architecture with diagram.(8 marks) 7 (c) Briefly explain about memory space distribution with respect to MSP430.(6 marks)
Write short notes on:
8 (a) Internal RAM structures of 8051.(5 marks) 8 (b) Special function registers.(5 marks) 8 (c) Bit addressable instructions(5 marks) 8 (d) Built in timers.(5 marks)