0
1.2kviews
Microcontrollers : Question Paper Dec 2014 - Electronics & Communication (Semester 4) | Visveswaraya Technological University (VTU)
1 Answer
0
8views

Microcontrollers - Dec 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) With a neat diagram, explain the internal architecture of 8051.(10 marks) 1 (b) Compare microprocessor with microcontroller.(6 marks) 1 (c) Calculate the time required for 2 machine cycle instruction
i) 12MHz ii) 11.059 MHz
(4 marks)
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
(12 marks)
2 (b) Explain the operation of following code with respect to stack.
MOV SP,#10h
PUSH SP
POP 0E0h
ADD A, #10h
(5 marks)
2 (c) Briefly explain the range or relative addressing.(3 marks) 3 (a) Explain ORG, END, DB and EQU directives.(4 marks) 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
(10 marks)
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 marks) 4 (a) With neat diagram, explain the internal structure of P1.0.(7 marks) 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 marks) 4 (c) With interfacing diagram, write a program to rotate a stepper motor clockwise.(8 marks) 5 (a) Explain TMOD & TCON registers with its bit pattern.(8 marks) 5 (b) What are interrupts? Specify vector location of interrupts in 8051.(4 marks) 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 marks) 6 (a) Write the steps required to transfer data serially on 8051.(8 marks) 6 (b) Write a program to send 'Y' serially on 8051. Use baud rate of 2400 baud.(6 marks) 6 (c) Briefly show control word of 8255 & specify mode selection.(6 marks) 7 (a) Explain the internal registers of MSP 430.(10 marks) 7 (b) Explain status register of MSP 430.(10 marks) 8 (a) Explain different addressing modes supported by MSP 430.(12 marks) 8 (b) Briefly explain the clock system of MSP 430.(8 marks)

Please log in to add an answer.