<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>How does one run zephyr/tests/drivers/spi/spi_controller_peripheral on two nRF54LM20-DKs?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126732/how-does-one-run-zephyr-tests-drivers-spi-spi_controller_peripheral-on-two-nrf54lm20-dks</link><description>Hi, 
 As the subject states. 
 I would like to run the tests at zephyr/tests/drivers/spi/spi_controller_peripheral as intended in testcase.yml. I can verify that I have the correct pins setup, as seen in the SPI traces below. 
 I&amp;#39;ve tried using the following</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 09 Feb 2026 12:46:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126732/how-does-one-run-zephyr-tests-drivers-spi-spi_controller_peripheral-on-two-nrf54lm20-dks" /><item><title>RE: How does one run zephyr/tests/drivers/spi/spi_controller_peripheral on two nRF54LM20-DKs?</title><link>https://devzone.nordicsemi.com/thread/560653?ContentTypeID=1</link><pubDate>Mon, 09 Feb 2026 12:46:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab258dba-eef0-4204-85dd-e7835b01eecf</guid><dc:creator>tylerh</dc:creator><description>&lt;p&gt;Thank you very much! I appreciate the explanation. I&amp;#39;ll use Twister for these tests, but in any case, it&amp;#39;s working now with the changes made in the device tree in all cases.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s really cool to have a good example that I can use for doing this type of device testing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How does one run zephyr/tests/drivers/spi/spi_controller_peripheral on two nRF54LM20-DKs?</title><link>https://devzone.nordicsemi.com/thread/560649?ContentTypeID=1</link><pubDate>Mon, 09 Feb 2026 12:31:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3760dd05-c697-4194-9d6a-75fefdf46293</guid><dc:creator>segl-nordic</dc:creator><description>&lt;p&gt;Unfortunately, I have no idea why&lt;/p&gt;
&lt;p&gt;$&amp;gt; west build -p -b nrf54lm20dk/nrf54lm20a/cpuapp . -T drivers.spi.spi_8MHz&lt;/p&gt;
&lt;p&gt;fails while Twister passes on that test.&lt;br /&gt;I&amp;#39;m unable to reproduce the issue locally. For me both Twister and west build/flash work.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;When You run Twister, it compiles and executes all test configurations found in testcase.yaml (that match target with platform_allow list, filters, etc.). In case of&amp;nbsp;zephyr/tests/drivers/spi/spi_controller_peripheral on nrf54lm20dk that&amp;#39;s 11 test configurations:&lt;br /&gt;drivers.spi.spi_mode0&lt;br /&gt;drivers.spi.spi_mode1&lt;br /&gt;drivers.spi.spi_mode2&lt;br /&gt;drivers.spi.spi_mode3&lt;br /&gt;...&lt;/p&gt;
&lt;p&gt;You can see this after enabling Twister debug logs&lt;br /&gt;$&amp;gt; python3 ./zephyr/scripts/twister -T zephyr/tests/drivers/spi/spi_controller_peripheral/ --platform nrf54lm20dk/nrf54lm20a/cpuapp --ninja --device-testing --jobs 1 --hardware-map /home/segl/workspace/ncs/my_setup.map &lt;strong&gt;--log-level debug&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;You can limit Twister test scope with (see output from&amp;nbsp;python3 ./zephyr/scripts/twister --help):&lt;br /&gt;-T TESTSUITE_ROOT, --testsuite-root TESTSUITE_ROOT&lt;br /&gt; Base directory to recursively search for test cases. All testcase.yaml files under here will be processed. May be called multiple&lt;br /&gt; times. Defaults to the &amp;#39;samples/&amp;#39; and &amp;#39;tests/&amp;#39; directories at the base of the Zephyr tree.&lt;br /&gt;&lt;br /&gt; -s TEST, --test TEST, --scenario TEST&lt;br /&gt; Run only the specified test suite scenario. These are named by &amp;#39;path/relative/to/Zephyr/base/section.subsection_in_testcase_yaml&amp;#39;, or&lt;br /&gt; just &amp;#39;section.subsection&amp;#39; identifier. With &amp;#39;--testsuite-root&amp;#39; option the scenario will be found faster.&lt;br /&gt;&lt;br /&gt;So, to limit Twister execution to&amp;nbsp;drivers.spi.spi_8MHz try&lt;br /&gt;$&amp;gt; python3 ./zephyr/scripts/twister -T zephyr/tests/drivers/spi/spi_controller_peripheral/ --platform nrf54lm20dk/nrf54lm20a/cpuapp --ninja --device-testing --jobs 1 --hardware-map /home/segl/workspace/ncs/my_setup.map &lt;strong&gt;-s drivers.spi.spi_8MHz&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How does one run zephyr/tests/drivers/spi/spi_controller_peripheral on two nRF54LM20-DKs?</title><link>https://devzone.nordicsemi.com/thread/560645?ContentTypeID=1</link><pubDate>Mon, 09 Feb 2026 11:43:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa96f81a-7413-4309-a603-e34d1eb85966</guid><dc:creator>tylerh</dc:creator><description>&lt;p&gt;Hi segl-nordic,&lt;/p&gt;
&lt;p&gt;Using the command above that you supplied me, I can indeed confirm that it works&amp;nbsp;&lt;strong&gt;with or without&amp;nbsp;&lt;span&gt;zephyr,pm-device-runtime-auto;&lt;/span&gt;&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Sk_E600_rmbillede-2026_2D00_02_2D00_09-123931.png" /&gt;&lt;/p&gt;
&lt;p&gt;This was the result when I ran with and without the device tree changes. (Note: I removed my changes to the prj.conf file so that Twister can communicate with the serial port).&lt;/p&gt;
&lt;p&gt;However, when I simply flash one of the tests, then&amp;nbsp;&lt;strong&gt;it does not work without zephyr,pm-device-runtime-auto&lt;/strong&gt; added.&lt;/p&gt;
&lt;p&gt;Using the Logic Analyzer, I can see that there&amp;#39;s far less traffic on the SPI lines than if I run it manually as before, using:&lt;/p&gt;
&lt;p&gt;$&amp;gt;&amp;nbsp;west build -p -b nrf54lm20dk/nrf54lm20a/cpuapp . -T drivers.spi.spi_8MHz&lt;/p&gt;
&lt;p&gt;$&amp;gt; west flash&lt;/p&gt;
&lt;p&gt;I haven&amp;#39;t dived into the details, but I&amp;#39;m wondering if it&amp;#39;s only running a subset of tests, rather than a full list of tests, when using Twister.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Does this make sense? What could the explanation for this be?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How does one run zephyr/tests/drivers/spi/spi_controller_peripheral on two nRF54LM20-DKs?</title><link>https://devzone.nordicsemi.com/thread/560619?ContentTypeID=1</link><pubDate>Mon, 09 Feb 2026 09:54:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4a77890-488c-45b3-a247-2f615e0c3b12</guid><dc:creator>tylerh</dc:creator><description>&lt;p&gt;Hi segl-nordic,&lt;/p&gt;
&lt;p&gt;Very cool, thank you very much. That looks extremely promising; I&amp;#39;ll give this a shot and see how it goes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How does one run zephyr/tests/drivers/spi/spi_controller_peripheral on two nRF54LM20-DKs?</title><link>https://devzone.nordicsemi.com/thread/560617?ContentTypeID=1</link><pubDate>Mon, 09 Feb 2026 09:40:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:735878e2-97c5-4d10-8f4f-77f6440c47b2</guid><dc:creator>segl-nordic</dc:creator><description>&lt;p&gt;Test requires fixture `gpio_spi_loopback`&lt;br /&gt;See&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/main/tests/drivers/spi/spi_controller_peripheral/testcase.yaml#L8"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/main/tests/drivers/spi/spi_controller_peripheral/testcase.yaml#L8&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Twister call should be f.e.:&lt;br /&gt;python3 ./zephyr/scripts/twister -T zephyr/tests/drivers/spi/spi_controller_peripheral/ --platform nrf54lm20dk/nrf54lm20a/cpuapp --ninja --device-testing --jobs 1 --device-serial /dev/serial/by-id/usb-SEGGER_J-Link_001051895427-if02 &lt;strong&gt;--fixture gpio_spi_loopback&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;OR&lt;br /&gt;python3 ./zephyr/scripts/twister -T zephyr/tests/drivers/spi/spi_controller_peripheral/ --platform nrf54lm20dk/nrf54lm20a/cpuapp --ninja --device-testing --jobs 1 --hardware-map /home/segl/workspace/ncs/my_setup.map &lt;strong&gt;--fixture gpio_spi_loopback&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;OR&lt;br /&gt;python3 ./zephyr/scripts/twister -T zephyr/tests/drivers/spi/spi_controller_peripheral/ --platform nrf54lm20dk/nrf54lm20a/cpuapp --ninja --device-testing --jobs 1 --hardware-map /home/segl/workspace/ncs/my_setup.map&lt;br /&gt;While HW map has list of fixtures available on the DK:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;- connected: true
  id: &amp;#39;001051895427&amp;#39;
  platform: nrf54lm20dk/nrf54lm20a/cpuapp
  product: J-Link
  runner: nrfutil
  serial: /dev/serial/by-id/usb-SEGGER_J-Link_001051895427-if02
  fixtures: [&amp;#39;gpio_spi_loopback&amp;#39;]&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How does one run zephyr/tests/drivers/spi/spi_controller_peripheral on two nRF54LM20-DKs?</title><link>https://devzone.nordicsemi.com/thread/560597?ContentTypeID=1</link><pubDate>Sun, 08 Feb 2026 16:17:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c105d337-e3d4-49e6-b99c-0617f0063663</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Informed internally. Hopefully some maintainers from Nordic will look at that and approve soon.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How does one run zephyr/tests/drivers/spi/spi_controller_peripheral on two nRF54LM20-DKs?</title><link>https://devzone.nordicsemi.com/thread/560533?ContentTypeID=1</link><pubDate>Fri, 06 Feb 2026 12:17:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd11ee18-134f-4691-84a8-79df62a4027d</guid><dc:creator>tylerh</dc:creator><description>&lt;p&gt;Hi Susheel,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve added this fix to the Zephyr project, as this spi driver test sits in the upstream Zephyr project:&amp;nbsp;&lt;a id="" href="https://github.com/zephyrproject-rtos/zephyr/pull/103524"&gt;https://github.com/zephyrproject-rtos/zephyr/pull/103524&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If there&amp;#39;s anyone from Nordic that can approve it, then it will be fixed in the upcoming nRF Connect SDK.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Tyler&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How does one run zephyr/tests/drivers/spi/spi_controller_peripheral on two nRF54LM20-DKs?</title><link>https://devzone.nordicsemi.com/thread/560296?ContentTypeID=1</link><pubDate>Wed, 04 Feb 2026 07:58:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee52fd7f-9330-416c-bdfd-fe57a9f918aa</guid><dc:creator>tylerh</dc:creator><description>&lt;p&gt;Thanks a lot Susheel, that seems to have worked!&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;00&amp;gt; *** Booting nRF Connect SDK v3.2.1-d8887f6f32df ***
00&amp;gt; *** Using Zephyr OS v4.2.99-f3f1c3dacc9c ***
00&amp;gt; Running TESTSUITE spi_controller_peripheral
00&amp;gt; ===================================================================
00&amp;gt; START - test_basic
00&amp;gt;  PASS - test_basic in 0.011 seconds
00&amp;gt; ===================================================================
00&amp;gt; START - test_basic_async
00&amp;gt;  PASS - test_basic_async in 0.011 seconds
00&amp;gt; ===================================================================
00&amp;gt; START - test_basic_zero_len
00&amp;gt;  PASS - test_basic_zero_len in 0.011 seconds
00&amp;gt; ===================================================================
00&amp;gt; START - test_basic_zero_len_async
00&amp;gt;  PASS - test_basic_zero_len_async in 0.011 seconds
00&amp;gt; ===================================================================
00&amp;gt; START - test_only_rx
00&amp;gt;  PASS - test_only_rx in 0.011 seconds
00&amp;gt; ===================================================================
00&amp;gt; START - test_only_rx_async
00&amp;gt;  PASS - test_only_rx_async in 0.011 seconds
00&amp;gt; ===================================================================
00&amp;gt; START - test_only_rx_in_chunks
00&amp;gt; [00:00:05.067,707] &amp;lt;err&amp;gt; spi_nrfx_spis: Scattered buffers are not supported
00&amp;gt;  SKIP - test_only_rx_in_chunks in 0.001 seconds
00&amp;gt; ===================================================================
00&amp;gt; START - test_only_rx_in_chunks_async
00&amp;gt; [00:00:06.068,529] &amp;lt;err&amp;gt; spi_nrfx_spis: Scattered buffers are not supported
00&amp;gt;  SKIP - test_only_rx_in_chunks_async in 0.001 seconds
00&amp;gt; ===================================================================
00&amp;gt; START - test_only_tx
00&amp;gt;  PASS - test_only_tx in 0.011 seconds
00&amp;gt; ===================================================================
00&amp;gt; START - test_only_tx_async
00&amp;gt;  PASS - test_only_tx_async in 0.011 seconds
00&amp;gt; ===================================================================
00&amp;gt; START - test_only_tx_in_chunks
00&amp;gt; [00:00:09.091,344] &amp;lt;err&amp;gt; spi_nrfx_spis: Scattered buffers are not supported
00&amp;gt;  SKIP - test_only_tx_in_chunks in 0.001 seconds
00&amp;gt; ===================================================================
00&amp;gt; START - test_only_tx_in_chunks_async
00&amp;gt; [00:00:10.092,165] &amp;lt;err&amp;gt; spi_nrfx_spis: Scattered buffers are not supported
00&amp;gt;  SKIP - test_only_tx_in_chunks_async in 0.001 seconds
00&amp;gt; ===================================================================
00&amp;gt; START - test_short_rx
00&amp;gt;  PASS - test_short_rx in 0.011 seconds
00&amp;gt; ===================================================================
00&amp;gt; START - test_short_rx_async
00&amp;gt;  PASS - test_short_rx_async in 0.011 seconds
00&amp;gt; ===================================================================
00&amp;gt; TESTSUITE spi_controller_peripheral succeeded
00&amp;gt; 
00&amp;gt; ------ TESTSUITE SUMMARY START ------
00&amp;gt; 
00&amp;gt; SUITE PASS - 100.00% [spi_controller_peripheral]: pass = 10, fail = 0, skip = 4, total = 14 duration = 0.114 seconds
00&amp;gt;  - PASS - [spi_controller_peripheral.test_basic] duration = 0.011 seconds
00&amp;gt;  - PASS - [spi_controller_peripheral.test_basic_async] duration = 0.011 seconds
00&amp;gt;  - PASS - [spi_controller_peripheral.test_basic_zero_len] duration = 0.011 seconds
00&amp;gt;  - PASS - [spi_controller_peripheral.test_basic_zero_len_async] duration = 0.011 seconds
00&amp;gt;  - PASS - [spi_controller_peripheral.test_only_rx] duration = 0.011 seconds
00&amp;gt;  - PASS - [spi_controller_peripheral.test_only_rx_async] duration = 0.011 seconds
00&amp;gt;  - SKIP - [spi_controller_peripheral.test_only_rx_in_chunks] duration = 0.001 seconds
00&amp;gt;  - SKIP - [spi_controller_peripheral.test_only_rx_in_chunks_async] duration = 0.001 seconds
00&amp;gt;  - PASS - [spi_controller_peripheral.test_only_tx] duration = 0.011 seconds
00&amp;gt;  - PASS - [spi_controller_peripheral.test_only_tx_async] duration = 0.011 seconds
00&amp;gt;  - SKIP - [spi_controller_peripheral.test_only_tx_in_chunks] duration = 0.001 seconds
00&amp;gt;  - SKIP - [spi_controller_peripheral.test_only_tx_in_chunks_async] duration = 0.001 seconds
00&amp;gt;  - PASS - [spi_controller_peripheral.test_short_rx] duration = 0.011 seconds
00&amp;gt;  - PASS - [spi_controller_peripheral.test_short_rx_async] duration = 0.011 seconds
00&amp;gt; 
00&amp;gt; ------ TESTSUITE SUMMARY END ------
00&amp;gt; 
00&amp;gt; ===================================================================
00&amp;gt; PROJECT EXECUTION SUCCESSFUL&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How does one run zephyr/tests/drivers/spi/spi_controller_peripheral on two nRF54LM20-DKs?</title><link>https://devzone.nordicsemi.com/thread/560201?ContentTypeID=1</link><pubDate>Tue, 03 Feb 2026 09:40:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cada02bc-1756-421e-9083-b69b79441bc0</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;I do not think anything is wrong with the chip but i think it is related to&amp;nbsp;&lt;span&gt;zephyr,pm-device-runtime-auto settings for the nRF54LM20.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:162px;max-width:682px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1364x324/__key/communityserver-discussions-components-files/4/3124.pastedimage1770111580201v4.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The right side is for nRF54L15DK default overlay file&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;try adding this in your project overlay file and see if that helps?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;dut_spis: &amp;amp;spi21 {&lt;br /&gt; ...&lt;br /&gt; zephyr,pm-device-runtime-auto;&lt;br /&gt;};&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How does one run zephyr/tests/drivers/spi/spi_controller_peripheral on two nRF54LM20-DKs?</title><link>https://devzone.nordicsemi.com/thread/560115?ContentTypeID=1</link><pubDate>Mon, 02 Feb 2026 12:02:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ad74f13-658d-4d05-92a6-37846be1438b</guid><dc:creator>tylerh</dc:creator><description>&lt;p&gt;I did a few tests. It appears that this could be a problem with the nRF54LM20, the implementation of this test on that board, or both.&lt;/p&gt;
&lt;p&gt;Running this command works successfully using an nRF54L15-DK, see the output here:&lt;/p&gt;
&lt;p&gt;$&amp;gt;&amp;nbsp;west build -p -b nrf54lm20dk/nrf54lm20a/cpuapp . -T drivers.spi.spi_mode0&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;00&amp;gt; *** Booting nRF Connect SDK v3.2.1-d8887f6f32df ***
00&amp;gt; *** Using Zephyr OS v4.2.99-f3f1c3dacc9c ***
00&amp;gt; Running TESTSUITE spi_controller_peripheral
00&amp;gt; ===================================================================
00&amp;gt; START - test_basic
00&amp;gt;  PASS - test_basic in 0.011 seconds
00&amp;gt; ===================================================================
00&amp;gt; START - test_basic_async
00&amp;gt;  PASS - test_basic_async in 0.011 seconds
00&amp;gt; ===================================================================
00&amp;gt; START - test_basic_zero_len
00&amp;gt;  PASS - test_basic_zero_len in 0.011 seconds
00&amp;gt; ===================================================================
00&amp;gt; START - test_basic_zero_len_async
00&amp;gt;  PASS - test_basic_zero_len_async in 0.011 seconds
00&amp;gt; ===================================================================
00&amp;gt; START - test_only_rx
00&amp;gt;  PASS - test_only_rx in 0.011 seconds
00&amp;gt; ===================================================================
00&amp;gt; START - test_only_rx_async
00&amp;gt;  PASS - test_only_rx_async in 0.011 seconds
00&amp;gt; ===================================================================
00&amp;gt; START - test_only_rx_in_chunks
00&amp;gt; [00:00:05.066,559] &amp;lt;err&amp;gt; spi_nrfx_spis: Scattered buffers are not supported
00&amp;gt;  SKIP - test_only_rx_in_chunks in 0.001 seconds
00&amp;gt; ===================================================================
00&amp;gt; START - test_only_rx_in_chunks_async
00&amp;gt; [00:00:06.067,370] &amp;lt;err&amp;gt; spi_nrfx_spis: Scattered buffers are not supported
00&amp;gt;  SKIP - test_only_rx_in_chunks_async in 0.001 seconds
00&amp;gt; ===================================================================
00&amp;gt; START - test_only_tx
00&amp;gt;  PASS - test_only_tx in 0.011 seconds
00&amp;gt; ===================================================================
00&amp;gt; START - test_only_tx_async
00&amp;gt;  PASS - test_only_tx_async in 0.011 seconds
00&amp;gt; ===================================================================
00&amp;gt; START - test_only_tx_in_chunks
00&amp;gt; [00:00:09.090,196] &amp;lt;err&amp;gt; spi_nrfx_spis: Scattered buffers are not supported
00&amp;gt;  SKIP - test_only_tx_in_chunks in 0.001 seconds
00&amp;gt; ===================================================================
00&amp;gt; START - test_only_tx_in_chunks_async
00&amp;gt; [00:00:10.091,007] &amp;lt;err&amp;gt; spi_nrfx_spis: Scattered buffers are not supported
00&amp;gt;  SKIP - test_only_tx_in_chunks_async in 0.001 seconds
00&amp;gt; ===================================================================
00&amp;gt; START - test_short_rx
00&amp;gt;  PASS - test_short_rx in 0.011 seconds
00&amp;gt; ===================================================================
00&amp;gt; START - test_short_rx_async
00&amp;gt;  PASS - test_short_rx_async in 0.011 seconds
00&amp;gt; ===================================================================
00&amp;gt; TESTSUITE spi_controller_peripheral succeeded
00&amp;gt; 
00&amp;gt; ------ TESTSUITE SUMMARY START ------
00&amp;gt; 
00&amp;gt; SUITE PASS - 100.00% [spi_controller_peripheral]: pass = 10, fail = 0, skip = 4, total = 14 duration = 0.114 seconds
00&amp;gt;  - PASS - [spi_controller_peripheral.test_basic] duration = 0.011 seconds
00&amp;gt;  - PASS - [spi_controller_peripheral.test_basic_async] duration = 0.011 seconds
00&amp;gt;  - PASS - [spi_controller_peripheral.test_basic_zero_len] duration = 0.011 seconds
00&amp;gt;  - PASS - [spi_controller_peripheral.test_basic_zero_len_async] duration = 0.011 seconds
00&amp;gt;  - PASS - [spi_controller_peripheral.test_only_rx] duration = 0.011 seconds
00&amp;gt;  - PASS - [spi_controller_peripheral.test_only_rx_async] duration = 0.011 seconds
00&amp;gt;  - SKIP - [spi_controller_peripheral.test_only_rx_in_chunks] duration = 0.001 seconds
00&amp;gt;  - SKIP - [spi_controller_peripheral.test_only_rx_in_chunks_async] duration = 0.001 seconds
00&amp;gt;  - PASS - [spi_controller_peripheral.test_only_tx] duration = 0.011 seconds
00&amp;gt;  - PASS - [spi_controller_peripheral.test_only_tx_async] duration = 0.011 seconds
00&amp;gt;  - SKIP - [spi_controller_peripheral.test_only_tx_in_chunks] duration = 0.001 seconds
00&amp;gt;  - SKIP - [spi_controller_peripheral.test_only_tx_in_chunks_async] duration = 0.001 seconds
00&amp;gt;  - PASS - [spi_controller_peripheral.test_short_rx] duration = 0.011 seconds
00&amp;gt;  - PASS - [spi_controller_peripheral.test_short_rx_async] duration = 0.011 seconds
00&amp;gt; 
00&amp;gt; ------ TESTSUITE SUMMARY END ------
00&amp;gt; 
00&amp;gt; ===================================================================
00&amp;gt; PROJECT EXECUTION SUCCESSFUL&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How does one run zephyr/tests/drivers/spi/spi_controller_peripheral on two nRF54LM20-DKs?</title><link>https://devzone.nordicsemi.com/thread/559859?ContentTypeID=1</link><pubDate>Thu, 29 Jan 2026 08:33:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f8a4519-2384-4cda-bc73-1def334e288d</guid><dc:creator>tylerh</dc:creator><description>&lt;p&gt;Hi Susheel,&lt;/p&gt;
&lt;p&gt;It looks like you&amp;#39;re right. This is intended to run as loop-back mode. I&amp;#39;m able to get further by running it on the same board, as opposed to two different boards.&lt;/p&gt;
&lt;p&gt;It looks like all of the tests are failing, however. Here&amp;#39;s a snippet that I got from J-Link RTT Viewer after building this firmware:&lt;/p&gt;
&lt;p&gt;$&amp;gt;&amp;nbsp;west build -p -b nrf54lm20dk/nrf54lm20a/cpuapp . -T drivers.spi.spi_mode0&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;00&amp;gt; *** Booting nRF Connect SDK v3.2.1-d8887f6f32df ***
00&amp;gt; *** Using Zephyr OS v4.2.99-f3f1c3dacc9c ***
00&amp;gt; Running TESTSUITE spi_controller_peripheral
00&amp;gt; ===================================================================
00&amp;gt; START - test_basic
00&amp;gt; 
00&amp;gt;     Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/spi/spi_controller_peripheral/src/main.c:247: run_test: (periph_rv not equal to srx_len)
00&amp;gt; Got: 0 but expected:16
00&amp;gt;  FAIL - test_basic in 0.011 seconds
00&amp;gt; ===================================================================
00&amp;gt; START - test_basic_async
00&amp;gt; 
00&amp;gt;     Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/spi/spi_controller_peripheral/src/main.c:247: run_test: (periph_rv not equal to srx_len)
00&amp;gt; Got: 0 but expected:16
00&amp;gt;  FAIL - test_basic_async in 0.011 seconds
00&amp;gt; ===================================================================
00&amp;gt; START - test_basic_zero_len
00&amp;gt; 
00&amp;gt;     Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/spi/spi_controller_peripheral/src/main.c:247: run_test: (periph_rv not equal to srx_len)
00&amp;gt; Got: 0 but expected:8
00&amp;gt;     Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/spi/spi_controller_peripheral/src/main.c:247: run_test: (periph_rv not equal to srx_len)
00&amp;gt; Got: 0 but expected:8
00&amp;gt;  FAIL - test_basic_zero_len_async in 0.011 seconds
00&amp;gt; ===================================================================
00&amp;gt; START - test_only_rx
00&amp;gt; 
00&amp;gt;     Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/spi/spi_controller_peripheral/src/main.c:253: run_test: rv not equal to 0
00&amp;gt; 
00&amp;gt;  FAIL - test_only_rx in 0.011 seconds
00&amp;gt; ===================================================================
00&amp;gt; START - test_only_rx_async
00&amp;gt; 
00&amp;gt;     Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/spi/spi_controller_peripheral/src/main.c:253: run_test: rv not equal to 0
00&amp;gt; 
00&amp;gt;  FAIL - test_only_rx_async in 0.011 seconds
00&amp;gt; ===================================================================
00&amp;gt; START - test_only_rx_in_chunks
00&amp;gt; [00:00:06.070,176] &amp;lt;err&amp;gt; spi_nrfx_spis: Scattered buffers are not supported
00&amp;gt;  SKIP - test_only_rx_in_chunks in 0.001 seconds
00&amp;gt; ===================================================================
00&amp;gt; START - test_only_rx_in_chunks_async
00&amp;gt; [00:00:07.070,997] &amp;lt;err&amp;gt; spi_nrfx_spis: Scattered buffers are not supported
00&amp;gt;  SKIP - test_only_rx_in_chunks_async in 0.001 seconds
00&amp;gt; ===================================================================
00&amp;gt; START - test_only_tx
00&amp;gt; 
00&amp;gt;     Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/spi/spi_controller_peripheral/src/main.c:247: run_test: (periph_rv not equal to srx_len)
00&amp;gt; Got: 0 but expected:16
00&amp;gt;  FAIL - test_only_tx in 0.011 seconds
00&amp;gt; ===================================================================
00&amp;gt; START - test_only_tx_async
00&amp;gt; 
00&amp;gt;     Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/spi/spi_controller_peripheral/src/main.c:247: run_test: (periph_rv not equal to srx_len)
00&amp;gt; Got: 0 but expected:16
00&amp;gt;  FAIL - test_only_tx_async in 0.011 seconds
00&amp;gt; ===================================================================
00&amp;gt; START - test_only_tx_in_chunks
00&amp;gt; [00:00:10.094,888] &amp;lt;err&amp;gt; spi_nrfx_spis: Scattered buffers are not supported
00&amp;gt;  SKIP - test_only_tx_in_chunks in 0.001 seconds
00&amp;gt; ===================================================================
00&amp;gt; START - test_only_tx_in_chunks_async
00&amp;gt; [00:00:11.095,709] &amp;lt;err&amp;gt; spi_nrfx_spis: Scattered buffers are not supported
00&amp;gt;  SKIP - test_only_tx_in_chunks_async in 0.001 seconds
00&amp;gt; ===================================================================
00&amp;gt; START - test_short_rx
00&amp;gt; 
00&amp;gt;     Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/spi/spi_controller_peripheral/src/main.c:247: run_test: (periph_rv not equal to srx_len)
00&amp;gt; Got: 0 but expected:12
00&amp;gt;  FAIL - test_short_rx in 0.011 seconds
00&amp;gt; ===================================================================
00&amp;gt; START - test_short_rx_async
00&amp;gt; 
00&amp;gt;     Assertion failed at WEST_TOPDIR/zephyr/tests/drivers/spi/spi_controller_peripheral/src/main.c:247: run_test: (periph_rv not equal to srx_len)
00&amp;gt; Got: 0 but expected:12
00&amp;gt;  FAIL - test_short_rx_async in 0.011 seconds
00&amp;gt; ===================================================================
00&amp;gt; TESTSUITE spi_controller_peripheral failed.
00&amp;gt; 
00&amp;gt; ------ TESTSUITE SUMMARY START ------
00&amp;gt; 
00&amp;gt; SUITE FAIL -   0.00% [spi_controller_peripheral]: pass = 0, fail = 10, skip = 4, total = 14 duration = 0.114 seconds
00&amp;gt;  - FAIL - [spi_controller_peripheral.test_basic] duration = 0.011 seconds
00&amp;gt;  - FAIL - [spi_controller_peripheral.test_basic_async] duration = 0.011 seconds
00&amp;gt;  - FAIL - [spi_controller_peripheral.test_basic_zero_len] duration = 0.011 seconds
00&amp;gt;  - FAIL - [spi_controller_peripheral.test_basic_zero_len_async] duration = 0.011 seconds
00&amp;gt;  - FAIL - [spi_controller_peripheral.test_only_rx] duration = 0.011 seconds
00&amp;gt;  - FAIL - [spi_controller_peripheral.test_only_rx_async] duration = 0.011 seconds
00&amp;gt;  - SKIP - [spi_controller_peripheral.test_only_rx_in_chunks] duration = 0.001 seconds
00&amp;gt;  - SKIP - [spi_controller_peripheral.test_only_rx_in_chunks_async] duration = 0.001 seconds
00&amp;gt;  - FAIL - [spi_controller_peripheral.test_only_tx] duration = 0.011 seconds
00&amp;gt;  - FAIL - [spi_controller_peripheral.test_only_tx_async] duration = 0.011 seconds
00&amp;gt;  - SKIP - [spi_controller_peripheral.test_only_tx_in_chunks] duration = 0.001 seconds
00&amp;gt;  - SKIP - [spi_controller_peripheral.test_only_tx_in_chunks_async] duration = 0.001 seconds
00&amp;gt;  - FAIL - [spi_controller_peripheral.test_short_rx] duration = 0.011 seconds
00&amp;gt;  - FAIL - [spi_controller_peripheral.test_short_rx_async] duration = 0.011 seconds
00&amp;gt; 
00&amp;gt; ------ TESTSUITE SUMMARY END ------
00&amp;gt; 
00&amp;gt; ===================================================================
00&amp;gt; PROJECT EXECUTION FAILED&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m building with these additions to prj.conf to see the log output.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_SPI=y
CONFIG_SPI_SLAVE=y
CONFIG_GPIO=y
CONFIG_POLL=y
CONFIG_SPI_ASYNC=y
CONFIG_ZTEST=y

CONFIG_LOG=y
CONFIG_LOG_MODE_DEFERRED=y
CONFIG_LOG_BACKEND_RTT=y

CONFIG_USE_SEGGER_RTT=y

CONFIG_RTT_CONSOLE=y
CONFIG_CONSOLE=y
CONFIG_PRINTK=y

CONFIG_UART_CONSOLE=n
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Do you know why this might be the case?&lt;/p&gt;
&lt;p&gt;Additionally, to my question above, do you know if there&amp;#39;s someone that might be able to describe how this could be done using Twister on this hardware, in an automated test environment?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Tyler&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How does one run zephyr/tests/drivers/spi/spi_controller_peripheral on two nRF54LM20-DKs?</title><link>https://devzone.nordicsemi.com/thread/559824?ContentTypeID=1</link><pubDate>Wed, 28 Jan 2026 18:25:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c613c1fc-18cf-461d-950d-d6c7a71f6114</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;I do not think this test is meant to run on two different boards. They seems to be designed to run on the same core with SPIM and SPIS from the same device. The design expects a loopback. What you got when you run &lt;strong&gt;west build -b nrf54lm20dk/nrf54lm20a/cpuapp . -T drivers.spi.spi_8MHz&lt;/strong&gt; might just be lucky as that particular test might just be pushing our data from the master. That said, I am no expert in this setup, so we need to see if there is someone else with better knowledge in twister and ztests can comment here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>