H.T No Regulations: A14

Sreenidhi Institute of Science and Technology

(An Autonomous Institution)

Code No: 4DC17	Date: 13-July-2023 (FN)

B.Tech III-Year II- Semester External Examination, July - 2023 (Supplementary)

Microcontrollers and Applications (ECM)

Time:	3 Hours	Max.Marks:70

Note: a) No additional answer sheets will be provided.

b) All sub-parts of a question must be answered at one place only, otherwise it will not be valued.

c) Missing data can be assumed suitably.

Bloom's Cognitive Levels of Learning (BCLL)

Remember	L1	Apply	L3	Evaluate	L5
Understand	L2	Analyze	L4	Create	L6

Part - A	Max.Marks:20

Answer all QUESTIONS

1	What is the difference between microprocessor and microcontroller?	[2M]
2	Brief on CJNE instruction along with an example?	[2M]
3	Write the uses of local and global variables in a program?	[2M]
4	How 8051 differentiates external and internal program memory?	[2M]
5	Draw the PSW register format of ARM family processor?	[2M]
6	What is a thread?	[2M]
7	Draw and explain the SCON register bits?	[2M]
8	What is a stepper motor and how it is different from a conventional one?	[2M]
9	Briefly on LDM and STM instructions of ARM?	[2M]
10	Write a brief note on addressing modes of 8051.	[2M]

Part – B	Max.Marks:50

ANSWER ANY FIVE QUESTIONS. EACH QUESTION CARRIES 10 MARKS.

1	a)	Draw a neat diagram of internal register set, special function registers and program status word register structure and their use in 8051.	[6M]
b)	Explain the functions of Port 0, Port 2 and Port 3.	[4M]
2	a)	Write code to push R0, R1 and R2 of bank 0 into the stack and pop them back into R5, R6 and R7 of bank 3 of 8051.	[5M]
b)	Give the format of PCON register in 8051 and explain each bit.	[5M]
3	a)	Explain in detail about the data types available in a C compiler for 8051?	[4M]
b)	Write a program to generate a square pulse of 10 KHz at P2 pin 0?	[6M]
4	a)	Draw the pin diagram of 8255 PPI?	[4M]
b)	Explain the interfacing of the stepper motor to 8051 using 8255 with a neat diagram and draw the waveforms.	[6M]
5	a)	Write the differences between RISC and CISC architectural features?	[4M]
b)	Draw and explain the architecture of ARM family microcontroller?	[6M]
6	a)	When do we prefer to use signal and when semaphore, to notify RTOS to let another task unblock. What are the uses of semaphore?	[6M]
b)	When do you use RTOS for an application development? Explain with an example?	[4M]
7	a)	What are the deferent interrupts of 8051. Explain the interrupt operation of 8051 in detail?	[4M]
b)	Draw and discuss the formats and bit definition of the following SFR’s in 8051 microcontroller? (i) PCON (ii) PSW (iii) IP (iv) TMOD	[6M]
8	a)	Differentiate between MOV, MVN, LDR and STR instructions along with their uses?	[6M]
b)	Write in detail about PWM action with respect to 8051?	[4M]

-- 00 -- 00 –