Question Paper: Microcontroller And Applications Question Paper - Dec 17 - Electronics Engineering (Semester 5) - Mumbai University (MU)
0

## Microcontroller And Applications - Dec 17

### Electronics Engineering (Semester 5)

Total marks: 80
Total time: 3 Hours
INSTRUCTIONS
(1) Question 1 is compulsory.
(2) Attempt any three from the remaining questions.
(3) Draw neat diagrams wherever necessary.

Q1) Solve any four:

1(a) Explain any 5 addressing modes of 8051 with 1 example.
(5 marks) 00

1(b) Explain how Thumb mode improves code density. Give 2 instructions to switch between ARM and thumb mode.
(5 marks) 00

1(c) Connect 2 LED's to p1.1 and p1.2 of 8051 μc respectively show interfacing diagram and write a program to blink the two led's alternately with a delay of 1 msec.
(5 marks) 00

1(d) Write a program for 8051 μc to find factorial of number 05H.
(5 marks) 00

1(e) Explain following instructions of 8051 $μc$:

i) MOV A,@R0 ii) SETB bit iii) JNC rel iv) MOVCA, @A+DPTR v) CPL C

(5 marks) 00

1(f) Explain operation of barrel shifter in ARM 7 TDMI.
(5 marks) 00

2(a) Draw and explain memory organization of 8051 $\mu c$.
(10 marks) 00

2(b) Explain various modes of operation of ARM7 TDMI with associated registers.
(10 marks) 00

3(a) Write a program to generate a square wave of frequency 50 HZ on port pin P2.3 of 8051 μc. Show count calculations clearly and the required TMOD settings.
(10 marks) 00

3(b) Explain the structure of I/0 ports of 8051 μc with neat diagram.
(10 marks) 00

4(a) Interface an 8 bit ADC to 8015 μc and explain its working in detail.
(10 marks) 00

4(b) Write an assembly language program for sending message "BEST" serially at 9600 baud continuously using 8051.
(10 marks) 00

5(a) Explain following ARM instructions.

i) ADD R3, R2, R1 ii) CMP R8, R2 iii) TST R2, R5 iv) STMFD R13 [R0- R2, R14] v) CMN R1, R2

(10 marks) 00

5(b) Design 8051 based system with following specifications

• i) 16 Kb RAM using 8 Kb devices
• ii) 16 Kb ROM using 8 Kb devices

show detailed memory map and chip select logic. Draw interfacing diagram.

(10 marks) 00

Q6) Write short notes on any four:

6(a) Power saving modes of 8051.
(5 marks) 00

6(b) DC motor interfacing with 8051 μc.
(5 marks) 00

6(c) Key architectural features of ARM7TDMI.
(5 marks) 00

6(d) Interrupt structure of 8051.
(5 marks) 00

6(e) Interfacing 16x8 LCD to 8051 μc.
(5 marks) 00