VTU Electronics and Communication Engineering (Semester 4)
Microcontroller for Embedded Systems
June 2014
Microcontroller for Embedded Systems
June 2014
1 (a)
What is microcontroller? List out the difference between CISC and RISC.
6 M
1 (b)
Explain the 8051 block diagram and its features.
10 M
1 (c)
Briefly explain about stack and stack pointer operation.
4 M
2 (a)
Define addressing mode. Mention the various types of addressing modes with an example with respect to 8051.
6 M
2 (b)
Explain the following instruction with an example:
i) DIV AB
ii) SWAP A
iii) RRC A
iv) XCHD A @Rp
i) DIV AB
ii) SWAP A
iii) RRC A
iv) XCHD A @Rp
8 M
2 (c)
Write an ALP to perform 16-bit×8-bit multiplication.
6 M
3 (a)
List out and explain different assembler directives used in an ALP.
6 M
3 (b)
Briefly explain about what are the steps involve to create a program in an ALP.
8 M
3 (c)
Calculate the time delay for the following subroutine program. Assume
XTAL=11.0592 MHz
MOV TMOD, #01
HERE: MOV TLO, #0F2H
MOV THO, #OFFH
CPL P1.5
ACALL DELAY
SJMP HERE
delay using timer 0
DELAY: SETB TRO
AGAIN: JNV TFO, AGAIN
CLR TRO
CLR TFO
RET
XTAL=11.0592 MHz
MOV TMOD, #01
HERE: MOV TLO, #0F2H
MOV THO, #OFFH
CPL P1.5
ACALL DELAY
SJMP HERE
delay using timer 0
DELAY: SETB TRO
AGAIN: JNV TFO, AGAIN
CLR TRO
CLR TFO
RET
6 M
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 M
4 (b)
Explain DAC interface with diagram and also write a 'C' program to generate stair case waveform.
8 M
5 (a)
Define interrupt and mention the difference between interrupts and polling method.
6 M
5 (b)
Explain about timer/counter control logic diagram and also briefly explain various timers mode operation.
8 M
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 M
6 (a)
Briefly explain about DB-9 connector pins function.
6 M
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 M
6 (c)
Write the steps to receive and transfer data serially.
6 M
7 (a)
List on the features of MSP430.
6 M
7 (b)
Briefly explain about MSP430 architecture with diagram.
8 M
7 (c)
Briefly explain about memory space distribution with respect to MSP430.
6 M
Write short notes on:
8 (a)
Internal RAM structures of 8051.
5 M
8 (b)
Special function registers.
5 M
8 (c)
Bit addressable instructions
5 M
8 (d)
Built in timers.
5 M
More question papers from Microcontroller for Embedded Systems