This download link is referred from the post: GTU B.Tech 2020 Winter Question Papers || Gujarat Technological University
GUJARAT TECHNOLOGICAL UNIVERSITY
BE- SEMESTER-VII (NEW) EXAMINATION - WINTER 2020
--- Content provided by FirstRanker.com ---
Subject Code:2173203 Date:19/01/2021Subject Name:Microprocessor and Microcontroller
Time:10:30 AM TO 12:30 PM Total Marks: 56
Instructions:
- Attempt any FOUR questions out of EIGHT questions.
- Make suitable assumptions wherever necessary.
- Figures to the right indicate full marks.
--- Content provided by FirstRanker.com ---
MARKS
- (a) Write an AVR C program to get a byte of data from Port C. If it is less than 100, send it to Port B; otherwise, send it to Port D. 03
(b) Explain and Draw the control signal generation in 8085 Microprocessor. 04--- Content provided by FirstRanker.com ---
(c) List out the addressing modes for the AVR Controller and explain any two of them. 07 - (a) Write an AVR C program to toggle all the pins of Port B continuously by Using the Ex-OR operator. 03
(b) Explain Flag register PSW of 8085 Microprocessor. 04
(c) Write a program to toggle all the bits of the I/O register PORT D every 2 s. Assume that the crystal frequency is 8MHz and system is using an ATmega32. 07 - (a) Explain AVR status register in detail. 03
--- Content provided by FirstRanker.com ---
(b) A switch is connected to pin-PB5. Write a program to monitor the status of the SW and perform the following. 04- If SW =0, send the letter ‘B’ to PORT C.
- If SW =1, send the letter ‘Y’ to PORT C.
- (a) With Fosc:=8 MHz, Find the UBRR value needed to have the following baud rates. 03
- 9600
- 4800
--- Content provided by FirstRanker.com ---
(c) Explain the Pin Diagram of the 8085 microprocessor. 07 - (a) Explain Logical Instruction with example for the AVR Controller. 03
(b) Design 16*8 register using 4*8 register chips for the microprocessor 8085. 04
(c) Write a C program to toggle only the PORT B.4 bit continuously every 70 µs. Use Timer 0, Normal mode and 1:8 prescaler to create the delay. Assume XTAL=8MHz. 07 - FirstRanker.com
- (a) Write down different steps in executing an Interrupt. 03
(b) Write a Program to (a) load the PORT B register with value 0x55, and (b) Complement PORT B 300 times. 04
(c) With diagram explain architecture of AVR microcontroller and also draw and explain the Harvard architecture in the AVR. 07 - (a) Explain criteria for choosing a microcontroller. 03
--- Content provided by FirstRanker.com ---
(b) Draw and explain TIFR register in AVR. 04
(c) Explain interfacing of LCD with AVR using program to display “GOOD LUCK” on LCD for AVR controller. 07 - (a) Write a short note on AVR Family. 03
(b) Write a program to transmit the message “YES” serially at 9600 baud, 8 bit data and 1 stop bit. Do this forever. 04
(c) Draw & Explain the RTC interfacing diagram with AVR Microcontroller. 07
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
This download link is referred from the post: GTU B.Tech 2020 Winter Question Papers || Gujarat Technological University
--- Content provided by FirstRanker.com ---