-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
Add MAX32xxx counter RTC driver #80040
Add MAX32xxx counter RTC driver #80040
Conversation
Needs rebase |
9e15583
to
84817b7
Compare
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a hard requirement but you may consider merging commits to boards
from same author into a single one to keep commit history brief.
84817b7
to
3cc0377
Compare
Done |
b14cac6
to
018fd1c
Compare
This commit instantiates counter RTC on MAX32xxx MCUs. Co-authored-by: Sadik Ozer <[email protected]> Signed-off-by: Okan Sahin <[email protected]>
Common RTC counter driver for MAX32xxx MCUs. Time of day alarm is used to generate interrupt. The resolution of time of day interrupt is 1Hz. Subsecond alarm interrupt not works it does not meet zephyr counter driver requirement, so that not used. To use as wakeup source wakeup-source parameter shall be defined as below &rtc_counter { status = "okay"; wakeup-source; }; Co-authored-by: Okan Sahin <[email protected]> Signed-off-by: Sadik Ozer <[email protected]>
49f5141
to
a85edd9
Compare
This commit enables counter RTC for following boards - MAX32662 EVKIT - MAX32655 EVKIT - MAX32655 FTHR - MAX32666 FTHR - MAX32666 EVKIT - MAX32670 EVKIT - MAX32672 FTHR - MAX32672 EVKIT - MAX32690 EVKIT Co-authored-by: Sadik Ozer <[email protected]> Co-authored-by: Maureen Helm <[email protected]> Signed-off-by: Okan Sahin <[email protected]>
This commit enables counter RTC test for MAX32 MCUs. Co-authored-by: Okan Sahin <[email protected]> Signed-off-by: Sadik Ozer <[email protected]>
a85edd9
to
fb3020a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, I like the rtc_counter
name, its always confusing with RTC, is it real time clock, is it real time counter, or RTCC, is that real time clock calendar or real time clock counter :D
Hello @nordic-krch, |
|
|
Hi @oknshn! To celebrate this milestone and showcase your contribution, we'd love to award you the Zephyr Technical Contributor badge. If you're interested, please claim your badge by filling out this form: Claim Your Zephyr Badge. Thank you for your valuable input, and we look forward to seeing more of your contributions in the future! 🪁 |
This PR adds counter RTC driver for ADI MAX32xxx series microcontrollers. Counter tests are also enabled.