Question: 1 . Assuming XTAL = 1 6 MHz , show a program to generate a 0 . 2 5 seconds time delay. Use any timer

1. Assuming XTAL =16MHz, show a program to generate a 0.25 seconds time delay. Use any timer you want. 2. With XTAL =22MHz, find the delay obtained using the following program DELAY: MOV TMOD , #10H MOV TL1, #33H MOV TH1, #05 SETB TR1 JNB TF1, $ CLR TR1 CLR TF1 RET 3. Program timer 0 to generate a square wave of 0.5KHz. Assume XTAL =20MHz 4. Assuming that XTAL =16MHz, and we are generating a square wave on pin P1.2, find the lowest square wave frequency that we can generate using mode 1.5. Assuming that XTAL =11.0592MHz, and we are generating a square wave on pin P1.3, find the highest square wave frequency that we can generate using mode 2.1. Assuming XTAL =16MHz, show a program to generate a 0.25 seconds time delay. Use any timer you want. 2. With XTAL =22MHz, find the delay obtained using the following program DELAY: MOV TMOD , #10H MOV TL1, #33H MOV TH1, #05 SETB TR1 JNB TF1, $ CLR TR1 CLR TF1 RET 3. Program timer 0 to generate a square wave of 0.5KHz. Assume XTAL =20MHz 4. Assuming that XTAL =16MHz, and we are generating a square wave on pin P1.2, find the lowest square wave frequency that we can generate using mode 1.5. Assuming that XTAL =11.0592MHz, and we are generating a square wave on pin P1.3, find the highest square wave frequency that we can generate using mode 2.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!