-
Notifications
You must be signed in to change notification settings - Fork 3k
Fix for issue #10725: disable lp-ticker for STM targets which uses RTC/LSI for lp-ticker #12210
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
Conversation
@mprse, thank you for your changes. |
Should be approved by UBLOX team |
@ARMmbed/team-ublox Please review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Assuming there is no fallback option for these targets. @ARMmbed/team-ublox to confirm.
|
@fahim-ublox If there is another better solution that can be used then let's use it. This solution was agreed in PR #12135 and the problem was analyzed in the following issue #10725 (comment). Can you provide some details on how to use |
@fahim-ublox Can you review? I enabled |
There are some old C030 board those have no LSE available. So to keep them happy as well idea was to keep LSE available to zero in target.json and override in platform tests json or relevant applications. i.e. |
Can you provide for which targets LSE can be enabled? |
I checked locally the boards you should have come from the first production run so if your boards support an external oscillator then any of the ones that could get to a customer will also support it. So we think if you marked lse available, it’s probably fine. |
Thank you @fahim-ublox . |
CI started |
Test run: FAILEDSummary: 3 of 4 test jobs failed Failed test jobs:
|
Disabled |
@mprse I don't see any new commit here, should it be? |
Maybe this constraint should be added in BLE mbed_lib json ? |
CI restarted |
Disable comment should contain a reason for disabling. Please add, let CI to complete now to check the update. |
Test run: SUCCESSSummary: 11 of 11 test jobs passed |
Pull request has been modified.
I fixed the styling manually. Hopefully, it's ok now. |
Does it still needs work? It seems it was fixed. |
It needs Ci. |
CI started |
Test run: FAILEDSummary: 1 of 11 test jobs failed Failed test jobs:
|
@0xc0170 It looks like all passed. |
Looks like another CI hiccup. Will re-run the ci and hopefully it will work this time. |
Test run: FAILEDSummary: 1 of 11 test jobs failed Failed test jobs:
|
@adbridge |
Will try running again although interestingly another PR failed the dynamic-memory-usage as well earlier so there may be a problem |
CI started |
Test run: FAILEDSummary: 1 of 11 test jobs failed Failed test jobs:
|
Summary of changes
This PR is continuation of PR #12135 - which will be closed.
tests-mbed_drivers-lp_timer
is failing onUBLOX_C030_U201
(can't reproduce the failure locally).According to the documentation of
STM32F437VG76
MCU:The LSI RC acts as an low-power clock source that can be kept running in Stop and
Standby mode for the independent watchdog (IWDG) and Auto-wakeup unit (AWU). The
clock frequency is around 32 kHz. For more details, refer to the electrical characteristics
section of the datasheets.
It seems that typical
LSI
frequency is32 kHz
, but it may vary from17
to47 kHz
!This means that lp-timer test may fail on the same board because lp-ticker frequency is unstable.
The proposition is to disable lp-ticker for STM targets which uses
RTC/LSI
to drive lp-ticker -LSI
is unstable and breaks accuracy requirements for low power ticker.Impact of changes
Migration actions required
Documentation
Pull request type
Test results
Reviewers
@jeromecoutant