-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
tests: benchmarks: multicore: Test PM in SPI driver with locks #19037
tests: benchmarks: multicore: Test PM in SPI driver with locks #19037
Conversation
CI InformationTo view the history of this post, clich the 'edited' button above Inputs:Sources:sdk-nrf: PR head: 3d9a1688a0ff689580ef2260ee2187c541b31888 more detailssdk-nrf:
Github labels
List of changed files detected by CI (10)
Outputs:ToolchainVersion: b77d8c1312 Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped;
|
You can find the documentation preview for this PR at this link. It will be updated about 10 minutes after the documentation build succeeds. Note: This comment is automatically posted by the Documentation Publish GitHub Action. |
3a8af08
to
1e20ad1
Compare
@@ -80,9 +140,26 @@ int main(void) | |||
test_pass = true; | |||
timer_expired = false; | |||
|
|||
/* clear edge counters */ |
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.
/* clear edge counters */ | |
/* Clear edge counters */ |
Capitalise first letters of comments
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.
Fixed. However, I left three comments starting from small letter:
while (!timer_expired) {
(...)
} /* while (!timer_expired) */
#if defined(CONFIG_TEST_SPI_RELEASE_BEFORE_SLEEP)
(...)
#else /* defined(CONFIG_TEST_SPI_RELEASE_BEFORE_SLEEP) */
(...)
#endif /* defined(CONFIG_TEST_SPI_RELEASE_BEFORE_SLEEP) */
4a7bc2e
to
2709a0e
Compare
29cce95
to
c6d3d04
Compare
Extend test that checks: - current consumption in IDLE, S2RAM when SPIM was used; - SPIM works correctly after leaving low power state. Add test suites where SPI is configured with SPI_HOLD_ON_CS and/or SPI_LOCK_ON. Confirm that SPI CS line activation/deactivation is according to: - SPI_HOLD_ON_CS configuration; - spi_release_dt() calls; - not affected by the Device Runtime Power Management. Signed-off-by: Sebastian Głąb <[email protected]>
c6d3d04
to
3d9a168
Compare
Extend test that checks:
Add tests suites where SPI is configured with
SPI_HOLD_ON_CS and/or SPI_LOCK_ON.