Skip to content

Add built-in IWatchdog library to expose the IWDG component. #292

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

Merged
merged 1 commit into from
Aug 6, 2018

Conversation

fpistm
Copy link
Member

@fpistm fpistm commented Aug 3, 2018

Based on first implementation (#234) from @ghent360.

Use LL instead of HAL (no need to enable the HAL_IWDG_MODULE_ENABLED).
Applicable to all STM32 series.
Window mode is available for STM32 series which support the feature.
API added to know if the system has resumed from IWDG reset.
Timeout range increase using LSI_VALUE of the target.

@fpistm fpistm added enhancement New feature or request New feature labels Aug 3, 2018
@fpistm fpistm self-assigned this Aug 3, 2018
@hasenbanck
Copy link
Contributor

Works as advertised. Tested with the custom F765VI board I have developed. Only tested the provided example project and tested including the library in my current Marlin branch.


Th IWatchdog library provides an interface to the independent watchdog module (IWDG) inside STM32 chips.
The IWDG module is used in production systems to generate a reset signal to the CPU in case some
catastrophic event in causes the software to become "stuck" or unresponsive.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/event in causes/event causes

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Copy link
Contributor

@ghent360 ghent360 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent.

Signed-off-by: Venelin Efremov <[email protected]>
Signed-off-by: Frederic.Pillon <[email protected]>
@fpistm fpistm merged commit 1f61684 into stm32duino:master Aug 6, 2018
@fpistm fpistm deleted the IWDG-234 branch August 6, 2018 06:49
benwaffle pushed a commit to benwaffle/Arduino_Core_STM32 that referenced this pull request Apr 10, 2019
Add built-in IWatchdog library to expose the IWDG component.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants