KVSN91
Junior Member level 2
Hi, I am learning 8051 Microcontroller(Choosing C8051F380 siliconlabs).Timers are used to creating frequency and time period.I didn't understand How to calculate Time period.
i understood my self to produce time period using TIMER0 , first we should know high and ,low frequencies we can produce using prescaler.
For ex my sysclok 48Mhz, i take prescaler SYSCLK/48,
ie.. 48Mhz/48=1 Mhz
for T= 1/ 1 Mhz =1us. ie.. 1sec like that
I take now prescaler Syscl/12
ie.. 48Mhz/12=4 mhz;
for T= 1/2Mhz=0.25 sec
Now please explain briefly How to calculate Time period and Frequency using Using Timer0 (13bit,16bit,8bit auto reload,two 8bit) . I am using C8051F380 controller
i understood my self to produce time period using TIMER0 , first we should know high and ,low frequencies we can produce using prescaler.
For ex my sysclok 48Mhz, i take prescaler SYSCLK/48,
ie.. 48Mhz/48=1 Mhz
for T= 1/ 1 Mhz =1us. ie.. 1sec like that
I take now prescaler Syscl/12
ie.. 48Mhz/12=4 mhz;
for T= 1/2Mhz=0.25 sec
Now please explain briefly How to calculate Time period and Frequency using Using Timer0 (13bit,16bit,8bit auto reload,two 8bit) . I am using C8051F380 controller