You are on page 1of 4

Code No: 07A81003

R07

Set No. 2

IV B.Tech II Semester Examinations,APRIL 2011 MICRO CONTROLERS AND APPLICATIONS Common to Instrumentation And Control Engineering, Electronics And Instrumentation Engineering Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks

1. Explain the details of dierent kinds of memories given in 8051 microcontroller. [16] 2. What are the instructions that will enable and disable interrupts explain in detail? [16] 3. (a) What are the uses of the bits in interupt pending register? How do we use these for the interupt servicing at timer 1 and timer 2 in 80196? (b) How do we reset the timer 2 in 80196? [10+6]

4. (a) Explain the importance of semaphores in multitasking system where task synchronization is achieved by this. (b) What are the various mutex management function calls in RTOS? [8+8]

5. Interface a 8 8 matrix key board to 8051 using 8279. Display the key number on the 7 segment display also interfaced to 8051 through 8279. [16] 6. (a) By giving the gure for timer 2 clock and reset options explain the functioning of the system. (b) Write short notes on counters. [10+6]

7. (a) How can we change the PSR contents through instructions in ARM? Explain dierent PSR instructions in ARM.
(b) Explain how a constant is loaded into a general purpose register of ARM processor.

(c) What is Thumb state? 8. How do you resolve the conicts among stack and register banks?

[6+6+4] [16]

Code No: 07A81003

R07

Set No. 4

IV B.Tech II Semester Examinations,APRIL 2011 MICRO CONTROLERS AND APPLICATIONS Common to Instrumentation And Control Engineering, Electronics And Instrumentation Engineering Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks

1. Write in detail about TIMERS in 8051.

[16]

2. Bring out the merits and demerits of timer 0 & timer 1 in all aspects. 3. Write short notes on the following:

[16]

(a) Non maskable interrupts. (b) Exceptions. [28]

4. (a) A lookup table is used in the program codekey. It uses 120 bytes to form a table for the valid keys. Write a subroutine using a series of CJNE instructions that will obtain the same result. (b) When are the scan lines, encoded scan lines and return lines used?
5. Explain the functions of PCON, SCON registers with examples.

[8+8]
[16]

6. (a) Describe the implementation of branch, call and return instructions in ARM instruction set. Give examples.
(b) How does Push and Pop accomplished in ARM? [10+6]

7. A Robot has three motors having three angle encoders. Each motor receives an input from three tasks. The fourth task measures the position of each motor and sends three directions to the motors to rotate by a0 , b0 , and C0 Which RTOS will schedule these tasks and which RTOS functions are used in this system design. [16]

8. (a) Explain IOCO and IOSO register for timer 1 in 80196. (b) What are the interrupt sources for synchronous serial transmission and reception in 80196? What are the identication ags and local enable bits for these sources? [8+8]

Code No: 07A81003

R07

Set No. 1

IV B.Tech II Semester Examinations,APRIL 2011 MICRO CONTROLERS AND APPLICATIONS Common to Instrumentation And Control Engineering, Electronics And Instrumentation Engineering Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks

1. Give atleast two examples each of applications of semaphore, mailbox and message queue. [16] 2. Discuss briey MODE 0, MODE 1 & MODE 2 of 8051 controller. 3. (a) Explain the working of 8051 oscillator and clock. (b) Explain the use of SFRS. 4. (a) Give procedure to reset TMOD register. (b) Does programming TMOD register eects PSW? If so how? [8+8] [8+8] [16]

5. (a) How do we program bit rate/clock rate during the synchronous function in an 80196? Explain for a bit rate of 9600 baud/sec?

(b) What is an overrun error? (c) For a 12 MHZ crystal with 80196, what is the period between the two inputs to FRC timer 1? [16] 6. 16 keys are arranged as 4 4 in N - key roll over mode and interfaced to 8051 through 8279. Write the programme to read the key closure from the above management. Also show the interface circuit. [16] 7. How do you provide the mechanism so that a vectored interrupt controller can receive simultaneous interrupts? [16] 8. (a) What are the Thumb version load-store multiple instructions? Explain them with example.
(b) Explain how Thumb state changes to ARM state and vice versa. [8+8]

Code No: 07A81003

R07

Set No. 3

IV B.Tech II Semester Examinations,APRIL 2011 MICRO CONTROLERS AND APPLICATIONS Common to Instrumentation And Control Engineering, Electronics And Instrumentation Engineering Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks

1. Draw 80196 Verticle windows. What are the uses of vertical windows? What are the advantages of providing adjustable vertical window size? [16] 2. (a) What is meant by context switching? Explain with an example. (b) Explain the Non-pre emptive multitasking technique with an example. [8+8] 3. Discuss about (a) 8051 data types. (b) 8051 registers. [8+8]

4. Give the diagram of interface of seven segment LED display with 8051 microcontroller and explain clearly. [16]

5. What are the steps involved in MODE1 programming and give an example? [16]
6. (a) What is meant by Thumb state and ARM state? What are the advantages and disadvantages of using Thumb state?

(b) Explain how ARM -THUMB Interworking takes place.


7. How do you access RAM, I/O, ports using bit addresses?

[10+6]
[16]

8. A transducer interfaces an 8 bit ADC of an MCU and output to the LED display unit. Transducer generates 5mv/kmph car speed in an automobile. Lower limit of the car speed is Kmph and upper limit is 120kmph. The speed display is on four 7 segment LED display units: Draw the interface circuit for the above design and generate an assembly code to initialize the operation. [16]

You might also like