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

cpu/nrf51822: fixed timers #1827

Merged
merged 2 commits into from
Nov 12, 2014
Merged

Conversation

haukepetersen
Copy link
Contributor

fixes #1800
is rebased on #1824

The test/vtimer_msg is still not working correctly, but this seems to be realted to the vtimer implementation -> see #1828

@haukepetersen haukepetersen added this to the Release NEXT MAJOR milestone Oct 17, 2014
@haukepetersen haukepetersen added Platform: ARM Platform: This PR/issue effects ARM-based platforms Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) labels Oct 17, 2014
@mehlis
Copy link
Contributor

mehlis commented Oct 17, 2014

@haukepetersen I'm going to test this patch on yunjia and arduino due.

but it seems that all cortex based platforms are broken?

@haukepetersen
Copy link
Contributor Author

not really broken, there are just some situations where they might break, some boards are just not running into that situation so far...

@mehlis
Copy link
Contributor

mehlis commented Oct 19, 2014

tested with hwimer on yunjia -> works -> ACK

@haukepetersen
Copy link
Contributor Author

will merge when #1824 is merged...

@mehlis
Copy link
Contributor

mehlis commented Oct 29, 2014

@haukepetersen PR needs rebase

@haukepetersen
Copy link
Contributor Author

rebased

@haukepetersen
Copy link
Contributor Author

again.

@haukepetersen haukepetersen force-pushed the fix_nrf_timer branch 2 times, most recently from cbf4d71 to 1b1f44c Compare November 4, 2014 17:17
adjusted for
- pca10000
- pca10005
- yunjia-nrf51822
- changed TIMER_0 to be a 24-bit timer -> see Nordic PAN #32
- cleaned up timer initialization code
- added check if an interrupt channel was active
@haukepetersen
Copy link
Contributor Author

@mehlis Turned out the timer was working, just the hwtimer test application does unexpected stuff... Can you test with #1936 and verify the timers? Thx

@thomaseichinger
Copy link
Member

ACK, could you open an issue for the corner case "callback set, overrun occurs, callback gets triggered too soon"

@haukepetersen
Copy link
Contributor Author

done, see #2006

@haukepetersen
Copy link
Contributor Author

and go.

haukepetersen added a commit that referenced this pull request Nov 12, 2014
@haukepetersen haukepetersen merged commit a3061bc into RIOT-OS:master Nov 12, 2014
@haukepetersen haukepetersen deleted the fix_nrf_timer branch November 12, 2014 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Platform: ARM Platform: This PR/issue effects ARM-based platforms Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

nrf51822: hwtimer stops working after ~20 sec
3 participants