This download link is referred from the post: GTU BE/B.Tech 2017 Winter Question Papers || Gujarat Technological University
GUJARAT TECHNOLOGICAL UNIVERSITY
BE - SEMESTER-VII (NEW) EXAMINATION - WINTER 2017
--- Content provided by FirstRanker.com ---
Subject Code: 2173203
Subject Name: Microprocessor and Microcontroller
Date: 02/11/2017
Time: 10:30 AM TO 01:00 PM
Total Marks: 70
--- Content provided by FirstRanker.com ---
Instructions:
- Attempt all questions.
- Make suitable assumptions wherever necessary.
- Figures to the right indicate full marks.
Q.1
--- Content provided by FirstRanker.com ---
- List out the general-purpose register available in 8085. MARKS 03
- Explain the flag register and flag bits of 8085. 04
- Discuss the difference between microprocessor and microcontroller. 07
OR
- Explain the functionality of port 0 in 8051 in short. 03
- What is interrupt in 8085 Microprocessor? List out the hardware and software interrupts used in 8085 Microprocessor. 04
- Explain the functions of following instructions of 8085 — state its number of bytes occupied, number of Machine cycle required and T-states. 07
- MOV AM
- LXI H,2500H
- DAA
- STA 9100H
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
Q.2
- What are the addressing modes for 8051? Explain in brief giving suitable example. 07
OR
- Draw the internal block diagram of microprocessor 8085 and explain the working of Program Counter register. 03
- Show how the AVR would represent -128. 04
- Explain AVR family in detail. 07
--- Content provided by FirstRanker.com ---
Q.3
- With diagram explain internal architecture of AVR ATmega32 microcontroller. 03
- Show how flag registers s affected by following instructions 04
- LDI R21, 0xF5
- LDI R22, 0x0B
- ADD R2L,R22
--- Content provided by FirstRanker.com ---
- Write an AVR program in which assume that bit PB3 is an input and represents the condition of a door alarm. If it goes LOW, it means that the door is open. Monitor the bit continuously. Whenever it goes LOW, send a High-to-Low pulse to port PC5 to turn on a buzzer. 07
OR
--- Content provided by FirstRanker.com ---
- Explain CALL, IJMP and RET Instruction with example for the AVR Controller. 03
- What is the role of DDR register in inputting data for AVR Controller? 04
- Write a program to see if the internal RAM location $137 contains an even value. If so, write 0x55 into location $200. If not, write 0x63 into location $200. 07
Q.4
- Using a prescaler of 64, write a program to generate a delay of 1920 ps. Assume XTAL =8 MHz. 03
--- Content provided by FirstRanker.com ---
OR
- What is the difference between interrupts and polling? 04
- Write an AVR C program to get a byte of data from Port C. If it is less than 07
Q.5
- Write an AVR C program to send out the value 44H serially one bit at a time via PORTC, pin 3. The LSB should go out first. 03
- Compare serial versus parallel data transfer. 04
- Write a C Program for the AVR to receive bytes of data serially and put them on Port A. Set the baud rate at 9600, 8-bit data, and 1 stop bit. 07
--- Content provided by FirstRanker.com ---
OR
- Write a C program to read the keypad and send the results to Port D. Assuming PCO-PC3 connected to columns and PC4-PC7 connected to ROWS. 03
- Draw LCD Write timing diagram for 4-bit mode. 04
- For a 10-bit ADC, the reference voltage Vier=2.56 V. Calculate the DO-D9 output if the analog input is (a) 0.2 V and (b) 0 V. How much is the variation between (a) and (b)? 07
- Explain the function of I2C (TWI) and DS1307 registers in AVR. 07
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
This download link is referred from the post: GTU BE/B.Tech 2017 Winter Question Papers || Gujarat Technological University