You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2022/01/30 19:49:15 UTC
[GitHub] [mynewt-core] andrzej-kaczmarek opened a new pull request #2761: hw/*/cmac: Use 31250 clock instead of 32768
andrzej-kaczmarek opened a new pull request #2761:
URL: https://github.com/apache/mynewt-core/pull/2761
Since 31250, unlike 32768, is a factor of 1000000 we can use much simpler conversions between LL timer and hal_timer/os_cputime/os_tick values than we currently have. In fact, all we have to is to shift by 5 bits and thus we can remove all those nasty workaround that were added to speed up current conversions that suffered from lack of integral division support on CM0+.
Also, since LL timer is 37 bits and we shift by 5 bits, it means we have full 32-bit value of os_cputime readily available just as if we have a native 32-bit timer running at 31250Hz.
--
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 #2761: hw/*/cmac: Use 31250 clock instead of 32768
Posted by GitBox <gi...@apache.org>.
andrzej-kaczmarek merged pull request #2761:
URL: https://github.com/apache/mynewt-core/pull/2761
--
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 commented on pull request #2761: hw/*/cmac: Use 31250 clock instead of 32768
Posted by GitBox <gi...@apache.org>.
andrzej-kaczmarek commented on pull request #2761:
URL: https://github.com/apache/mynewt-core/pull/2761#issuecomment-1025217587
see https://github.com/apache/mynewt-nimble/pull/1155
--
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] kasjer commented on pull request #2761: hw/*/cmac: Use 31250 clock instead of 32768
Posted by GitBox <gi...@apache.org>.
kasjer commented on pull request #2761:
URL: https://github.com/apache/mynewt-core/pull/2761#issuecomment-1032731184
Changes make throughput tests work without crashing CMAC
--
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