Use of T1 timer component
Posted: Mon Dec 20, 2021 10:50 am
Hi,
I'd like to use the T1 counter of the PIC16F15355 for an up to 10 minutes delay.
There is a Timer1 component in Flowcode 9 I want to use, but it is basically undocumented.
Some experiments lead to the following issues:
What is the relationship between Instruction Rate, Rollover Frequency and Rollover Time?
Also, what do the entries 'Timer delay (ms)' and 'Decimal points' signify?
When I change the project clock frequency and/or the clock frequency setup in the Project Options, they all seem to do something but I can't find any logic in the relation of these settings.
When I measure a delay, the reported time always falls short of the delay I set, up to 25% short.
When I set up the T1 clock frequency directly in the T1 registers, that doesn't seem to make a difference either.
Does the Timer component override this?
Does anyone have any documentation on this Component?
Jan Didden
Linear Audio
I'd like to use the T1 counter of the PIC16F15355 for an up to 10 minutes delay.
There is a Timer1 component in Flowcode 9 I want to use, but it is basically undocumented.
Some experiments lead to the following issues:
What is the relationship between Instruction Rate, Rollover Frequency and Rollover Time?
Also, what do the entries 'Timer delay (ms)' and 'Decimal points' signify?
When I change the project clock frequency and/or the clock frequency setup in the Project Options, they all seem to do something but I can't find any logic in the relation of these settings.
When I measure a delay, the reported time always falls short of the delay I set, up to 25% short.
When I set up the T1 clock frequency directly in the T1 registers, that doesn't seem to make a difference either.
Does the Timer component override this?
Does anyone have any documentation on this Component?
Jan Didden
Linear Audio