Gujarat Technological University

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Seat No.: ________ Enrolment No.

___________

GUJARAT TECHNOLOGICAL UNIVERSITY


BE - SEMESTER–VII (NEW) EXAMINATION – WINTER 2021
Subject Code:3172001 Date:13/12/2021
Subject Name:Microcontrollers and Embedded Systems
Time:10:30 AM TO 01:00 PM Total Marks: 70
Instructions:
1. Attempt all questions.
2. Make suitable assumptions wherever necessary.
3. Figures to the right indicate full marks.
4. Simple and non-programmable scientific calculators are allowed.
MARKS
Q.1 (a) Compare Von-Neuman vs Harvard architecture. 03
(b) Compare RISC vs CISC architecture. 04
(c) Explain any micro-controller based application with proper block 07
diagram.

Q.2 (a) Write the steps to program Timer 1 in mode 1. 03


(b) Compare microprocessor and microcontroller. 04
(c) Explain architecture block diagram of 8051. 07
OR
(c) Write a program to generate 1KHz square wave on port0.0 using timer 07
0. [Crystal Frequency = 10MHz]

Q.3 (a) Explain the bits of TCON SFR. 03


(b) Explain the bits of TMOD SFR. 04
(c) Write a C program for LED blinking on PORT1.0 at the regular 07
interval.
OR
Q.3 (a) Explain RS-232 interfacing to Atmel 8051. 03
(b) Draw the internal structure of PORTA of 8051 microcontroller. 04
(c) Write a note on serial interface protocols (i) I2C (ii) SPI 07

Q.4 (a) Explain arithmetic operation in 8051 Family 03


(b) State & explain instructions related to subroutines. 04
(c) Interface 7-segment display with PIC18F4xx. 07
OR
Q.4 (a) Explain arithmetic operation in PIC18F Family. 03
(b) Explain PIC18F Interrupts in brief. 04
(c) Draw & explain the memory organization in PiC18F4xx. 07

Q.5 (a) Write a C program to configure all ports of PIC18F4xx as output. 03


(b) Explain any two addressing modes of PIC18F4xx with examples. 04
(c) Draw & explain the memory organization in PIC18F4xx. 07
OR
Q.5 (a) State & explain any 3 machine control instructions. 03
(b) State & explain any 4 logical instructions. 04
(c) Write an Assembly language program to move a memory block of 10 07
bytes stored at address starting from 0x100 to 0x200.

*************

You might also like