-
Notifications
You must be signed in to change notification settings - Fork 781
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
[aon_timer, rtl/doc] No wakeup signalled on watchdog bite if it occurs before bark #18341
Comments
If I understand correctly, your concern is that there is a case where a bite may be triggered by If that is the case, the only item is to make sure we have tests that triggers this condition. |
It's the other scenario, where we assert |
Got it. There should be no problem: during low power the pwrmgr slow fsm will exit from low power due to a wakeup or a reset request. And if it is due to a reset it won't trigger a wakeup interrupt (if enabled). Notice when entering low power we don't reset aon domains (specifically aon_timer and sysrst_ctrl), so when waking up from low power due to a reset the reset request persists, and pwrmgr will take the reset right after waking up, at which point it will reset aon domains. |
@GregAC this seems all clear from my side. If you agree, could you close it? |
Yup all good, I'll leave it open but as a doc only issue. |
Moving to M2.5.3 as part of the datasheet/documentation updates task. |
I checked https://opentitan.org/book/hw/ip/aon_timer/index.html#aon-watchdog-timer mentions the bite reset request "is independent of the IRQ sent as part of the watchdog bark". Do you think this needs further clarification? If so, any suggestions? |
aon_timer has a top-level signal
wkup_req_o
which is asserted on either the wakeup timer triggering or the watchdog bark triggering. The watchdog bite does not inherently assert this signal, it only assertsaon_timer_rst_req_o
.Provided the bark is configured to occur before the bite this should be no issue. First a wakeup will occur and assuming the bark is ignored, the bite will happen with
wkup_req_o
still asserted and now withaon_timer_rst_req_o
too.If the bite is configured to occur first you will only get
aon_timer_rst_req_o
.I don't think this is a big issue as bark before bite is the sane configuration and signalling
aon_timer_rst_req_o
withoutwkup_req_o
may have the desired effect (a chip reset) anyway?The only action here may be to clarify this behaviour in the documentation. P1 as we need to discuss and agree no RTL change is needed here for M2.5.1
@msfschaffner @matutem any thoughts?
The text was updated successfully, but these errors were encountered: