Page 1 of 1

TimedInterval problems compiling

Posted: Sun Oct 01, 2023 3:32 pm
by mnfisher
Just trying the TimedInterval component - which looks very useful.

However, on a PIC16 - it fails to compile with (depending on Timer chosen):
TestDIP.c:6498:1: error: (192) undefined identifier "FCV_00a91_TimedInterval1__INTCOUNT"
or:
TestDIP.c:6498:1: error: (192) undefined identifier "FCV_00a91_TimedInterval1__INTCOUNT"
TestDIP.c:6506:1: error: (192) undefined identifier "TimerInterval_1_CountRegLow"
TestDIP.c:6506:31: error: (192) undefined identifier "TimerInterval_1_SubPeriod"
TestDIP.c:6510:1: error: (192) undefined identifier "TimerInterval_1_CountRegHigh"
Is it only available for certain MCUs?

I also notice that adding a timer interrupt can give some odd timings for interrupt speed - 0.00Hz - maybe needs a few more digits or display as milli hertz? The value seems a bit off too - for example Source HFINTOOSC (32MHz) TMR0 Input synchronised, prescaler 1:64 and postscaler 1:16 displays as 0.119Hz - counting over a 10s delay gives a count of ~5 which is ~0.5Hz

Martin