Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The timer frequency is incorrect #47

Open
wwylele opened this issue Sep 9, 2020 · 0 comments
Open

The timer frequency is incorrect #47

wwylele opened this issue Sep 9, 2020 · 0 comments

Comments

@wwylele
Copy link
Owner

wwylele commented Sep 9, 2020

After looking at the timer stuff in perxteak.per, I figured that they are both having different internal clocks. I had only tested timer 1 yet, but when testing both timers...
Timer 0 is 134MHz (called "internal clock with no wait-states")
Timer 1 is 107MHz (called "internal clock with wait-states")
No idea where those wait-states come from, and if they are constant. It might be something else than the Z0/Z1/Z2/Z3 area wait-states.
Another difference (not mentioned in the .per file) is that Timer 1 seems to have the MU bit always set (the bit is readonly).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant