Timer Calculator Application Released!

Timer Calculator is a free software development tool used for easier calculation of timer interrupts.
Author
Message
TurboProgger
Posts: 66
Joined: 04 Oct 2008 18:39
Location: Germany

Re: Timer Calculator Application Released!

#31 Post by TurboProgger » 23 Jan 2013 17:56

Any chance to have it for the AVR µCs too?

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Timer Calculator Application Released!

#32 Post by filip » 24 Jan 2013 11:26

Hi,

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

Regards,
Filip.

maytere
Posts: 85
Joined: 04 Mar 2009 14:19

Re: Timer Calculator Application Released!

#33 Post by maytere » 06 Feb 2013 16:26

timer Calculator 2.0 must have 42 MHz and 84 MHz mcu (APB, AHB) clocks option.
Thanks.
Mikro Dunya || MikroC PIC and ARM Articles
http://mikrodunya.wordpress.com

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Timer Calculator Application Released!

#34 Post by filip » 07 Feb 2013 11:51

Hi,

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

Regards,
Filip.

bartt
Posts: 156
Joined: 20 Jul 2012 18:52
Location: Left coast

Re: Timer Calculator Application Released!

#35 Post by bartt » 15 Feb 2013 01:08

Nice tool, thanks for publishing it..
How about adding prescalers for the pic32.?
Thanks
Bart

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Timer Calculator Application Released!

#36 Post by filip » 21 Feb 2013 10:25

Hi,

OK, I will also pass this to our developers.

Regards,
Filip.

p.erasmus
Posts: 3391
Joined: 05 Mar 2009 10:28

Re: Timer Calculator Application Released!

#37 Post by p.erasmus » 10 Mar 2013 13:35

bartt wrote:Nice tool, thanks for publishing it..
Only a pitty the CAN tool only supports 100Mhz as max clock frequency
P.Erasmus
Saratov,Russia
--------------------------------------------------------------

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Timer Calculator Application Released!

#38 Post by filip » 11 Mar 2013 15:16

Hi,

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

Regards,
Filip.

WimC56
Posts: 8
Joined: 22 Feb 2013 14:40

Re: Timer Calculator Application Released!

#39 Post by WimC56 » 27 Mar 2013 11:04

While this is published in the AVR area, I would expect (also) AVR architecture, but cannot find it.
Am I missing something? :?: :?:

CU Wim.

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Timer Calculator Application Released!

#40 Post by filip » 28 Mar 2013 10:03

Hi,

Please, look at the one of the previous posts :
http://www.mikroe.com/forum/viewtopic.p ... 30#p205528

Regards,
Filip.

WimC56
Posts: 8
Joined: 22 Feb 2013 14:40

Re: Timer Calculator Application Released!

#41 Post by WimC56 » 28 Mar 2013 14:18

Hi,

Can you give any estimation on your time shedule?

CE Wim.

Microel-f
Posts: 5
Joined: 15 May 2013 17:56

Re: Timer Calculator Application Released!

#42 Post by Microel-f » 19 May 2013 10:52

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

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Timer Calculator Application Released!

#43 Post by filip » 20 May 2013 09:46

Hi,

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

Regards,
Filip.

aCkO
Posts: 1119
Joined: 14 Feb 2011 04:07
Location: Bar, Montenegro

Re: Timer Calculator Application Released!

#44 Post by aCkO » 25 May 2013 15:47

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

Toley
Posts: 922
Joined: 03 Sep 2008 16:17

Re: Timer Calculator Application Released!

#45 Post by Toley » 25 May 2013 16:07

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.
Serge T.
Learning is an endeless process but it must start somewhere!

Post Reply

Return to “Timer Calculator”