May i learn the cycle requirements for Flowcode routines, especially interrupts, compare and addition ?
Last minute addition: I forgot to tell the following ASM compiler error
Error: Failed to open:libc.pic18.lib or C:\Program Files\SourceBoost\lib/libc.pic18.lib
Installting the Sourceboost also doesnot solve the problem
Error: .obj or .lib file Incompatible version! (file uses V111, linker requires V109 to V109)
Error: Failed to process:libc.pic18.lib
Cycle related problem is as follows:
there is a 50 khz to 120khz signal that has to be measured under 100 ms around 0.2 hz resolution at the highest ferquency (compared to 10 sec normal methods). As you all know for simple counting operations frequency is read at 1 sec intervals for 1 hz and 10 secs for 0.1 hz.
To speed up the procedure I constructed a 24 bit 10mhz counter from standard logic blocks with pic synchronization as an external counting referance. Pic is 18f252 at 40mhz (1ppm accuracy tcxo).
Goal is to input the raw frequency to an interrupt and every 5000 counts stop the counter read the value with 3x 8 bit packages and transmit it thru serial. Thus producing a 10mhz frequency division determined by the input frequency, data output rate varies between 24 and 10 hz but this is not important.
With the given specs of the pic at 10mips at the maximum frequency of 120khz there is a 83 cycles instruction window.
is this window enough for the following procedure ? can you give info on the routine cycle times ?
INT0 (get pulse)
a=a+1 (increase counter) (a is integer)
if a=5000 ra1=1 (stop the counter)
I also checked the boost c forums etc and couldn't find info on the routine cycle times.
note: asm seems the most efficient way but hmm hrrrr. I hate it more than monkeys hate water

note 2: I want to thank you guys for creating such a good program. Waiting excitedly for the V4, I hope you'll release it soon.