JAYPEE UNIVERSITY OF ENGINEERING & TECHNOLOGY
A.B. ROAD, P.B. No. 1, RAGHOGARH, DIST: GUNA (M.P.) INDIA.
Phone : 07544 267051, 267310 - 14 Fax : 07544 267011
Website: www.juet.ac.in
COURSE: MICROPROCESSOR & CONTROLLERS (14B11EC415)
TUTORIAL: 06
1 Write instruction to generate a pulse every 50µs from counter 0shown in figure 1. Consider the
clock frequency is 2 MHz for counter 0.
2 Write an instruction to generate a 1 kHz square wave from counter 1 shown in figure 1.
Assume the Gate of the counter 1 is tied to +5V through 10Ω resistor. Explain the significance
of connecting the gate to +5V. Consider the clock frequency is 2 MHz for counter 1.
3 In figure 1, assume that gate 1 = 1, CLK 1 = 1 MHz and the clock count N=1000. Show the
output waveform of out 1 if it is programmed in mode 0.
4 In figure 1, assume that gate 1 = 1 for 1 ms and 0 for 400 µs and CLK 1 = 1 MHz and the
clock count N=1000. Show the output waveform of out 1 if it is programmed in mode 0.
5 In figure 1, assume that CLK 1 = 1 MHz and the clock count N=500. Show the output
waveform of out 1 if it is programmed in mode 1.
6 In figure 1, assume that CLK 2 = 1 MHz, Gate 2= 1 and the clock count N=750. Show the
output waveform of out 2 if it is programmed in mode 2.
7 In figure 1, assume that CLK 2 = 1 MHz, Gate 2= 1 and the clock count N=1000. Show the
output waveform of out 2 if it is programmed in mode 3.