Knowee
Questions
Features
Study Tools

The delay produced by 8051 Mode 1 timer with TH=20 and TL=0F, crystal frequency 11.0592MHz is*4 pointsA) 5.183 millisecondsB) 62.201 millisecondsC) 60.201 millisecondsD) 52.38 milliseconds

Question

The delay produced by 8051 Mode 1 timer with TH=20 and TL=0F, crystal frequency 11.0592MHz is*4 pointsA) 5.183 millisecondsB) 62.201 millisecondsC) 60.201 millisecondsD) 52.38 milliseconds

🧐 Not the exact question you are looking for?Go ask a question

Solution

The 8051 microcontroller timer operates in four modes, and Mode 1 is a 16-bit timer mode. This means it uses both Timer High (TH) and Timer Low (TL) registers, each of which can hold a value from 00 to FF in hexadecimal, giving a range from 0000 to FFFF (or 0 to 65535 in decimal).

The timer counts up from the value loaded into TH and TL, to FFFF. When it rolls over from FFFF to 0000, it sets the Timer Flag (TF) and then reloads the original value from TH and TL and continues counting.

The time delay generated by the timer is determined by the crystal frequency and the initial values loaded into TH and TL.

Given:

  • TH = 20 (hexadecimal) = 32 (decimal)
  • TL = 0F (hexadecimal) = 15 (decimal)
  • Crystal frequency = 11.0592 MHz

The timer counts up from the value (TH, TL) = (20, 0F) = 200F (hexadecimal) = 8207 (decimal)

So, the number of counts is (FFFF - initial count + 1) = (65535 - 8207 + 1) = 57329 counts

Each machine cycle in the 8051 is 12 oscillator periods, so with an 11.0592 MHz crystal, the time for one machine cycle is (12 / 11.0592 MHz) = 1.085069444 microseconds

The timer increments once per machine cycle, so the total time delay is (number of counts * time per count) = (57329 * 1.085069444 microseconds) = 62.201 milliseconds

So, the answer is B) 62.201 milliseconds.

This problem has been solved

Similar Questions

In model 1, 8051 operated with 11.0592MHz crystal oscillator. The clock frequency to set timer 1 baud rate is ________.1 pointA) 28.8MHzB) 28.8KHzC) 345.6KHzD) 921.6KHz

What value do we need to load the timer’s register if we want to have a time delay of 5 ms (milliseconds) using timer 0, T0 in mode 1? Consider crystal frequency to be 12 MHz.1 pointTH0 = CEH, TL0 = 70HTL0 = ECH, TH0 = 78Hnone of theseTH0 = ECH, TL0 = 78H

f the crystal frequency is 4.5 MHz, determine the time for setting the timer flag for mode 1 if TH0 starts at 00H.1 point12 ms2 ms174.78 ms50 ms

Find out the roll over value for the 8051 timer in Mode 0, Mode 1 and Mode 2?a.00FFH,0FFFH,FFFFHb.1FFFH,FFFFH,00FFHc.1FFFH,00FFH,FFFFHd.1FFFH,0FFFH,FFFFH

Calculate the delay  for generating the 10 KHz square waveform with 70% on time and 30% off time. Assume the crystal oscillator frequency to be 11.085 MHz.  Mention the delay in hexadecimal for ON time and OFF  time in hexadecimal.FFBF and FFE3FFC1  and FFE4FFC0  and FFE4FFC0  and FFE5

1/2

Upgrade your grade with Knowee

Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.