Skip to content
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: Add test for S2RAM and PPR #18808

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

nordic-segl
Copy link
Contributor

Add non-functional check (current consumption) for sample application that:

  • runs on cpuapp, cpurad and cpuppr;
  • enters low power state.

Confirm that when PPR core is used:

  • SOC may enter low power states like IDLE or S2RAM.

@nordic-segl nordic-segl requested review from a team as code owners November 12, 2024 07:57
@github-actions github-actions bot added the changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. label Nov 12, 2024
@NordicBuilder
Copy link
Contributor

NordicBuilder commented Nov 12, 2024

CI Information

To view the history of this post, clich the 'edited' button above
Build number: 13

Inputs:

Sources:

sdk-nrf: PR head: cd755d772efc5ea468c71dfa3551c721402576f1

more details

sdk-nrf:

PR head: cd755d772efc5ea468c71dfa3551c721402576f1
merge base: db0b80c8d5ffa81b1fe528e650e6f62afc6c79ef
target head (main): e4fbd05a4d2fefb117c7677c0533ba6f66102229
Diff

Github labels

Enabled Name Description
ci-disabled Disable the ci execution
ci-all-test Run all of ci, no test spec filtering will be done
ci-force-downstream Force execution of downstream even if twister fails
ci-run-twister Force run twister
ci-run-zephyr-twister Force run zephyr twister
List of changed files detected by CI (15)
tests
│  ├── benchmarks
│  │  ├── multicore
│  │  │  ├── idle_ppr
│  │  │  │  ├── CMakeLists.txt
│  │  │  │  ├── Kconfig
│  │  │  │  ├── boards
│  │  │  │  │  │ nrf54h20dk_nrf54h20_cpuapp.overlay
│  │  │  │  ├── prj.conf
│  │  │  │  ├── prj_s2ram.conf
│  │  │  │  ├── remote
│  │  │  │  │  ├── CMakeLists.txt
│  │  │  │  │  ├── Kconfig
│  │  │  │  │  ├── boards
│  │  │  │  │  │  ├── nrf54h20dk_nrf54h20_cpuppr.overlay
│  │  │  │  │  │  │ nrf54h20dk_nrf54h20_cpurad.overlay
│  │  │  │  │  ├── prj.conf
│  │  │  │  │  │ prj_s2ram.conf
│  │  │  │  ├── src
│  │  │  │  │  ├── main.c
│  │  │  │  │  │ power_off.c
│  │  │  │  ├── sysbuild.cmake
│  │  │  │  │ testcase.yaml

Outputs:

Toolchain

Version: b81a7cd864
Build docker image: docker-dtr.nordicsemi.no/sw-production/ncs-build:b81a7cd864_912848a074

Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped; ⚠️ Quarantine

  • ◻️ Toolchain - Skipped: existing toolchain is used
  • ✅ Build twister
    • sdk-nrf test count: 84
  • ✅ Integration tests
Disabled integration tests
    • desktop52_verification
    • doc-internal
    • test_ble_nrf_config
    • test-fw-nrfconnect-ble_mesh
    • test-fw-nrfconnect-ble_samples
    • test-fw-nrfconnect-boot
    • test-fw-nrfconnect-chip
    • test-fw-nrfconnect-fem
    • test-fw-nrfconnect-nfc
    • test-fw-nrfconnect-nrf-iot_cloud
    • test-fw-nrfconnect-nrf-iot_libmodem-nrf
    • test-fw-nrfconnect-nrf-iot_lwm2m
    • test-fw-nrfconnect-nrf-iot_mosh
    • test-fw-nrfconnect-nrf-iot_nrf_provisioning
    • test-fw-nrfconnect-nrf-iot_positioning
    • test-fw-nrfconnect-nrf-iot_samples
    • test-fw-nrfconnect-nrf-iot_serial_lte_modem
    • test-fw-nrfconnect-nrf-iot_thingy91
    • test-fw-nrfconnect-nrf-iot_zephyr_lwm2m
    • test-fw-nrfconnect-nrf_crypto
    • test-fw-nrfconnect-ps
    • test-fw-nrfconnect-rpc
    • test-fw-nrfconnect-rs
    • test-fw-nrfconnect-tfm
    • test-fw-nrfconnect-thread
    • test-fw-nrfconnect-zigbee
    • test-low-level
    • test-sdk-audio
    • test-sdk-dfu
    • test-sdk-find-my
    • test-sdk-mcuboot
    • test-sdk-pmic-samples
    • test-sdk-sidewalk
    • test-sdk-wifi

Note: This message is automatically posted and updated by the CI

@NordicBuilder
Copy link
Contributor

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.

@nordic-segl
Copy link
Contributor Author

With APP and Radio (without PPR), I see:
-> IDLE active/sleep - 3 414 / 21 uA;
-> S2RAM active/sleep - 3 417 / 3 uA.

@nordic-segl nordic-segl force-pushed the NRFX-6625_S2RAM-and-PPR branch 2 times, most recently from 2207618 to 1f08b6c Compare November 12, 2024 09:01
@nordic-segl
Copy link
Contributor Author

With APP and Radio and PPR enabled in the overlay (but code not compiled for PPR):
#IDLE 3.601852 mA / 0.053534 mA
#S2RAM 3.533542 mA / 0.048784 mA

@nordic-segl nordic-segl force-pushed the NRFX-6625_S2RAM-and-PPR branch 3 times, most recently from 13aa86e to 8604599 Compare November 12, 2024 13:04
@nordic-segl nordic-segl marked this pull request as draft November 12, 2024 13:23
@nordic-segl nordic-segl force-pushed the NRFX-6625_S2RAM-and-PPR branch 3 times, most recently from 6ac2f37 to fcb9d44 Compare November 13, 2024 07:34
@nordic-segl nordic-segl marked this pull request as ready for review November 13, 2024 08:04
Add non-functional check (current consumption) for sample
application that:
- runs on cpuapp, cpurad and cpuppr;
- enters low power state.

Confirm that when PPR core is used:
- SOC may enter low power states like IDLE or S2RAM.

Signed-off-by: Sebastian Głąb <[email protected]>
@nordic-segl
Copy link
Contributor Author

APP, Radio and PPR executing the same scenario (plus PM handling on PPR):
#IDLE 3.625783 mA / 0.021173 mA
#S2RAM 3.570898 mA / 0.003246 mA

@nordic-segl nordic-segl added this to the 2.8.0 milestone Nov 13, 2024
@nordic-segl nordic-segl added the backport v2.8-branch auto-create a PR with same commits to v2.8-branch label Nov 13, 2024
@rlubos rlubos merged commit 7504e21 into nrfconnect:main Nov 13, 2024
15 checks passed
@nordic-segl nordic-segl deleted the NRFX-6625_S2RAM-and-PPR branch November 13, 2024 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport v2.8-branch auto-create a PR with same commits to v2.8-branch changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants