Greital
New Member
hi,
I'm kinda new to 8051 and have a problems with it
Q: assuming 8051 is connected to a 6Mhz crystal, what is the maximum delay that can be implemented by a single timer using mode 1 ?
what I've tried is the following:
1. finding the freq = 6/12 Mhz
2. finding the cycle of time = 1/freq
3. delay = number of counts X cycle of time ----> here I stuck
how to find the number of counts ??? ![nailbiting :nailbiting: :nailbiting:](/styles/default/xenforo/smilies/nailbiting.png)
I'm not sure if what I'm doing is right or wrong
so please
help me out with this ![Frown :( :(](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
I'm kinda new to 8051 and have a problems with it
Q: assuming 8051 is connected to a 6Mhz crystal, what is the maximum delay that can be implemented by a single timer using mode 1 ?
what I've tried is the following:
1. finding the freq = 6/12 Mhz
2. finding the cycle of time = 1/freq
3. delay = number of counts X cycle of time ----> here I stuck
![banghead :banghead: :banghead:](/styles/default/xenforo/smilies/banghead.png)
![nailbiting :nailbiting: :nailbiting:](/styles/default/xenforo/smilies/nailbiting.png)
I'm not sure if what I'm doing is right or wrong
so please
![angelic :angelic: :angelic:](/styles/default/xenforo/smilies/angelic.png)