The Timer Pre-Load register R21 specifies the minimum number of signal cycles to count and ranges from 1 to 256 (0). The Frequency Pre-scale register R22 multiplies the cycle count according to:
The number of cycles "
where the factor of 2 accounts for the fact that Spock divides all frequencies it sees by 2 before passing them on to the PIC, regardless of the input selected.
Copyright © 2023 BitScope Designs