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

⚠️ rework watchdog timer (WDT) #474

Merged
merged 7 commits into from
Jan 11, 2023
Merged

⚠️ rework watchdog timer (WDT) #474

merged 7 commits into from
Jan 11, 2023

Conversation

stnolting
Copy link
Owner

This PR is complete rework of the NEORV32 Watchdog Timer (WDT).

  • remove access password and bus exception trigger
  • remove clock prescaler select
  • add programmable 24-bit timeout value; internal counter increments at f_main/4096
  • now using "bite and bark" concept
    • when reaching "timeout/2" an optional CPU interrupt is triggered
    • when reaching "timeout" a system-wide hardware reset is triggered
  • change control register layout
  • update HAL (SW drivers), example program and documentation

@stnolting stnolting added enhancement New feature or request HW hardware-related labels Jan 10, 2023
@stnolting stnolting self-assigned this Jan 10, 2023
@stnolting stnolting marked this pull request as ready for review January 10, 2023 20:25
@stnolting stnolting merged commit 4e00530 into main Jan 11, 2023
@stnolting stnolting deleted the rework_wdt branch January 11, 2023 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request HW hardware-related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant