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
Question
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
Solution
The 8051 timer has different roll over values depending on the mode it is in.
-
Mode 0: In this mode, the timer operates as an 8-bit timer. This means it can count from 00 to FFH. So, the roll over value is 00FFH.
-
Mode 1: In this mode, the timer operates as a 16-bit timer. This means it can count from 0000 to FFFFH. So, the roll over value is FFFFH.
-
Mode 2: In this mode, the timer operates as an 8-bit auto-reload timer. This means it can count from 00 to FFH and then it will automatically reload the original value. So, the roll over value is 00FFH.
So, the correct answer is a. 00FFH, FFFFH, 00FFH.
Similar Questions
Mention the roll over value (in hex and decimal) of the timer for each of the following cases:1. Timer 0 Normal mode2. Timer 1 normal mode
Which of the following controls the 8051 timer1 especially when it is configured as a timer in mode'0', where gate and TR1 bits are attributed to be '1” in TMOD register ?a.All of theseb.TR1c.TF1d.External input at (INT1)
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
How can an external frequency be counted using 80-51? Who controls the timer 1 especiallywhen it is configured as a tinier in niode'O'. where gate and I R1 bits are attributed to be’I" in TMOD register?Assuming that XTAL = I 1.0592 MHz in 8051 based microcontrollers, find(a) frequency of the square wave generated on pins P1.0 in the tollowing program, and(b) the smallest frequency achievable in the program, and the '111 value to do thatMOV TMOD. «20HMOV TH 1.25SETBTR1JNBTF1, BackCPL P1.0CLR TF1SJMP Back
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
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.