Manjuhb
Newbie level 6
- Joined
- Dec 2, 2015
- Messages
- 14
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 149
Even at higher clock frequencies there is no obligation to use 500mS, it can be any sensible combination of clock, prescaler and timer values to achieve the desired delay
You are referring to the target value at the tool, not really the actual value coded. There is no way to directly divide the Oscillator frequency by a value of 2,000,000 ( =4000000Hz*0.5s ) even with the use of prescalers, meaning that it is expected a math approximation error.I use mikroE Timer Calculator Tool. It doesn't generate more than 500 ms delay if more than 4 MHz Clock is used. Also it generates max 500 ms delay for 4 MHz Clock.
If you use 8 MHz Clock or higher, Timer1, 500ms delay, PIC16 then it will not generate then Timer Calculator will not generate delay for that value.
If you use 8 MHz Clock or higher, Timer1, 500ms delay, PIC16 then it will not generate then Timer Calculator will not generate delay for that value.
it is only assumption and also because to generate 500 ms delay using Timer Calculator the Clock should be 4 MHz and so I assumed Clock as 4 MHz.
...
It is only my calculation.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?