Skip to content
This repository has been archived by the owner on Sep 5, 2018. It is now read-only.

provide reliable read of asynchronous timer counters #31

Closed
pabigot opened this issue Dec 29, 2012 · 0 comments
Closed

provide reliable read of asynchronous timer counters #31

pabigot opened this issue Dec 29, 2012 · 0 comments
Assignees
Milestone

Comments

@pabigot
Copy link
Owner

pabigot commented Dec 29, 2012

When a timer source is asynchronous to MCLK, the MSP430 does not guarantee that reading the counter produces valid results. A majority-vote solution is workable when the timer is slow relative to MCLK, but not when they are comparable speed. The problem can be avoided by loading the counter into a CCR register and using that value.

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

No branches or pull requests

1 participant