| ??? 01/25/00 17:10 Read: times |
#1292 - Calculate time of the loop: |
Dear Gurus,
I have following two delay loops in an application using 2051. Application is working OK. The requirement is that I have to change crystal. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ; Loop - 1 MOV R4,#6H VALID_INNERL MOV R3,#5BH WAITVL DJNZ R3,WAITVL JB P3.7,HOLDHD DJNZ R4,VALID_INNERL >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ; Loop - 2 MOV R4,#07H TEST_LOOPD_INNER MOV R3,#5BH WAITT DJNZ R3,WAITT DJNZ R4,TEST_LOOPD_INNER >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Kindly let me know : 1) How long these both loops do now take using 11.0592 MHz crystal ? 2) The values for TL0 and TH0 for the equivalent delay loops using timer-0 but using a 20 MHz crystal ? Thank you Babar/ |
| Topic | Author | Date |
| Calculate time of the loop: | 01/01/70 00:00 | |
| RE: Calculate time of the loop: | 01/01/70 00:00 | |
| RE: Calculate time of the loop: | 01/01/70 00:00 | |
| RE: Calculate time of the loop: | 01/01/70 00:00 | |
| RE: Calculate time of the loop: | 01/01/70 00:00 | |
RE: Calculate time of the loop: | 01/01/70 00:00 |



