<?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>Issues Configuring nRF52820 as SPI Slave on Custom Board with Zephyr – Missing Definitions</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115394/issues-configuring-nrf52820-as-spi-slave-on-custom-board-with-zephyr-missing-definitions</link><description>Hello, 
 I am experiencing difficulties configuring an nRF52820 to function as an SPI slave on a custom-designed board. I followed Lesson 5 of the NCS Intermediate Tutorial on DevAcademy to set up the nRF52820. However, I continuously encounter compilation</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 11 Oct 2024 08:41:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115394/issues-configuring-nrf52820-as-spi-slave-on-custom-board-with-zephyr-missing-definitions" /><item><title>RE: Issues Configuring nRF52820 as SPI Slave on Custom Board with Zephyr – Missing Definitions</title><link>https://devzone.nordicsemi.com/thread/505839?ContentTypeID=1</link><pubDate>Fri, 11 Oct 2024 08:41:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bc4b7f7-97ef-474b-ab47-55ae4a693ac0</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure if I can give you a recommended approach as there are different ways to go about which also depends a bit on the application. I would suggest to have a look &lt;a href="https://docs.zephyrproject.org/latest/build/dts/howtos.html#get-a-struct-device-from-a-devicetree-node"&gt;here&lt;/a&gt; as it shows different approaches.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues Configuring nRF52820 as SPI Slave on Custom Board with Zephyr – Missing Definitions</title><link>https://devzone.nordicsemi.com/thread/505831?ContentTypeID=1</link><pubDate>Fri, 11 Oct 2024 08:06:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:304168c9-322f-4154-b2fb-ae6f63274e6f</guid><dc:creator>Lezhi</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for your response. Following the example, I manually configured the SPI device using the provided structures instead of the &lt;code&gt;SPI_DT_SPEC_GET&lt;/code&gt; macro, and this seems to have resolved the issue.&amp;nbsp;I did notice that this example configures the SPI using different APIs and macros compared to my project. Specifically, it does not use the &lt;code&gt;SPI_DT_SPEC_GET&lt;/code&gt; macro, which has been causing errors in my project. Do you have a recommended approach for configuring the SPI?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Lezhi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues Configuring nRF52820 as SPI Slave on Custom Board with Zephyr – Missing Definitions</title><link>https://devzone.nordicsemi.com/thread/505714?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 11:23:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:279b1dff-18d3-4128-a54a-f6a9c645c54a</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Try to add&amp;nbsp;&lt;span&gt;CONFIG_SPI_SLAVE in your overlay, I would also have a look at this sample made by a co-worker&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/too1/ncs-spi-master-slave-example/blob/master/prj.conf"&gt;https://github.com/too1/ncs-spi-master-slave-example/blob/master/prj.conf&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Runar&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>