-
Notifications
You must be signed in to change notification settings - Fork 3k
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
EFM32: RTC test fails #12374
Comments
Internal Jira reference: https://jira.arm.com/browse/MBOTRIAGE-2538 |
cc @ARMmbed/team-silabs |
Findings so far:
|
Seems like a context switch is needed. Also just noticed: #8906, could be related, see also the two fixing PRs. |
@stevew817 could you have a look? |
I'll see whether I can find something in the implementation that would correlate with your findings. Stay tuned. |
wait_us maps to a busy-wait instead of a thread sleep, so that would explain why there could be a difference between the two. I need to experiment a bit, but the solution seems within reach. |
Use an RTCC retention register to keep track of user timebase for RTC API. RTC and LP Ticker implementations use the same counter, but they shouldn't share timebases.
…stence EFM32: RTCC bugfix for #12374
Description of defect
tests-mbed_hal-rtc
always fails on some EFM32 targets. Other tests apart of #12371 and #12373 are fine.It errors out at the
RTC - sleep
case with:If I comment-out
RTC - sleep
, the next failing case isRTC - range
:Related to 5590f2b and #7009
Target(s) affected by this defect ?
Verified on
EFM32PG12_STK3402
andEFM32GG11_STK3701
.EFM32GG_STK3700
is not affected (because it's backed byBURTC
instead ofRTCC
?)Toolchain(s) (name and version) displaying this defect ?
GNU Tools Arm Embedded 9 2019-q4-major
What version of Mbed-os are you using (tag or sha) ?
master
atf73a62afbf4052b4da8c5b862ffb4708a80c1b6e
Also verified with:
mbed-os-5.13.4
at1bf6b20df9d3cd5f29f001ffc6f0d0fcbbb96118
What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
mbed-cli 1.10.2
How is this defect reproduced ?
The text was updated successfully, but these errors were encountered: