Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Gokhale Education Society's

R. H. Sapat College of Engineering, Management Studies, and Research,


Nashik
Department of Electrical Engineering

Subject: Advance Microcontroller and Embedded Systems.


Class: TE Electrical

Question Bank for In-sem exam

1. Explain Compare CISC and RISC


2. Explain in detail Data memory organization of PIC18F458.
3. Explain in detail Program memory organization of PIC18F458.
4. Explain PC and STKPTR
5. Explain BSR and Status Register
6. Explain different data types of embedded C.
7. Explain Control loops and functions.
8. Explain preprocessor directives, header, and source file.
9. Mention the flags affected by addition of 02 H and FE H and give value of status register.
10. Explain different types of PORT with dual function
11. Explain in detail SFR related to PORTs
12. Explain in detail T0CON and prescaler.
13. Write a program to generate 1ms delay using Timer 0 programming.
14. Write a C program to generate a delay of 20msec on pin RB0 using Timer0 programming
without prescaler, assume XTAL= 10 MHz.
15. write a C program to toggle LEDs connected to Port D with 50msec delay.
16. Write a C program to generate a delay of 10msec on pin RB2 using Timer0 programming
1:4 prescaler, assume XTAL= 10 MHz.
17. Write a C program to give input direction to PORTD pin RD0-RD3 and output direction
to PORTD pin RD4-RD7
18. Write a program to toggle bit RB3 with 250 ms delay
19. LED is connected to RB1 and SW is connected to RC3, write program to get status of SW
on LED.
20. Calculate timer0 clock period for 256 prescaler, XTAL=10MHz.
Gokhale Education Society's
R. H. Sapat College of Engineering, Management Studies, and Research,
Nashik
Department of Electrical Engineering

21. Write a C program to generate a delay of 20 msec on pin RB1 using Timer0 programming
1:64 prescaler, assume XTAL= 10 MHz.
22. Write a C program to generate a delay of 20 msec on pin RB1 using Timer0 programming
without prescaler, assume XTAL= 10 MHz.
23. Write a C program to blink LED connected to PORTB continuously with delay of 20 msec.
using timer 0.
24. Switch (SW) is connected to RB1 and LED connected to RB7. Write a C program get status
of SW and send it to LED.
25. Find value for T0CON register if Timer 0 used in 16-bit mode, 1:4 prescaler, and uses
internal clock frequency (Fosc/4) for clock Source. XTAL=10MHz.
26. Write a C program to blink LED connected to RB1 with a delay of 200 micro-sec using
Timer0. Assume XTAL= 10 MHz.
27. Write a C program to blink LED connected to PORTB continuously with delay of 20 msec
28. Find value for T0CON register if Timer 0 used in 16-bit mode, 1:64 prescaler, and uses
internal clock frequency (Fosc/4) for clock Source. XTAL=10MHz.
29. Find value for T0CON register if Timer 0 used in 16-bit mode, 1:256 prescaler, and uses
internal clock frequency (Fosc/4) for clock Source. XTAL=10MHz
30. Calculate timer0 clock period for 256 prescaler, XTAL=20MHz.

You might also like