This is ported code from a working project using 908QY4. I can't seem to get the TPM TOF to be set at proper values.
I load the modulo $FFFE, then time an event based on not overflowing at a particular prescale value. On overflow, I set the prescale higher and retime.
I'd use the MTIM (Boy does that look like the QY TPM), but it's 8 bit, I need 16.
The TOF is being set not by any predictable manner I can see, sure isn't modulo overflow. Somebody got a clue for me? TNX <<<)))