Page 2 of 2

Re: Support the Timer Calculator Project

Posted: 25 May 2014 21:20
by Stefan3v
dan07 Timer Calculator work fine for 12F675 and 629.

Re: Support the Timer Calculator Project

Posted: 26 May 2014 00:50
by dan07
Stefan3v wrote:dan07 Timer Calculator work fine for 12F675 and 629.
To use it with 12F675 and 629, which PIC should I select from the list in Timer Calculator?

Thanks.

Re: Support the Timer Calculator Project

Posted: 26 Sep 2014 09:14
by petar.timotijevic
Hi,

Please select PIC16 in Timer Calculator.


Best regards,
Peter

Re: Support the Timer Calculator Project

Posted: 18 Apr 2015 12:42
by pappicio
I asked for a question about pic timer calculator, I don't see my previous post: about delays to calculate between TMR0_BIT set to 1 and call breackpoint subroutine, (maybe there are some cycles to include into TMR0 count to calibrate better it!) a message told me that an administrator had to check the message, but from iesterday I cannot see my post.
Thanks.

Re: Support the Timer Calculator Project

Posted: 21 Apr 2015 08:27
by petar.timotijevic
Hi pappicio and welcome to the MikroE forum,
pappicio wrote:I asked for a question about pic timer calculator, I don't see my previous post: about delays to calculate between TMR0_BIT set to 1 and call breackpoint subroutine, (maybe there are some cycles to include into TMR0 count to calibrate better it!) a message told me that an administrator had to check the message, but from iesterday I cannot see my post.
Thanks.
Please check forum topic where you created previous post.

First few posts need to be approved by forum Administrator.


Best regards,
Peter

Re: Support the Timer Calculator Project

Posted: 09 Jan 2016 10:19
by StefaanC
I would say, test the timer calculator.
If it's a usefull app, add small or bigger donation

Re: Support the Timer Calculator Project

Posted: 29 Feb 2016 23:00
by SpiralProphet
I've located an issue with the Timer Calculator. It's a wonderful tool that takes all the spreadsheets i've made previously and puts a nice interface on it.

However, the PIC24 / dsPIC33 32-bit timer generation is bugged.
When you generate the timer, the header comments show the correct settings for the prescaler, however the data loaded into the TxCON register is always 0x0;

This value never changes even though the comments do change the prescaler based on the calculation of the timer values.

Code: Select all

//Timer8/9
//Prescaler 1:256; PR9 Preload = 64373; PR8 Preload = 65445; Actual Interrupt Time = 18000 s
 
//Place/Copy this part in declaration section
void InitTimer8_9(){
  T8CON		 = 0x0;
  T9CON		 = 0x0;
  TMR8			 = 0;
  TMR9			 = 0;
  T9IE_bit		 = 1;
  T9IF_bit		 = 0;
  T9IP_0_bit		 = 1;
  T9IP_1_bit		 = 1;
  T9IP_2_bit		 = 1;
  PR9			 = 64373;
  PR8			 = 65445;
  T8CONbits.TON	 = 1;
  T8CONbits.T32	 = 1;
}
 
void Timer8_9Interrupt() iv IVT_ADDR_T9INTERRUPT{
  T9IF_bit		 = 0;
Felt i should share as i found this today while using the tool.

Re: Support the Timer Calculator Project

Posted: 01 Mar 2016 14:26
by Aleksandar.Mitrovic
Hi,

Thank you for reporting this.

We will try to investigate this problem.

Best regards,
Aleksandar