Skip to content

cpu/atmega256rfr2/rtc.c: Initial RTC Implementation#9378

Closed
shr70 wants to merge 5 commits intoRIOT-OS:masterfrom
Josar:jiminy-rtc
Closed

cpu/atmega256rfr2/rtc.c: Initial RTC Implementation#9378
shr70 wants to merge 5 commits intoRIOT-OS:masterfrom
Josar:jiminy-rtc

Conversation

@shr70
Copy link
Contributor

@shr70 shr70 commented Jun 20, 2018

Contribution description

Implements the RTC using a 32,768kHz watch crystal connected to the asynchronous Timer2.
Lightly tweaked version of the Application Note "AVR134: Real Time Clock using the Asynchronous Timer"

Issues/PRs references

@Josar Josar force-pushed the jiminy-rtc branch 2 times, most recently from a367ca3 to e8d6485 Compare June 20, 2018 20:33
shr70 and others added 4 commits June 21, 2018 00:19
Implements the rtc using a 32,768kHz watch crystal connected to the asynchronous Timer2
Lightly tweaked version of the Application Note "AVR134: Real Time Clock using the Asynchronous Timer"
Added context switch check in interrupt. Made get time/alarm interrupt save.
Added documentation.
@ZetaR60
Copy link
Contributor

ZetaR60 commented Jun 20, 2018

@shr70 There is a pre-existing RTT and RTC implementation in #8842 for all ATmega systems. It is tested and working with the ATmega1284P, but should also work with ATmega256RFR2 (testing on your system would be appreciated). It is currently waiting for @gebart and @kaspar030 to have some time to finish their reviews.

@aabadie aabadie added State: duplicate State: The issue/PR is a duplicate of another issue/PR Platform: AVR Platform: This PR/issue effects AVR-based platforms labels Jun 21, 2018
@PeterKietzmann
Copy link
Member

Closing this in favor of #8842

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Platform: AVR Platform: This PR/issue effects AVR-based platforms State: duplicate State: The issue/PR is a duplicate of another issue/PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants