You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by "andrzej-kaczmarek (via GitHub)" <gi...@apache.org> on 2023/06/19 21:59:04 UTC
[GitHub] [mynewt-core] andrzej-kaczmarek opened a new pull request, #3025: hw/mcu/cmac: Fix os_tick handling
andrzej-kaczmarek opened a new pull request, #3025:
URL: https://github.com/apache/mynewt-core/pull/3025
The os_tick is handled by 36_10_EQ_Y and 9_0_EQ_Y comparators which
requires extra handling to match full value on 2 separate comparators.
This could also trigger an assert on wakeup in cmac_timer_slp_disable
which expects that no interrupt is fired during that process. This is to
guarantee that we complete wake up before timer expires. However, since
we initially match on 36_10_EQ_Y only which has resolution of 1024us
it's possible that it will trigger an interrupt even though we woke up
before complete EQ_Y value matches.
To fix this and simplify the process we can use single EQ_Y comparator
to match on complete value, just as we do for EQ_X.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [mynewt-core] andrzej-kaczmarek merged pull request #3025: hw/mcu/cmac: Fix os_tick handling
Posted by "andrzej-kaczmarek (via GitHub)" <gi...@apache.org>.
andrzej-kaczmarek merged PR #3025:
URL: https://github.com/apache/mynewt-core/pull/3025
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org