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

DispatchTimer: Fix schedule rate (off by 100us) #7

Open
dakejahl opened this issue Aug 28, 2019 · 2 comments
Open

DispatchTimer: Fix schedule rate (off by 100us) #7

dakejahl opened this issue Aug 28, 2019 · 2 comments
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@dakejahl
Copy link
Owner

dakejahl commented Aug 28, 2019

Currently overflowing @ 1kHz ==> +/- 1ms jitter (BAD)

@dakejahl
Copy link
Owner Author

dakejahl commented Aug 28, 2019

Fixed partially -- 0.1ms overflow and uses full system clock tick rate (60MHz == 16.666ns)

Still seeing 1ms == 1.075ms with the dispatch queue interval scheduling

@dakejahl dakejahl added enhancement New feature or request wontfix This will not be worked on labels Aug 30, 2019
@dakejahl dakejahl changed the title Fix DispatchTimer resolution DispatchTimer: Fix resolution Aug 30, 2019
@dakejahl dakejahl changed the title DispatchTimer: Fix resolution DispatchTimer: Fix overflow rate (off by 100us) Sep 2, 2019
@dakejahl dakejahl changed the title DispatchTimer: Fix overflow rate (off by 100us) DispatchTimer: Fix tick rate (off by 100us) Sep 2, 2019
@dakejahl
Copy link
Owner Author

dakejahl commented Sep 2, 2019

For whatever reason always schedules one tick (100us) late

@dakejahl dakejahl changed the title DispatchTimer: Fix tick rate (off by 100us) DispatchTimer: Fix schedule rate (off by 100us) Sep 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant