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

Support rtwdog on rt1180 #482

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

SuperHeroAbner
Copy link

Added the rtwdog Zephyr driver for RT1180 EVK.

@SuperHeroAbner
Copy link
Author

SuperHeroAbner commented Dec 3, 2024

Related Zephyr upstream PR: zephyrproject-rtos/zephyr#82456

@SuperHeroAbner SuperHeroAbner force-pushed the support-rtwdog-on-rt1180 branch from 9122857 to d4a51c8 Compare December 4, 2024 09:14
Include rtwdog driver. RT1180 takes reset mask feature, include related
driver to unmask the reset when rtwdog is using.

Signed-off-by: Ruijia Wang <ruijia.wang@nxp.com>
Fix the issue that driver doesn't wait the over status after CS register
operation.

Signed-off-by: Ruijia Wang <ruijia.wang@nxp.com>
@SuperHeroAbner SuperHeroAbner force-pushed the support-rtwdog-on-rt1180 branch from d4a51c8 to f0d49c6 Compare December 9, 2024 05:57
@@ -144,5 +144,8 @@ void RTWDOG_Deinit(RTWDOG_Type *base)
primaskValue = DisableGlobalIRQ();
RTWDOG_Unlock(base);
RTWDOG_Disable(base);
while ((base->CS & RTWDOG_CS_RCS_MASK) == 0U)
Copy link
Member

Choose a reason for hiding this comment

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

@SuperHeroAbner has this change been integrated into the SDK?

Copy link
Author

Choose a reason for hiding this comment

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

Hi @dleach02 , not in develop/release SDK now. I just found this when support Zephyr. I plan to integrate it into 25.3 SDK release.

@mmahadevan108
Copy link
Collaborator

Please record the change to the SDK driver in Patch List section of this file
https://github.com/zephyrproject-rtos/hal_nxp/blob/master/mcux/README#L127

so that we don't lose it when we update the SDK drivers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants