-
Notifications
You must be signed in to change notification settings - Fork 3k
Fix deep sleep implementation #6468
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
Fix deep sleep implementation #6468
Conversation
Why are we changing so many Flash files? |
This commit is updating the SDK flash drivers on certain platforms to use the API's available in the new drivers that are required for deep sleep entry and exit. |
/morph build |
Build : FAILUREBuild number : 1593 |
41009c0
to
1e40702
Compare
Updated LPC546XX to address build issue seen. |
#define LPC_CLOCK_INTERNAL_IRC BOARD_BootClockFRO12M | ||
#define LPC_CLOCK_RUN BOARD_BootClockFROHF48M | ||
#define LPC_CLOCK_INTERNAL_IRC BOARD_BootClockFRO12M() | ||
#define LPC_CLOCK_RUN ((SYSCON->DEVICE_ID0 == 0xFFF54628) ? \ |
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.
This feels very strange to do. What's the reason that a different clock sequence/function is required for a single part?
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.
This is to identify a LPC54628 part in the LPC546XX family. LPC54628 which is capable of running at higher speeds.
/morph build |
Build : SUCCESSBuild number : 1606 Triggering tests/morph test |
Exporter Build : FAILUREBuild number : 1239 |
Test : FAILUREBuild number : 1392 |
This failure is because of USB devices going offline. as the pipeline is deep, not re-triggering. |
/morph test |
Test : FAILUREBuild number : 1427 |
Exporter Build : SUCCESSBuild number : 1270 |
Add a check to return to 220MHz on LPC54628 Signed-off-by: Mahesh Mahadevan <[email protected]>
13e6d2a
to
9a1e749
Compare
I have rebased and updated this PR. |
Going to restart build since rebase caused status to be lost. Still on hold pending pr-head resolution. /morph build |
Build : SUCCESSBuild number : 1716 Triggering tests/morph test |
Exporter Build : SUCCESSBuild number : 1350 |
jenkins CI still failing. We are investigating other options, github has not yet fixed the issue 😢 |
Test : FAILUREBuild number : 1513 |
...huh. Unless I'm mistaken, it looks like this singular test finished too quickly.
|
/morph test |
Test : SUCCESSBuild number : 1530 |
Can you let me know the reason failure. |
@mmahadevan108 The morph test failure and cause for restart appears to be due to a test that is completing too fast. We're monitoring that particular test for right now. As for the pr-head failure, about a week ago, we discovered an issue with how that particular job pulls references from GitHub and GitHub confirmed that they were getting other complaints as well. Once this is solved, we'll rerun all pr-head jobs that are currently blocking ~10 PRs. |
PR ARMmbed#6468 updated flash driver, but not for KL27Z target (another CPU type). It is missing and leads to build failure. This fixes it.
@mmahadevan108 For future reference could we please have more details in the PR body. It should really contain the following:
Thanks :) |
Sure |
Fixes the Deep sleep implementation for the MCUXpresso SoC's. This is based on testing using the latest sleep manager that invokes deepsleep mode in the idle loop