Sunteți pe pagina 1din 4

1

Code: R7410405 IV B.Tech I Semester (R07) Regular & Supplementary Examinations, November/December 2011 MICRO CONTROLLERS & APPLICATIONS (Electronics & Communication Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE questions All questions carry equal marks ***** 1 2 Explain the details of different kinds of memories given in 8051 microcontroller. (a) Explain the meaning of each bit in TCON and TMOD register. (b) What are the resources available at the 8051 as an enhancement of 8048? How do you provide the mechanism so that a polled interrupt controller can receive two simultaneous interrupts in a system? (a) Describe the concept of interrupt intrvals interrupt density and interrupt constraints. (b) List the timer features that are programmable in a timer as a free running counter. Explain programming and interface for an LCD display controller which has two lines and sixteen characters in each. (a) Explain critical section with an example. How do you use semaphore in critical section of a task? (b) Describe the RTOS functions in RTX51 Tiny? (a) What is a high speed input (HSI) interrupt? Why do we call it high speed? (b) Assume crystal frequency=12MHz Implement a time delay loop for the gen-eration of 50ms delay using the instructions of 80196. Do not use timer of microcontroller. (a) How can we change the PSR contents through instructions in ARM? Explain different PSR instructions in ARM. (b) Describe RISC architecture features. List the innovative features in a RISC with respect to the CISC. Explain ARM architecture. *****

2
Code: R7410405 IV B.Tech I Semester (R07) Regular & Supplementary Examinations, November/December 2011 MICRO CONTROLLERS & APPLICATIONS (Electronics & Communication Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE questions All questions carry equal marks ***** 1 2 Draw the block diagram of microcontroller and explain each block in detail. (a) Explain the use of SFRS. (b) Describe the differences between LJMP, AJMP and SJMP instructions. (a) Describe the multiple interrupt sources in 8051. What are the sources that have been grouped together? (b) List the flags for each interrupt source in 8051. (a) How does the timer overflow interrupt differ from the real-time clock interrupts? Give four applications of the real time clocked interrupts? (b) Explain software timers. (a) Explain dot matrix display. How does dot matrix display show a company logo? (b) Describe IEEE488 bus signals and timings. (a) Explain Round robin pre emptive multi-tasking algorithm. (b) What is system clock? How does it differ from the clock associated with the microcontroller? (a) What is a page address for a direct address of a register in 80196? What is the page address for a direct address of an internal memory? Can this address predefined? (b) Assume crystal frequency=12MHz implement a time delay loop for the generation of 50ms delay using the instructions of 80196. Do not use timer of microcontroller. (a) How can we change the PSR contents through instructions in ARM? Explain different PSR instructions in ARM. (b) Explain how a constant is loaded into a general purpose register of ARM processor. (c) What is Thumb state? *****

3
Code: R7410405 IV B.Tech I Semester (R07) Regular & Supplementary Examinations, November/December 2011 MICRO CONTROLLERS & APPLICATIONS (Electronics & Communication Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE questions All questions carry equal marks ***** 1 2 Draw the pin diagram of 8051 and explain the functioning of each and every pin. (a) Write short notes on SFRs. (b) Explain data and bit manipulation instructions with examples. How do you provide the mechanism so that a polled interrupt controller can receive two simultaneous interrupts in a system? Describe with examples various modes of the 8051 timers. (a) Write an algorithm for sending ASCII codes in a FIFO repeatedly up to maximum 32 times when a key is pressed for a duration more than 200ms. Key is repeatedly passed every 200ms. Write 8051 assembly routine also. (b) Draw an interface for 3 scan lines and 5 return lines in a keypad. (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? (a) Describe 80196kc architecture. List innovative features with respect to the 8051 architecture. (b) Compare the interrupt mask bits provided in 80196 with that in 8051. (a) Explain different data processing instructions in ARM 7(with examples). (b) What is Barrel shifter? How does it increase the speed of execution in ARM processor? *****

4 5

4
Code: R7410405 IV B.Tech I Semester (R07) Regular & Supplementary Examinations, November/December 2011 MICRO CONTROLLERS & APPLICATIONS (Electronics & Communication Engineering) Time: 3 hours Max Marks: 80 Answer any FIVE questions All questions carry equal marks ***** 1 2 Draw the pin diagram of 8051 and explain the functioning of each and every pin. (a) Explain control flow instructions of 8051 with examples. (b) How will you generate a pulsed output every 2 ms using 8051 with a 12 MHz oscillator? (a) List out the interrupt system specifications. (b) Write a brief about multiple interrupt marking. (a) How do you set the TH & TL values for TIMER 0 in mode 0 operation? (b) How do you set the registers TH & TL when changing the frequency of operation? Use an 8-bit D/A converter which generators 1000Hz sine wave. 166 decimal samples are stoled in a look up table and fed to the converter at a rate of one sample per 6 sec. The look uptable is pointed by DPTR and R1 is used to count the samples. Write assembly language program to initialize the D/A converter Which is interfaced to 8051? (a) What is deadlock? How to avoid them? (b) What is the different between mailboxes and message queues? (c) What do you understand from priority inversion problem in scheduling algo-rithm? (a) Why should the input to timer 2 from an external event be slower than 4 ? Assume a 12 MHz crystal is available with 80196. (b) What is a high speed input (HSI) interrupt? Why do we call it high speed? (a) Explain the complete ARM register set in different modes of ARM processor. (b) Explain how the changes of modes take place in ARM. *****

S-ar putea să vă placă și