VTU Electronics and Communication Engineering (Semester 4)
Microcontroller for Embedded Systems
June 2013
Microcontroller for Embedded Systems
June 2013
1 (a)
Compare the CPU architecture: i) CISC and RISC; ii) Von-Neumann and Harvard and iii) Microprocessor with microcontroller.
12 M
1 (b)
Interface 8051 to external ROM and RAM and explain how 8051 access them.
8 M
2 (a)
Explain briefly the five addressing modes of 8051 with an example for each.
10 M
2 (b)
After reset the contents of internal memory of 8051 with address OAH and OBH contains data 22H and 33H, respectively. Sketch the contenets of internal memory from address 07H to 0BH and the value of register SP.after executing the following code:
PUSH OAH
:
MOV 81H. #OBH
POP 09H
PUSH OAH
:
MOV 81H. #OBH
POP 09H
5 M
2 (c)
Write a subroutine which checks the content of location 20H. If it is a positive number, the subroutine finds its TWO's complement and stores it in same location and returns.
5 M
3 (a)
What are the assembler directives? Explain any four of them.
5 M
3 (b)
If the XTAL frequency of 8051 is 8 MHz, find the time taken to execute the following program:
MOV R2, #04
MOV R1, #06
WAIT: DJNZ R2, WAIT
MOV R2, #04
MOV R1, #06
WAIT: DJNZ R2, WAIT
5 M
3 (c)
Write 8051 ALP which checks whether the ten numbers stored from external RAM memory address, 2000H are odd/even. The program should store accordingly OOH/FFH from internal location 30H onwards.
10 M
4 (a)
Interface ADC0809 to 8051 and write an ALP to convert the analog voltage connected to second channel. Display the digital value on LEDs connected to port-0.
10 M
4 (b)
Interface 8051 to a stepper motor and write an ALP to rotate the motor first +4 steps and then -6 steps.
10 M
5 (a)
What is the difference between timer and counter operation of 8051? How to start/stop the timer/counter of 8051 when i) GATE control is not used and ii) GATE control is used.
5 M
5 (b)
Explain briefly the interrupts of 8051, indicate their vector addresses.
5 M
5 (c)
Write an ALP in 805 which generates a square wave of frequency 10 Khz on pin 1.2, using timer -1. Assume XTAL frequency as 11.0592 MHz. What is the minimum frequency that can be generated?
10 M
6 (a)
Explain the function of the pins of 9-pin RS-323 connector.
4 M
6 (b)
Explain how 8051 transmits the character and receives a character serially using its UART.
6 M
6 (c)
Write 8051 C program to transmit serially the message 'SWITCH ON' or 'SWITCH OFF' depending on the statue of the simple switch connected to pin 1.2. Use 2400 baud rate, 1 stop bit, 8 data bits format and assume XTAL frequency as 11.0592 MHz.
10 M
7 (a)
Interface an LCD display to 8051 and write an ALP to display the message 'VERY GOOD'.
10 M
7 (b)
With a block schematic explain the features 8255 PPI chip and its Mode-0 operation.
6 M
7 (c)
If the internal memory 20H contains AAH and 07H contains 55H. What is the content of register A and statue of carry bit after executing the following code:
MOV C, 07H
MOV A, #20H, ADDC A, 07H.
MOV C, 07H
MOV A, #20H, ADDC A, 07H.
4 M
8 (a)
Explain the architecture of MSP430 CPU with its internal block diagram.
10 M
8 (b)
Explain briefly the i) Clock system and ii) Low power modes of operation of MSP430.
10 M
More question papers from Microcontroller for Embedded Systems