1sample: 2 name: Low Power State Sample for nRF5x 3common: 4 tags: power 5tests: 6 sample.boards.nrf.system_off: 7 integration_platforms: 8 - nrf52840dk/nrf52840 9 platform_allow: 10 - nrf51dk/nrf51822 11 - nrf52840dk/nrf52840 12 - nrf52dk/nrf52832 13 - nrf5340dk/nrf5340/cpuapp 14 - nrf54l15dk/nrf54l05/cpuapp 15 - nrf54l15dk/nrf54l10/cpuapp 16 - nrf54l15dk/nrf54l15/cpuapp 17 - nrf54l20pdk/nrf54l20/cpuapp 18 harness: console 19 harness_config: 20 type: multi_line 21 ordered: true 22 regex: 23 - "system off demo" 24 - "Retained data not supported" 25 - "Entering system off; press sw0 to restart" 26 sample.boards.nrf.system_off.retained_mem: 27 integration_platforms: 28 - nrf52840dk/nrf52840 29 platform_allow: 30 - nrf52840dk/nrf52840 31 - nrf52dk/nrf52832 32 - nrf54l15dk/nrf54l05/cpuapp 33 - nrf54l15dk/nrf54l10/cpuapp 34 - nrf54l15dk/nrf54l15/cpuapp 35 - nrf54l20pdk/nrf54l20/cpuapp 36 extra_configs: 37 - CONFIG_APP_USE_RETAINED_MEM=y 38 harness: console 39 harness_config: 40 type: multi_line 41 ordered: true 42 regex: 43 - "system off demo" 44 - "Retained data: INVALID" 45 - "Boot count: 1" 46 - "Off count: 0" 47 - "Active Ticks:" 48 - "Entering system off; press sw0 to restart" 49 sample.boards.nrf.system_off.grtc_wakeup: 50 platform_allow: 51 - nrf54l15dk/nrf54l05/cpuapp 52 - nrf54l15dk/nrf54l10/cpuapp 53 - nrf54l15dk/nrf54l15/cpuapp 54 - nrf54l20pdk/nrf54l20/cpuapp 55 extra_configs: 56 - CONFIG_GRTC_WAKEUP_ENABLE=y 57 - CONFIG_GPIO_WAKEUP_ENABLE=n 58 harness: console 59 harness_config: 60 type: multi_line 61 ordered: true 62 regex: 63 - "system off demo" 64 - "Retained data not supported" 65 - "Entering system off; wait 2 seconds to restart" 66 - "system off demo" 67 - "Retained data not supported" 68 - "Entering system off; wait 2 seconds to restart" 69 - "system off demo" 70 - "Retained data not supported" 71 - "Entering system off; wait 2 seconds to restart" 72 sample.boards.nrf.system_off.retained_mem.grtc_wakeup: 73 platform_allow: 74 - nrf54l15dk/nrf54l05/cpuapp 75 - nrf54l15dk/nrf54l10/cpuapp 76 - nrf54l15dk/nrf54l15/cpuapp 77 - nrf54l20pdk/nrf54l20/cpuapp 78 extra_configs: 79 - CONFIG_APP_USE_RETAINED_MEM=y 80 - CONFIG_GRTC_WAKEUP_ENABLE=y 81 - CONFIG_GPIO_WAKEUP_ENABLE=n 82 harness: console 83 harness_config: 84 type: multi_line 85 ordered: true 86 regex: 87 - "system off demo" 88 - "Retained data: INVALID" 89 - "Boot count: 1" 90 - "Off count: 0" 91 - "Active Ticks:" 92 - "Entering system off; wait 2 seconds to restart" 93 - "system off demo" 94 - "Retained data: valid" 95 - "Boot count: 2" 96 - "Off count: 1" 97 - "Active Ticks:" 98 - "Entering system off; wait 2 seconds to restart" 99 sample.boards.nrf.system_off.lpcomp_wakeup: 100 extra_args: DTC_OVERLAY_FILE="boards/nrf54l15dk_nrf54l15_cpuapp_comparator.overlay" 101 platform_allow: 102 - nrf54l15dk/nrf54l15/cpuapp 103 extra_configs: 104 - CONFIG_LPCOMP_WAKEUP_ENABLE=y 105 - CONFIG_GPIO_WAKEUP_ENABLE=n 106 - CONFIG_COMPARATOR=y 107 harness: console 108 harness_config: 109 type: multi_line 110 ordered: true 111 regex: 112 - "system off demo" 113 - "Retained data not supported" 114 - "Entering system off; change signal level at comparator input to restart" 115 - "system off demo" 116 - "Retained data not supported" 117 - "Entering system off; change signal level at comparator input to restart" 118 - "system off demo" 119 - "Retained data not supported" 120 - "Entering system off; change signal level at comparator input to restart" 121 sample.boards.nrf.system_off.retained_mem.lpcomp_wakeup: 122 extra_args: 123 - "DTC_OVERLAY_FILE= 124 boards/nrf54l15dk_nrf54l15_cpuapp_comparator.overlay; 125 boards/nrf54l15dk_nrf54l15_cpuapp.overlay" 126 platform_allow: 127 - nrf54l15dk/nrf54l15/cpuapp 128 extra_configs: 129 - CONFIG_APP_USE_RETAINED_MEM=y 130 - CONFIG_GPIO_WAKEUP_ENABLE=n 131 - CONFIG_LPCOMP_WAKEUP_ENABLE=y 132 - CONFIG_RETAINED_MEM=y 133 - CONFIG_COMPARATOR=y 134 harness: console 135 harness_config: 136 type: multi_line 137 ordered: true 138 regex: 139 - "system off demo" 140 - "Retained data: INVALID" 141 - "Boot count: 1" 142 - "Off count: 0" 143 - "Active Ticks:" 144 - "Entering system off; change signal level at comparator input to restart" 145 - "system off demo" 146 - "Retained data: valid" 147 - "Boot count: 2" 148 - "Off count: 1" 149 - "Active Ticks:" 150 - "Entering system off; change signal level at comparator input to restart" 151