Diploma in ECE and EEE Study Material

Diploma in ECE and EEE Study Material | Microcontroller Unit 3 | Yuvasallinfo

Diploma in ECE and EEE Study Material | Microcontroller Unit 3 | Yuvasallinfo

34052-MICROCONTROLLER

Unit-3 Syllabus

I/O AND TIMER:
3.1 I/O
Bit addresses for I/O and RAM – I/O programming – I/O bit manipulation programming.
3.2 TIMER
Programming 8051 Timers – Timer 0 and Timer 1 registers –Different modes of Timer – Mode 0 Programming – Mode 1 Programming – Mode 2Programming – Counter programming –Different modes of Counter – Mode 0 Programming – Mode 1 Programming -Mode 2 Programming (simple programs)

 

Diploma in ECE and EEE Study Material

 

 Important 2 Mark Questions

1. Write the bit address of port1 and port 3.
2. What is the capacity of bit addressable area of Internal RAM of 8051?
3. In 8051, which port need a pull up resistor in order to be used as I/O?
4. In the 8051 , how many pins are designated as I/O port pins?
5. Is the instructing “CPL P1” a valid instruction ?
6. Mention the operating modes of 8051 timers.
7. What is the function of gate signal in timer?
8. State the function of timer flag TF in TCON register.
9. Mention the SFR register used in the Timer operation .
10. What is the use of counter?

 Important 3 Mark Questions

1.Write the alternative function of port 3 in 8051.
2. What is the advantage of bit –addressability for 8051 port?
3. Explain Read –modify-write Instruction.
4. What is the difference between the operation of a timer and a counter?
5. Explain TMOD register in 8051.
6. How many timers available in the 8051? Draw the timer.
7. Draw TCON register in detail.
8. Find the timer ‘s clock frequency for the crystal frequency of         11.0592 MHz?
9. What is the function of gate signal in timer?
10. Explain the different operating modes of counter in 8051.

Unit -3 Important 10 Mark Questions

1. Explain the bit addresses for I/O of 8051.
2. Explain the bit addresses for RAM.
3. Explain the Programming of I/O ports in 8051
4. Explain TMOD and TCON registers.
5. Explain the different operating modes of timer in 8051.
6. Explain in details about the programming of 8051 timer.
7. Explain the steps to program the timer in mode1 and mode2.
8. Write the Program to generate square wave of 50hz frequency on Pin P1.2 using timer0 interrupt .Assume crystal frequency in 11.0592MHZ.
9. Explain counter programming.
10.Write an ALP for alternatively switch ON/OFF the load connected at Port Pin P1.0when the counter overflows , by using counter1 in mode 2.

For More Details Visit:

Whatsapp

Telegram

Click HereClick Here

Leave a Reply

Your email address will not be published. Required fields are marked *

error: Content is protected !!