You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alternatively, you can change the equal sign to a greater than or equal sign:
If we change it so it becomes: (prescale_count_q >= reg2hw_i.wkup_ctrl.prescaler.q); , then that would mean the first counted unit would be incremented without any prescaler increments. Would that be ok?
There is a bug in aon_timer_core.
The issue becomes visible in the following scenario:
prescale_count_q=A
wkup_ctrl.prescaler=B
is written.If B < A, the RTL will have to overflow
prescaler_count_q
before the new prescaler count becomes effective.Assuming the expected use case for the WKUP counter is to set the prescaler and leave it as is until reset this isn't a critical bug.
The proposal is to reset
prescaler_count_q
every time a newwup_ctrl.prescaler
value is written as well as the current reset onrst_aon_ni
.The text was updated successfully, but these errors were encountered: