<?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>Adding SPI to a project</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/119838/adding-spi-to-a-project</link><description>I am running VSCode with the latest nRF extension. I am on v2.9.1 of the SDK 
 I created a new app and copied the bluetooth_st_ble_sensor sample project. 
 I would like to add SPI to this project. 
 I don&amp;#39;t know how. 
 I tried using KConfig GUI, but it</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 03 Apr 2025 14:54:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/119838/adding-spi-to-a-project" /><item><title>RE: Adding SPI to a project</title><link>https://devzone.nordicsemi.com/thread/530484?ContentTypeID=1</link><pubDate>Thu, 03 Apr 2025 14:54:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f971a26-c5b0-4a2b-bd86-48590eb7afae</guid><dc:creator>Tony</dc:creator><description>&lt;p&gt;I got this all sorted out. It did have to do with the yaml for the device and some things in the driver. I finally have it all working...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding SPI to a project</title><link>https://devzone.nordicsemi.com/thread/530478?ContentTypeID=1</link><pubDate>Thu, 03 Apr 2025 14:16:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:babe8c7e-e62a-4b2c-861f-d03802716a0c</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi Tony,&lt;/p&gt;
&lt;p&gt;Apologies for the delayed response time.&amp;nbsp;&lt;/p&gt;
[quote user="tpitman"]&lt;div&gt;Here is the error I am getting:&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;```&lt;/div&gt;
&lt;div&gt;.../build/BLETPMSBridge/zephyr/include/generated/zephyr/devicetree_generated.h:14776:31: error: &amp;#39;DT_N_S_soc_S_peripheral_50000000_S_spi_c7000_S_cc1101_0_P_bitrate&amp;#39; undeclared here (not in a function); did you mean &amp;#39;DT_N_S_soc_S_peripheral_50000000_S_spi_c7000_S_cc1101_0_P_status&amp;#39;?&lt;br /&gt;14776 | #define DT_N_INST_0_ti_cc1101 DT_N_S_soc_S_peripheral_50000000_S_spi_c7000_S_cc1101_0&lt;/div&gt;[/quote]
&lt;p&gt;Based on&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/build/dts/troubleshooting.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/build/dts/troubleshooting.html&lt;/a&gt;, it looks to me that the driver you&amp;#39;ve set up has some parameters/features that&amp;#39;s either missing, or has been changed in between the 2.5.x version and v2.9.x version. I know it&amp;#39;s not much since it&amp;#39;s not very concrete, but have you seen through the release notes for both &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/releases/release-notes-2.9.0.html"&gt;NCS&amp;nbsp;&lt;/a&gt;&amp;nbsp;and for Zephyr if anything has changed w.r.t the setup you&amp;#39;ve used previously?&lt;/p&gt;
&lt;p&gt;Other than this, I think the best bet is to wait for the updated guide to be released. It should also be updated for 3.0.0 within April as far as I know.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding SPI to a project</title><link>https://devzone.nordicsemi.com/thread/529841?ContentTypeID=1</link><pubDate>Mon, 31 Mar 2025 14:39:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a807d7b0-87ca-4dae-a143-7a8e21a3eaab</guid><dc:creator>Tony</dc:creator><description>&lt;p&gt;This is the line I am getting the error on:&lt;/p&gt;
&lt;p&gt;&lt;span class="line"&gt;&lt;span&gt;#define&lt;/span&gt;&lt;span&gt; SPIOP &lt;/span&gt;&lt;span&gt;SPI_WORD_SET&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;8&lt;/span&gt;&lt;span&gt;) &lt;/span&gt;&lt;span&gt;|&lt;/span&gt;&lt;span&gt; SPI_TRANSFER_MSB&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span&gt;struct&lt;/span&gt;&lt;span&gt; spi_dt_spec spispec = &lt;/span&gt;&lt;span&gt;SPI_DT_SPEC_GET&lt;/span&gt;&lt;span&gt;(&lt;/span&gt;&lt;span&gt;DT_NODELABEL&lt;/span&gt;&lt;span&gt;(cc1101), SPIOP, &lt;/span&gt;&lt;span&gt;0&lt;/span&gt;&lt;span&gt;);&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding SPI to a project</title><link>https://devzone.nordicsemi.com/thread/529833?ContentTypeID=1</link><pubDate>Mon, 31 Mar 2025 14:18:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e40c48f-deb0-42e1-a5f1-0f44686baa24</guid><dc:creator>Tony</dc:creator><description>&lt;p&gt;I do have the bindings file in a dts/bindings folder called ti,cc1101.yaml. Here are the contents:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;```&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;# Copyright (c) 2018, Linaro Limited&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;# SPDX-License-Identifier: Apache-2.0&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;description&lt;/span&gt;&lt;span&gt;: &lt;/span&gt;&lt;span&gt;Texas Instruments CC1101 wireless transceiver&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;compatible&lt;/span&gt;&lt;span&gt;: &lt;/span&gt;&lt;span&gt;&amp;quot;ti-cc1101&amp;quot;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;include&lt;/span&gt;&lt;span&gt;: &lt;/span&gt;&lt;span&gt;spi-device.yaml&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;properties&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;int_gpios&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;type&lt;/span&gt;&lt;span&gt;: &lt;/span&gt;&lt;span&gt;phandle-array&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;required&lt;/span&gt;&lt;span&gt;: &lt;/span&gt;&lt;span&gt;true&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;description&lt;/span&gt;&lt;span&gt;: &lt;/span&gt;&lt;span&gt;|&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;GPIOs connected to the GDO0 and GDO2 pins of the transceiver.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;cs-gpios&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;type&lt;/span&gt;&lt;span&gt;: &lt;/span&gt;&lt;span&gt;phandle-array&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;description&lt;/span&gt;&lt;span&gt;: &lt;/span&gt;&lt;span&gt;|&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;GPIO connected nCS&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;frequency&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;type&lt;/span&gt;&lt;span&gt;: &lt;/span&gt;&lt;span&gt;int&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;description&lt;/span&gt;&lt;span&gt;: &lt;/span&gt;&lt;span&gt;|&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;The carrier frequency, in kHz.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;bitrate&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;type&lt;/span&gt;&lt;span&gt;: &lt;/span&gt;&lt;span&gt;int&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;description&lt;/span&gt;&lt;span&gt;: &lt;/span&gt;&lt;span&gt;|&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;The bitrate in bit per second.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;```&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;I tried the compatible line with ti,cc1101 and that didn&amp;#39;t change anything. I made it a dash (-) because that is how it is in L4E2.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Here is the relevant section in the overlay 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;```&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&amp;amp;&lt;/span&gt;&lt;span&gt;spi21&lt;/span&gt;&lt;span&gt; {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;compatible&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&amp;quot;nordic,nrf-spim&amp;quot;&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;status&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&amp;quot;okay&amp;quot;&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;pinctrl-0&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &amp;lt;&lt;/span&gt;&lt;span&gt;&amp;amp;&lt;/span&gt;&lt;span&gt;spi21_default&lt;/span&gt;&lt;span&gt;&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;pinctrl-1&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &amp;lt;&lt;/span&gt;&lt;span&gt;&amp;amp;&lt;/span&gt;&lt;span&gt;spi21_sleep&lt;/span&gt;&lt;span&gt;&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;pinctrl-names&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&amp;quot;default&amp;quot;&lt;/span&gt;&lt;span&gt;, &lt;/span&gt;&lt;span&gt;&amp;quot;sleep&amp;quot;&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;cs-gpios&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &amp;lt;&lt;/span&gt;&lt;span&gt;&amp;amp;&lt;/span&gt;&lt;span&gt;gpio1&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;8&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;GPIO_ACTIVE_LOW&lt;/span&gt;&lt;span&gt;&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;cc1101:&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;cc1101&lt;/span&gt;&lt;span&gt;@&lt;/span&gt;&lt;span&gt;0&lt;/span&gt;&lt;span&gt; {&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;reg&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &amp;lt;&lt;/span&gt;&lt;span&gt;0&lt;/span&gt;&lt;span&gt;&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;compatible&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&amp;quot;ti,cc1101&amp;quot;&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;spi-max-frequency&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &amp;lt;&lt;/span&gt;&lt;span&gt;2500000&lt;/span&gt;&lt;span&gt;&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;int_gpios&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &amp;lt;&lt;/span&gt;&lt;span&gt;&amp;amp;&lt;/span&gt;&lt;span&gt;gpio1&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;7&lt;/span&gt;&lt;span&gt; (&lt;/span&gt;&lt;span&gt;GPIO_ACTIVE_LOW&lt;/span&gt;&lt;span&gt;)&amp;gt;, &amp;lt;&lt;/span&gt;&lt;span&gt;&amp;amp;&lt;/span&gt;&lt;span&gt;gpio0&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;34&lt;/span&gt;&lt;span&gt; (&lt;/span&gt;&lt;span&gt;GPIO_ACTIVE_LOW&lt;/span&gt;&lt;span&gt;)&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;frequency&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &amp;lt;&lt;/span&gt;&lt;span&gt;868300&lt;/span&gt;&lt;span&gt;&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;bitrate&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &amp;lt;&lt;/span&gt;&lt;span&gt;38368&lt;/span&gt;&lt;span&gt;&amp;gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;status&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;&amp;quot;okay&amp;quot;&lt;/span&gt;&lt;span&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; };&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;};&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;&lt;span&gt;```&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;Here is the error I am getting:&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;```&lt;/div&gt;
&lt;div&gt;.../build/BLETPMSBridge/zephyr/include/generated/zephyr/devicetree_generated.h:14776:31: error: &amp;#39;DT_N_S_soc_S_peripheral_50000000_S_spi_c7000_S_cc1101_0_P_bitrate&amp;#39; undeclared here (not in a function); did you mean &amp;#39;DT_N_S_soc_S_peripheral_50000000_S_spi_c7000_S_cc1101_0_P_status&amp;#39;?&lt;br /&gt;14776 | #define DT_N_INST_0_ti_cc1101 DT_N_S_soc_S_peripheral_50000000_S_spi_c7000_S_cc1101_0&lt;br /&gt; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;/div&gt;
&lt;div&gt;```&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding SPI to a project</title><link>https://devzone.nordicsemi.com/thread/529720?ContentTypeID=1</link><pubDate>Mon, 31 Mar 2025 09:33:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3abb7eb1-ca5c-494e-a482-aa35f0d27301</guid><dc:creator>AHaug</dc:creator><description>[quote user="tpitman"]&lt;p&gt;I created this application using the &amp;quot;copy a sample&amp;quot; option in VSCode. It doesn&amp;#39;t have a sysbuild.conf or sysbuild folder. The sample I copied was the Bluetooth Peripheral sample.&lt;/p&gt;
&lt;p&gt;Is that an issue?&lt;/p&gt;[/quote]
&lt;p&gt;No, that is not an issue and is the approach we recommend when starting from a sample.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Most samples does not have a sysbuild folder, since they don&amp;#39;t use any companion components. As an example, an exception is the multicore SoCs such as the nRF5340 In those cases the build system detects that if it is an nRF5340 and that it uses BLE, it should automatically add the HCI_IPC companion component so that it has BLE. If you were to make a BLE application for the nRF5340, you would have to do this manually by yourself, i.e add a sysbuild.conf and a sysbuild folder where you add any configurations specific for the hci_ipc image that will run on the netcore.&lt;/p&gt;
&lt;p&gt;But that is just a digression. For your case with the nRF54L15 this will not be relevant for the BLE image since it does not have a network core such as the nRF5340 has. It will however be relevant if you intend to add DFU and MCUboot support. In that case you will have to create a sysbuild.conf and sysbuild folder for the relevant configurations.&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s another example of a project that works in sysbuild without any sysbuild related configurations and a custom device binding:&amp;nbsp;&lt;a href="https://github.com/NordicDeveloperAcademy/ncs-inter/tree/main/v2.9.0-v2.7.0/l4/l4_e2_sol"&gt;https://github.com/NordicDeveloperAcademy/ncs-inter/tree/main/v2.9.0-v2.7.0/l4/l4_e2_sol&lt;/a&gt;. It is from lesson 4 in the intermediate course.&amp;nbsp;&lt;/p&gt;
[quote user="tpitman"]I am getting errors that it can&amp;#39;t find my node that I defined in my overlay:[/quote]
&lt;p&gt;Does this device exist in the device bindings? It has to either be placed within the project as illustrated in the L4E2 solution git link or the device has to be placed in a folder that your project knows about&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding SPI to a project</title><link>https://devzone.nordicsemi.com/thread/529595?ContentTypeID=1</link><pubDate>Fri, 28 Mar 2025 17:00:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c416e7b-52fa-4246-8f02-4620cda7a837</guid><dc:creator>Tony</dc:creator><description>&lt;p&gt;On a related note I have some things building now and ran into an error that may or may not be related to the folder structure or how the project is set up.&lt;/p&gt;
&lt;p&gt;I am getting errors that it can&amp;#39;t find my node that I defined in my overlay:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1743181174261v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;That image also shows the spi config with the node.&lt;/p&gt;
&lt;p&gt;Here is my ti,cc1101.yaml file:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;# Copyright (c) 2018, Linaro Limited&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;# SPDX-License-Identifier: Apache-2.0&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;description&lt;/span&gt;&lt;span&gt;: &lt;/span&gt;&lt;span&gt;Texas Instruments CC1101 wireless transceiver&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;compatible&lt;/span&gt;&lt;span&gt;: &lt;/span&gt;&lt;span&gt;&amp;quot;ti,cc1101&amp;quot;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;include&lt;/span&gt;&lt;span&gt;: &lt;/span&gt;&lt;span&gt;spi-device.yaml&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;properties&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;int_gpios&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;type&lt;/span&gt;&lt;span&gt;: &lt;/span&gt;&lt;span&gt;phandle-array&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;required&lt;/span&gt;&lt;span&gt;: &lt;/span&gt;&lt;span&gt;true&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;description&lt;/span&gt;&lt;span&gt;: &lt;/span&gt;&lt;span&gt;|&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;GPIOs connected to the GDO0 and GDO2 pins of the transceiver.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;cs-gpios&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;type&lt;/span&gt;&lt;span&gt;: &lt;/span&gt;&lt;span&gt;phandle-array&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;description&lt;/span&gt;&lt;span&gt;: &lt;/span&gt;&lt;span&gt;|&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;GPIO connected nCS&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;frequency&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;type&lt;/span&gt;&lt;span&gt;: &lt;/span&gt;&lt;span&gt;int&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;description&lt;/span&gt;&lt;span&gt;: &lt;/span&gt;&lt;span&gt;|&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;The carrier frequency, in kHz.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;bitrate&lt;/span&gt;&lt;span&gt;:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;type&lt;/span&gt;&lt;span&gt;: &lt;/span&gt;&lt;span&gt;int&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;description&lt;/span&gt;&lt;span&gt;: &lt;/span&gt;&lt;span&gt;|&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;The bitrate in bit per second.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;How do I fix this issue?&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding SPI to a project</title><link>https://devzone.nordicsemi.com/thread/529594?ContentTypeID=1</link><pubDate>Fri, 28 Mar 2025 16:58:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c316aa5e-116c-438e-9d1e-396f1a48e5a6</guid><dc:creator>Tony</dc:creator><description>&lt;p&gt;I created this application using the &amp;quot;copy a sample&amp;quot; option in VSCode. It doesn&amp;#39;t have a sysbuild.conf or sysbuild folder. The sample I copied was the Bluetooth Peripheral sample.&lt;/p&gt;
&lt;p&gt;Is that an issue?&lt;/p&gt;
&lt;p&gt;Can I add a custom driver to an application copied from that sample. If so, what are the details of doing that?&lt;/p&gt;
&lt;p&gt;I will do that tutorial on sysbuild as an additional thing so I understand sysbuild better as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding SPI to a project</title><link>https://devzone.nordicsemi.com/thread/529510?ContentTypeID=1</link><pubDate>Fri, 28 Mar 2025 12:35:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4aab84ac-6a71-493c-8902-06acb7c5c61c</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Typically it looks like something like this:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1743163821719v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;The biggest difference is that there are no child_image folder any more where you keep configurations for child images (such as MCUboot for instance). This is now located inside of the sysbuild folder instead, where you can either have an overlaying or overwriting approach of configuring companion components (the replacement terminology for child_images).&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-8-sysbuild/topic/sysbuild-explained/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-8-sysbuild/topic/sysbuild-explained/&lt;/a&gt;&amp;nbsp;goes through this and explains it very well (in my opinion atleast).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In addition you can have your board folder with &amp;lt;yourboard&amp;gt;.conf and&amp;nbsp;&lt;span&gt;&amp;lt;yourboard&amp;gt;.overlay, as previous and your drivers, dts and includes&amp;nbsp;&lt;em&gt;should&lt;/em&gt; be the same as far as I can see.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Let me know if the sysbuild lesson allows you to get some further insight and confidence towards the implementation and if you have any follow ups I will revisit the topic and this case early next week&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kind regards,&lt;br /&gt;Andreas&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding SPI to a project</title><link>https://devzone.nordicsemi.com/thread/529375?ContentTypeID=1</link><pubDate>Thu, 27 Mar 2025 19:28:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93a80bd7-6ef3-46e8-b3e2-47ad5c73dfe6</guid><dc:creator>Tony</dc:creator><description>&lt;p&gt;I am working on this right now, so since there isn&amp;#39;t a tutorial I will need some direct help.&lt;/p&gt;
&lt;p&gt;This is the directory structure in the old tutorial:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1743103469672v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I have my app in a new west workspace using 2.9.1. What is the directory structure in the new system?&lt;/p&gt;
&lt;p&gt;It then says to add a new zephyr,customer-bme280.yaml file with some information in it. Do I need the same file in the new system and where does it go?&lt;/p&gt;
&lt;p&gt;It then says to create a new folder in drivers/sensor called custom_bme280 and put the 3 files in it. Do I do that same thing and if so where do I create it and does it contain the exact same files with the exact same things as in the old tutorial?&lt;/p&gt;
&lt;p&gt;I could go on, but basically can someone go through the old tutorial and reply to this ticket with answers to if things stay the same or if they have changed and what those changes are.&lt;/p&gt;
&lt;p&gt;I am glad the new tutorial will be done in the next few weeks, but I am working on this today and am stuck until I have answers.&lt;/p&gt;
&lt;p&gt;If there is another resource that I could use to get these answers, just point the way...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding SPI to a project</title><link>https://devzone.nordicsemi.com/thread/529324?ContentTypeID=1</link><pubDate>Thu, 27 Mar 2025 14:09:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d0b7b99-b454-43ae-a838-62a35776a82d</guid><dc:creator>Tony</dc:creator><description>&lt;p&gt;Hopefully. I can use it sooner rather than later. I am right in the middle of trying to figure out how to add a custom driver. i am following the old version tutorial, but it isn&amp;#39;t the same.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding SPI to a project</title><link>https://devzone.nordicsemi.com/thread/529230?ContentTypeID=1</link><pubDate>Thu, 27 Mar 2025 09:06:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4644a39e-3563-4ab0-b229-67fa7e78c264</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi again,&lt;/p&gt;
&lt;p&gt;ETA seems to be &amp;quot;in a few weeks&amp;quot;, so hopefully it will be on the closer end of &amp;quot;few&amp;quot; than the farther end of &amp;quot;few&amp;quot;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding SPI to a project</title><link>https://devzone.nordicsemi.com/thread/529091?ContentTypeID=1</link><pubDate>Wed, 26 Mar 2025 14:10:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a7ad41a-0f0d-4c83-a7c9-a6c322d2f07a</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Aah, I see!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I will check in with the academy team if we have any status for an ETA for this update.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding SPI to a project</title><link>https://devzone.nordicsemi.com/thread/529080?ContentTypeID=1</link><pubDate>Wed, 26 Mar 2025 13:44:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ead6539-2ef1-4955-834f-013475d02e06</guid><dc:creator>Tony</dc:creator><description>&lt;p&gt;I am so sorry. I meant the later tutorial about creating a custom SPI sensor device driver.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-7-device-driver-model/topic/exercise-1-13/"&gt;academy.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding SPI to a project</title><link>https://devzone.nordicsemi.com/thread/528999?ContentTypeID=1</link><pubDate>Wed, 26 Mar 2025 09:27:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f558ae5-1a3a-481e-99b9-5dac872d79d2</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There are no changes between NCS v2.9.0 and the minor, bugfix release v2.9.1, so you can follow the tutorial as it is for v2.7.0-v2.9.0 for SPI in v2.9.1 as well. See&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/releases/release-notes-2.9.1.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/releases_and_maturity/releases/release-notes-2.9.1.html &lt;/a&gt;for release notes.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding SPI to a project</title><link>https://devzone.nordicsemi.com/thread/528926?ContentTypeID=1</link><pubDate>Tue, 25 Mar 2025 20:14:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a066c8d-caf6-4909-87cc-4e751cf39b4c</guid><dc:creator>Tony</dc:creator><description>&lt;p&gt;I have another ticket that also talks about this. Basically I am waiting on the tutorial for 2.9.1.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding SPI to a project</title><link>https://devzone.nordicsemi.com/thread/527651?ContentTypeID=1</link><pubDate>Mon, 17 Mar 2025 13:41:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1fd812a-beeb-4e5f-85ca-a3487b2cc99b</guid><dc:creator>Tony</dc:creator><description>&lt;p&gt;I will take a look. Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding SPI to a project</title><link>https://devzone.nordicsemi.com/thread/527631?ContentTypeID=1</link><pubDate>Mon, 17 Mar 2025 12:58:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2995e664-cb3d-43ff-ad72-b7483cfa465b</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I recommend you to have a look at the SPI lesson on our academy course:&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-5-serial-peripheral-interface-spi/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-5-serial-peripheral-interface-spi/&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>