MCU= Microchip mid-or enhanced midrange (e.g., 16F1829 or 16F690)
Language = MPASM
The datasheets recommend "synchronizing" the TMR0 counter to the chip oscillator when in counter mode.
Up to now, I have ignored doing that. A Google search on the procedure yielded non-helpful datasheets, such as DS51682A (not worth looking at). Basically, how do you sample anything at less than a full Tcy? How do you do the synchronization, other than accounting for the two instruction lag?
John
Language = MPASM
The datasheets recommend "synchronizing" the TMR0 counter to the chip oscillator when in counter mode.
Up to now, I have ignored doing that. A Google search on the procedure yielded non-helpful datasheets, such as DS51682A (not worth looking at). Basically, how do you sample anything at less than a full Tcy? How do you do the synchronization, other than accounting for the two instruction lag?
John