<?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>SPIS in nRF Connect SDK V2.2.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/96697/spis-in-nrf-connect-sdk-v2-2-0</link><description>Hi 
 I am using nRF5340 DK and nRF Connect SDK V2.2.0. 
 I have developed a BLE application code by using this custom_ncs_ble_service_sample tutorial. Its working fine. 
 I want to add a SPIS (SPI Slave mode) in to this code. 
 Is there any example code</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 17 Feb 2023 12:48:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/96697/spis-in-nrf-connect-sdk-v2-2-0" /><item><title>RE: SPIS in nRF Connect SDK V2.2.0</title><link>https://devzone.nordicsemi.com/thread/410641?ContentTypeID=1</link><pubDate>Fri, 17 Feb 2023 12:48:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7fc5835b-8989-4ffb-833c-9f800d013f0d</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;well, you may need to do some modifications, which can be done in your overlay file, or you can copy the board files, rename them, and adjust&amp;nbsp;them&amp;nbsp;to your custom board. E.g. if your board doesn&amp;#39;t have LEDs or buttons, or if they are on different GPIOs, this is where you would typically change that. Or if your custom board doesn&amp;#39;t have an external QSPI flash chip, that can be removed from your board files.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIS in nRF Connect SDK V2.2.0</title><link>https://devzone.nordicsemi.com/thread/410611?ContentTypeID=1</link><pubDate>Fri, 17 Feb 2023 11:39:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a47e6a9-e717-4201-bad5-6ad81e411a96</guid><dc:creator>AKV</dc:creator><description>&lt;p&gt;HI,&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/96697/spis-in-nrf-connect-sdk-v2-2-0/410599"]Ok, in that case, it is only a GUI bug. It will not affect the application running on the nRF itself.&amp;nbsp;[/quote]
&lt;p&gt;Ok.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Currently am working with nrf5340 dk so that I have generated a build configuration for&amp;nbsp;&lt;span&gt;nrf5340dk_nrf5340_cpuapp.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Can we use this same code with same build config for my custom nrf5340 soc board?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIS in nRF Connect SDK V2.2.0</title><link>https://devzone.nordicsemi.com/thread/410599?ContentTypeID=1</link><pubDate>Fri, 17 Feb 2023 11:10:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4cf984bd-2fb5-40f0-a96d-baa5eb97dd51</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Ok, in that case, it is only a GUI bug. It will not affect the application running on the nRF itself.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIS in nRF Connect SDK V2.2.0</title><link>https://devzone.nordicsemi.com/thread/410560?ContentTypeID=1</link><pubDate>Fri, 17 Feb 2023 09:23:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7049adf7-c235-4a3c-8fd1-4c51655411a2</guid><dc:creator>AKV</dc:creator><description>&lt;div&gt;[quote userid="26071" url="~/f/nordic-q-a/96697/spis-in-nrf-connect-sdk-v2-2-0/410551"]Does it show in the build log as well, or only when you hover over it in your prj.conf file?[/quote]&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp;No, Its showing only when I&amp;nbsp;hover over it in prj.conf file.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;In the&amp;nbsp;.config&amp;nbsp;file its showing CONFIG_NRFX_SPIS2&lt;/span&gt;&lt;span&gt;=y.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIS in nRF Connect SDK V2.2.0</title><link>https://devzone.nordicsemi.com/thread/410551?ContentTypeID=1</link><pubDate>Fri, 17 Feb 2023 09:05:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7100ca03-ad66-44c9-94e3-ea10f5e15b3f</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Does it show in the build log as well, or only when you hover over it in your prj.conf file?&lt;/p&gt;
&lt;p&gt;If it doesn&amp;#39;t say in the build log, I would say it is probably just the nRF Connect plugin that didn&amp;#39;t catch the updated overlay file.&lt;/p&gt;
&lt;p&gt;To check, you can check what the config ends up with in your build folder:&lt;/p&gt;
&lt;p&gt;build\zephyr\.config, and search for CONFIG_NRFX_SPIS2.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIS in nRF Connect SDK V2.2.0</title><link>https://devzone.nordicsemi.com/thread/410429?ContentTypeID=1</link><pubDate>Thu, 16 Feb 2023 15:22:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a181ceeb-d577-4caa-9fcc-5e44324235e1</guid><dc:creator>AKV</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;SPIM1 and SPIS2 is working now. But its showing that warning&amp;nbsp;in the &lt;span&gt;prj.conf&lt;/span&gt; file.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;(CONFIG_NRFX_SPIS2 was assigned the value y, but got the value n. Missing dependencies:)&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;Why is that showing?&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIS in nRF Connect SDK V2.2.0</title><link>https://devzone.nordicsemi.com/thread/410367?ContentTypeID=1</link><pubDate>Thu, 16 Feb 2023 13:31:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5fbfb494-dd5e-405f-8950-7d7259249f92</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;1: It is not related to SPIS, it is related to SPI2&lt;/p&gt;
&lt;p&gt;2: Yes. Please see the overlay file found in the repository (here).&lt;/p&gt;
&lt;p&gt;Just create a file with the bordname.overlay (in other words, nrf5340dk_nrf5340_cpuapp.overlay), and copy the content from the overlay file in the link, and place it in the same folder as your prj.conf.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIS in nRF Connect SDK V2.2.0</title><link>https://devzone.nordicsemi.com/thread/410288?ContentTypeID=1</link><pubDate>Thu, 16 Feb 2023 10:01:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3f194ca-f557-42a6-9997-afa2900f3567</guid><dc:creator>AKV</dc:creator><description>&lt;p&gt;&lt;span&gt;Thanks for the reply,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I am trying to add&amp;nbsp;SPI into my code by referring&amp;nbsp;the above example. But when I enable CONFIG_NRFX_SPIS2=y getting the error like (identifier &amp;quot;NRFX_SPIS2_INST_IDX&amp;quot; is undefined) and in the prj.conf file its showing that&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt; (CONFIG_NRFX_SPIS2 was assigned the value y, but got the value n. Missing dependencies:)&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;But am able to enable &lt;/span&gt;&lt;span&gt;CONFIG_NRFX_SPIM1&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;1. Why is this error coming only for SPIS? Do I need to enable somewhere&amp;nbsp;else?&lt;/p&gt;
&lt;p&gt;2. Do I need to copy the overlay file as well?&amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPIS in nRF Connect SDK V2.2.0</title><link>https://devzone.nordicsemi.com/thread/410098?ContentTypeID=1</link><pubDate>Wed, 15 Feb 2023 13:38:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f46535ed-ee85-4c14-aebc-13d32b938e37</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]I have developed a BLE application code by using this&amp;nbsp;&lt;a title="custom_ncs_ble_service_sample" href="https://github.com/edvinand/custom_ncs_ble_service_sample"&gt;custom_ncs_ble_service_sample&lt;/a&gt;&amp;nbsp;tutorial. Its working fine.[/quote]
&lt;p&gt;Glad to see it is useful.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user=""]Is there any example code provided for SPIM and SPIS example in NCS.? If yes please share.[/quote]
&lt;p&gt;We don&amp;#39;t have any official samples from Nordic showing this in particular, but you can have a look at these:&lt;/p&gt;
&lt;p&gt;SPIS:&amp;nbsp;&lt;a href="https://github.com/zephyrproject-rtos/hal_nordic/tree/master/nrfx/samples/src/nrfx_spim_spis"&gt;https://github.com/zephyrproject-rtos/hal_nordic/tree/master/nrfx/samples/src/nrfx_spim_spis&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;SPIM:&amp;nbsp;&lt;a href="https://github.com/zephyrproject-rtos/hal_nordic/tree/master/nrfx/samples/src/nrfx_spim"&gt;https://github.com/zephyrproject-rtos/hal_nordic/tree/master/nrfx/samples/src/nrfx_spim&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>