1 (a)
Identify which register of AVR Atmega32 is responsible to perform following function.
1. To select power management and sleep mode
2. To decide prescaler value for timer
3. To control status of input/output ports
4. Analog Comparator Multiplexer Enable
5. To store result of Analog to Digital conversion
6. To enable timer interrupts
7. To identify status of conditional flag to be used to perform conditional branch
1. To select power management and sleep mode
2. To decide prescaler value for timer
3. To control status of input/output ports
4. Analog Comparator Multiplexer Enable
5. To store result of Analog to Digital conversion
6. To enable timer interrupts
7. To identify status of conditional flag to be used to perform conditional branch
7 M
1 (b)
Explain various addressing modes of AVR microcontroller with appropriate example.
7 M
2 (a)
With diagram explain internal architecture of AVR ATmega32 microcontroller.
7 M
Solve any one question from Q2(b) & Q2(c)
2 (b)
Discuss 5 sources of reset mechanism for ATmega32 microcontroller and explain reset logic with diagram.
7 M
2 (c)
With diagram explain principal clock systems in the AVR microcontroller and their distribution.
7 M
Solve any two question from Q3(a), Q3(b) & Q3(c), Q3(d)
3 (a)
Draw block diagram of 8bit timer/counter and explain its operation.
7 M
3 (b)
Explain following instruction with appropriate example.
1. LPM
2. SBRS
1. LPM
2. SBRS
7 M
3 (c)
List various sources of AVR interrupts and their priorities. Explain steps in enabling an interrupt. Also discuss external interrupts in detail.
7 M
3 (d)
Explain following instruction with appropriate example.
1. MULS
2. STS
1. MULS
2. STS
7 M
Solve any two question from Q4(a), Q4(b) & Q4(c), Q4(d)
4 (a)
Write a program to generate time delay of 10ms using timer 1 in normal mode. Choose prescaler of 1024. Exclude the instruction overhead due to the
instructions in loop. Assume XTAL = 8MHz.
7 M
4 (b)
Write an AVR C program to toggle all the pins of Port B continuously.
(a) Use the inverting operator
(b) Use the Ex-OR operator.
(a) Use the inverting operator
(b) Use the Ex-OR operator.
7 M
4 (c)
Interface 4 LEDs and 1 switch with AVR controller and write a program to demonstrate up/down counter with mod control.
7 M
4 (d)
Write an AVR program to generate PWM waveform of frequency 31250Hz and duty cycle of 75% using non inverted mode. Assume XTAL = 8MHz.
7 M
Solve any two question from Q5(a), Q5(b) & Q5(c), Q5(d)
5 (a)
With diagram explain baud rate generation mechanism for serial communication in AVR microcontroller. Also state mechanism for baud rate error calculation.
7 M
5 (b)
Explain stepper motor interfacing with ATmega32 microcontroller with appropriate diagram.
7 M
5 (c)
With diagram explain LCD interfacing with Atmega32.
7 M
5 (d)
State features of ATmega32 ADC and discuss steps in ADC programming.
7 M
More question papers from Microcontroller And Interfacing