-
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: idle_spim_loopback: Add test for SPIM120 #18571
tests: benchmarks: multicore: idle_spim_loopback: Add test for SPIM120 #18571
Conversation
CI InformationTo view the history of this post, clich the 'edited' button above Inputs:Sources:sdk-nrf: PR head: 2d55d29627061ef8859fba426c0da65b0805dad7 more detailssdk-nrf:
Github labels
List of changed files detected by CI (11)
Outputs:ToolchainVersion: b44b7a08c9 Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped;
|
6c47386
to
95c9fd9
Compare
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 Publishing GitHub Action. |
c7fb24f
to
65b991c
Compare
|
||
static uint8_t spim_buffer[32] MEMORY_SECTION(DT_BUS(DT_NODELABEL(dut_spi_dt))); | ||
|
||
#define DATA_FIELD_LEN (4) |
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.
I see weird behaviour when I change data length to 8 bytes (or more) per single transmission.
Current measurements shows "inactivity" while SPI is extensively exchanging data.
For 16 bytes I sow SPI active for 20 ms every 200ms. Remaining 180ms was like IDLE.
@@ -0,0 +1,83 @@ | |||
common: | |||
sysbuild: true | |||
tags: ci_build ci_tests_benchmarks_multicore spim |
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.
Test that shall have PPK connected, override this field with tags: ppk_power_measure
. See line 24, 36, 61, 74.
All tests are passing here: When single transmission exchanges 4 bytes of data:
|
65b991c
to
5bac29a
Compare
Add test that combinest functional check (whether SPIM transmits data) with non-functional check (current consumption). Confirm that slow SPIM130 / fast SPIM120: - doesn't block entering low power states like IDLE or S2RAM; - work correclty after leaving low power state. Signed-off-by: Sebastian Głąb <[email protected]>
This commit shall be dropped when GD handling is implemented in sdk-zephyr. Signed-off-by: Sebastian Głąb <[email protected]>
5bac29a
to
2d55d29
Compare
Add test that combinest functional check (whether SPIM transmits data) with non-functional check (current consumption).
Confirm that slow SPIM130 / fast SPIM120: