This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Timer problem

Hi there!

I have some problems with CAPCOM timer. It was configured:

CPU clock - 40 MHz
prescaler - module clock / 8
Timer0 overflow (usec) - 100
Timer 0 reload register - 0xFE0C

On digital oscilloscope I can see ~9.615 kHz, not 10 kHz.

Can anyone explain this problem?

Some info:

_MCTC1 EQU 1
_RWDC1 EQU 0
_MTTC1 EQU 0

0