Page 3 of 6

Re: Timer Calculator Application Released!

Posted: 23 Jan 2013 17:56
by TurboProgger
Any chance to have it for the AVR µCs too?

Re: Timer Calculator Application Released!

Posted: 24 Jan 2013 11:26
by filip
Hi,

Yes, we have in plans to implement AVR architecture in the Timer Calculator.

Regards,
Filip.

Re: Timer Calculator Application Released!

Posted: 06 Feb 2013 16:26
by maytere
timer Calculator 2.0 must have 42 MHz and 84 MHz mcu (APB, AHB) clocks option.
Thanks.

Re: Timer Calculator Application Released!

Posted: 07 Feb 2013 11:51
by filip
Hi,

Thank you for your suggestion, I have passed this to our developers.

Regards,
Filip.

Re: Timer Calculator Application Released!

Posted: 15 Feb 2013 01:08
by bartt
Nice tool, thanks for publishing it..
How about adding prescalers for the pic32.?
Thanks
Bart

Re: Timer Calculator Application Released!

Posted: 21 Feb 2013 10:25
by filip
Hi,

OK, I will also pass this to our developers.

Regards,
Filip.

Re: Timer Calculator Application Released!

Posted: 10 Mar 2013 13:35
by p.erasmus
bartt wrote:Nice tool, thanks for publishing it..
Only a pitty the CAN tool only supports 100Mhz as max clock frequency

Re: Timer Calculator Application Released!

Posted: 11 Mar 2013 15:16
by filip
Hi,

Thank you for noticing this, I will inform our developers to increase the max clock frequency.

Regards,
Filip.

Re: Timer Calculator Application Released!

Posted: 27 Mar 2013 11:04
by WimC56
While this is published in the AVR area, I would expect (also) AVR architecture, but cannot find it.
Am I missing something? :?: :?:

CU Wim.

Re: Timer Calculator Application Released!

Posted: 28 Mar 2013 10:03
by filip
Hi,

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!

Posted: 28 Mar 2013 14:18
by WimC56
Hi,

Can you give any estimation on your time shedule?

CE Wim.

Re: Timer Calculator Application Released!

Posted: 19 May 2013 10:52
by Microel-f
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

Re: Timer Calculator Application Released!

Posted: 20 May 2013 09:46
by filip
Hi,

Thank you for your proposal, I will pass them to our developers.

Regards,
Filip.

Re: Timer Calculator Application Released!

Posted: 25 May 2013 15:47
by aCkO
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

Re: Timer Calculator Application Released!

Posted: 25 May 2013 16:07
by Toley
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"
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.