VTU Electronics and Communication Engineering (Semester 4)
Microcontroller for Embedded Systems
May 2016
Total marks: --
Total time: --
INSTRUCTIONS
(1) Assume appropriate data and state your reasons
(2) Marks are given to the right of every question
(3) Draw neat diagrams wherever necessary


Distinguish between:
1(a)(i) Microprocessor and Microcontrollers
4 M
1(a)(ii) RISC and CISC Architecture
4 M
1(b) Briefly discuss the features of 8051 Microcontroller.
6 M
1(c) With the help of a diagram, explain how to interface 8KB EPROM and 8KB RAM, to 8051 Microcontroller.
6 M

2(a) Explain the different addressing modes of 8051. Give an example for each one of them.
8 M
2(b) Explain the following instructions:
i) MUL AB
ii) DAA
iii) MOVC A, @A+DPTR
iv) LJMP label
6 M
2(c) What is a stack? Explain with examples, the PUSH and POP instructions.
6 M

3(a) What are assembler directives? Explain the functions of the assembler directive DB, EQU, END, ORG.
6 M
3(b) Write an ALP in 8051 to find the largest number among the 14D, 8 bit number stored in internal RAM.
7 M
3(c) Write an ALP to toggle all bits of P1 every 200ms. Assume that the crystal frequency is 11.0592MHz of 8051.
7 M

4(a) Discuss the features of 4 I/O ports of 8051.
6 M
4(b) Interface 4×4 keyboard to 8051 and explain how scanning and identifying the key pressed is done.
7 M
4(c) Draw the block diagram to show how 8051 is connected to DAC 0808 at port P1, using O/P buffer for DAC. Write an 8051 program to generate ramp, signal.
7 M

5(a) What is the difference between timer and counter? Explain the function of each bit in TMOD.
4 M
5(b) A switch is connected to pin P1.2, write an 8051 C program to monitor SW and create the following frequencies on pin P1.7 SW = 0 : 500 Hz, SW = 1 : 750 Hz. Use timer 0, mode 1 for both of them.
8 M
5(c) What are external interrupts are reset? Draw the diagrams for activation of external interrupts. How level triggered interrupts are reset? How to set the two external interrupts as edge triggered interrupts
8 M

6(a) Write the steps required for programming 8051 to transfer data serially.
6 M
6(b) Write an 8051 C program to send to two messages "Normal speed" and "High speed" to the serial port. Assuming that SW (switch) is connected to pin P2.0, monitor its status and set the baud rate as follows : SW = 0 ; 28,800 baud rate, SW = 1 ; 56 K baud rate. Assume that XTAL = 11.0592 Mhz for both cases.
8 M
6(c) Explain the 4 modes of operation 8255 along with control word format.
6 M

7(a) What are the features that make MSP430 suitable for Low-power and portable applications?
4 M
7(b) Explain Registor and peripherals included on shop of MSP430 CPU.
6 M
7(c) Explain the architecture of MSP 430 with a neat diagram.
10 M

8(a) Write an assembly program to generate a waveform with ON time of 7 msec and OFF time of 21 msec on P0.5. Assume XTAL of 11.0592MHz. Use timer 0.
10 M
8(b) Explain the bits of SCON register.
5 M
8(c) Draw the pin diagram of 8255 and briefly explain the signals.
5 M



More question papers from Microcontroller for Embedded Systems
SPONSORED ADVERTISEMENTS