VTU Electronics and Communication Engineering (Semester 4)
Microcontroller for Embedded Systems
December 2014
Microcontroller for Embedded Systems
December 2014
1 (a)
With a neat diagram, explain the internal architecture of 8051.
10 M
1 (b)
Compare microprocessor with microcontroller.
6 M
1 (c)
Calculate the time required for 2 machine cycle instruction
i) 12MHz ii) 11.059 MHz
i) 12MHz ii) 11.059 MHz
4 M
2 (a)
Explain following instruction mentioning their addressing mode and byte size.
i) XCHD A, @R0 ii) MOVC A, @A+DPTR iii) SUBB A, #55h
iv) DA A v) JBC bit, rel vi) ORL C, 100h
i) XCHD A, @R0 ii) MOVC A, @A+DPTR iii) SUBB A, #55h
iv) DA A v) JBC bit, rel vi) ORL C, 100h
12 M
2 (b)
Explain the operation of following code with respect to stack.
MOV SP,#10h
PUSH SP
POP 0E0h
ADD A, #10h
MOV SP,#10h
PUSH SP
POP 0E0h
ADD A, #10h
5 M
2 (c)
Briefly explain the range or relative addressing.
3 M
3 (a)
Explain ORG, END, DB and EQU directives.
4 M
3 (b)
Using subroutine, write a subroutine to get one second delay. Use subroutine names as follows:
for 1 ms subroutine: ONE_MILI_SUB
for 1s subroutine: ONE_SEC_SUB
for 1 ms subroutine: ONE_MILI_SUB
for 1s subroutine: ONE_SEC_SUB
10 M
3 (c)
Write a program to add 5 numbers. Number are stored between internal RAM 60h to 64h. Store the result in Ro & A.
6 M
4 (a)
With neat diagram, explain the internal structure of P1.0.
7 M
4 (b)
Write a program to read switch as shown below. If switch is closed, turn ON the LED else turn OFF the LED.
5 M
4 (c)
With interfacing diagram, write a program to rotate a stepper motor clockwise.
8 M
5 (a)
Explain TMOD & TCON registers with its bit pattern.
8 M
5 (b)
What are interrupts? Specify vector location of interrupts in 8051.
4 M
5 (c)
Generate square wave of 5kHz & 10kHz on P1.2 & P1.3. Continuously use timer 1 and time 2 in mode 2 for the purpose.
8 M
6 (a)
Write the steps required to transfer data serially on 8051.
8 M
6 (b)
Write a program to send 'Y' serially on 8051. Use baud rate of 2400 baud.
6 M
6 (c)
Briefly show control word of 8255 & specify mode selection.
6 M
7 (a)
Explain the internal registers of MSP 430.
10 M
7 (b)
Explain status register of MSP 430.
10 M
8 (a)
Explain different addressing modes supported by MSP 430.
12 M
8 (b)
Briefly explain the clock system of MSP 430.
8 M
More question papers from Microcontroller for Embedded Systems