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

Fix incorrect system timer frequency #74

Closed
roscopeco opened this issue Jul 24, 2020 · 0 comments
Closed

Fix incorrect system timer frequency #74

roscopeco opened this issue Jul 24, 2020 · 0 comments

Comments

@roscopeco
Copy link
Collaborator

The system timer tick (driven by MFP timer C) is incorrectly running at 200Hz. It should be 100Hz.

This is because the crystal from which the timers are derived had it's frequency doubled after r0, but the bootstrap code that sets up Timer C has never been updated.

200Hz is high and has a negative (if slight) impact on system performance. Additionally, the upticks counter (which is supposed to be hundredths of a second) in FW 1.1 and 1.2 is incorrect.

This is not an issue for FW 1.01 (as it does not track upticks), but should be fixed in FW1.1 and 1.2 (and beyond).

Additionally the counter that drives the I0 flash will need to be adjusted as we want to keep the existing ~1Hz flash.

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