Timer Calculator Application Released!
-
- Posts: 66
- Joined: 04 Oct 2008 18:39
- Location: Germany
Re: Timer Calculator Application Released!
Any chance to have it for the AVR µCs too?
Re: Timer Calculator Application Released!
Hi,
Yes, we have in plans to implement AVR architecture in the Timer Calculator.
Regards,
Filip.
Yes, we have in plans to implement AVR architecture in the Timer Calculator.
Regards,
Filip.
Re: Timer Calculator Application Released!
timer Calculator 2.0 must have 42 MHz and 84 MHz mcu (APB, AHB) clocks option.
Thanks.
Thanks.
Re: Timer Calculator Application Released!
Hi,
Thank you for your suggestion, I have passed this to our developers.
Regards,
Filip.
Thank you for your suggestion, I have passed this to our developers.
Regards,
Filip.
Re: Timer Calculator Application Released!
Nice tool, thanks for publishing it..
How about adding prescalers for the pic32.?
Thanks
Bart
How about adding prescalers for the pic32.?
Thanks
Bart
Re: Timer Calculator Application Released!
Hi,
OK, I will also pass this to our developers.
Regards,
Filip.
OK, I will also pass this to our developers.
Regards,
Filip.
Re: Timer Calculator Application Released!
Only a pitty the CAN tool only supports 100Mhz as max clock frequencybartt wrote:Nice tool, thanks for publishing it..
P.Erasmus
Saratov,Russia
--------------------------------------------------------------
Saratov,Russia
--------------------------------------------------------------
Re: Timer Calculator Application Released!
Hi,
Thank you for noticing this, I will inform our developers to increase the max clock frequency.
Regards,
Filip.
Thank you for noticing this, I will inform our developers to increase the max clock frequency.
Regards,
Filip.
Re: Timer Calculator Application Released!
While this is published in the AVR area, I would expect (also) AVR architecture, but cannot find it.
Am I missing something?
CU Wim.
Am I missing something?
CU Wim.
Re: Timer Calculator Application Released!
Hi,
Please, look at the one of the previous posts :
http://www.mikroe.com/forum/viewtopic.p ... 30#p205528
Regards,
Filip.
Please, look at the one of the previous posts :
http://www.mikroe.com/forum/viewtopic.p ... 30#p205528
Regards,
Filip.
Re: Timer Calculator Application Released!
Hi,
Can you give any estimation on your time shedule?
CE Wim.
Can you give any estimation on your time shedule?
CE Wim.
Re: Timer Calculator Application Released!
This is a great tool, but you have think to expand this at the other mcu peripheral initialization? pwm, a/d, etc.
everytime in a new mcu project this is a tedius and missing time activity in all the language
Thanks, Marco
everytime in a new mcu project this is a tedius and missing time activity in all the language
Thanks, Marco
Re: Timer Calculator Application Released!
Hi,
Thank you for your proposal, I will pass them to our developers.
Regards,
Filip.
Thank you for your proposal, I will pass them to our developers.
Regards,
Filip.
Re: Timer Calculator Application Released!
It looks like there is a problem with the calculation of timer interrupts for PICs in v2.5. You probably need to use Fosc/4 instead of Fosc to get correct values.
For example, PIC18 @ 8MHz - Timer1:
v2.5 - 100us interrupt; preload = 64733; Prescaler 1:1
v2.0 - 100us interrupt; preload = 65333; Prescaler 1:1
According to formula, preload should be 65336, but v2.5 is off way too much (probably because timer clock should be Fosc/4). I'm not sure if this offset (-3) in v2.0 is a consequence of some rounding errors. I hope it is not because integer math is enough for the calculation.
Another bug:
PIC18 @ 8 MHZ - Timer 1: If you try to set interrupt time to 100ms, you will get a popup saying "Calculation error: Value for Interrupt Time too low"
Regards
For example, PIC18 @ 8MHz - Timer1:
v2.5 - 100us interrupt; preload = 64733; Prescaler 1:1
v2.0 - 100us interrupt; preload = 65333; Prescaler 1:1
According to formula, preload should be 65336, but v2.5 is off way too much (probably because timer clock should be Fosc/4). I'm not sure if this offset (-3) in v2.0 is a consequence of some rounding errors. I hope it is not because integer math is enough for the calculation.
Another bug:
PIC18 @ 8 MHZ - Timer 1: If you try to set interrupt time to 100ms, you will get a popup saying "Calculation error: Value for Interrupt Time too low"
Regards
Re: Timer Calculator Application Released!
I believe the soft is correct. Timer1 is a 16bits counter, if you are running at 8MHz it will increment every 0.5us. For 100ms it will need 200 000 tick this is over 16 bits.Another bug:
PIC18 @ 8 MHZ - Timer 1: If you try to set interrupt time to 100ms, you will get a popup saying "Calculation error: Value for Interrupt Time too low"
Serge T.
Learning is an endeless process but it must start somewhere!
Learning is an endeless process but it must start somewhere!