<?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 to access multiple SPI sensors</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/109936/how-to-access-multiple-spi-sensors</link><description>Dear all, It&amp;#39;s my first project with a Nordic chip and with Zepyhr as well, so a little overwhelmed. I made a PCB based on a nRF52840 and the reference design. The custom board has been added to my project and tested with various samples. Everything works</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Apr 2024 10:01:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/109936/how-to-access-multiple-spi-sensors" /><item><title>RE: How to access multiple SPI sensors</title><link>https://devzone.nordicsemi.com/thread/480157?ContentTypeID=1</link><pubDate>Tue, 23 Apr 2024 10:01:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebe4b157-72fa-4f15-b357-ce87ef8b6baf</guid><dc:creator>cbraissant</dc:creator><description>&lt;p&gt;Hi Simon, &lt;/p&gt;
&lt;p&gt;Thanks for that recommendation.&lt;br /&gt;I actually had some issue with 2 sensors, and that solved the issue. &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f44d.svg" title="Thumbsup"&gt;&amp;#x1f44d;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to access multiple SPI sensors</title><link>https://devzone.nordicsemi.com/thread/477311?ContentTypeID=1</link><pubDate>Fri, 05 Apr 2024 12:33:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55e30090-4e1e-4f48-9493-b59a8c180b6a</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Reuven has a good suggestion here. Additionally, I&amp;#39;d recommend making sure that you have set the pins P0.09 and P0.10 as regular GPIOs by using&amp;nbsp;&lt;span&gt;devicetree to configure NFCT pins as GPIOS like this: &lt;strong&gt;&amp;amp;uicr { nfct-pins-as-gpios; };&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I see you&amp;#39;re using these as GPIOs in your overlay file.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to access multiple SPI sensors</title><link>https://devzone.nordicsemi.com/thread/477208?ContentTypeID=1</link><pubDate>Thu, 04 Apr 2024 20:39:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:275cc979-97a4-43b3-ba94-d62395de01ba</guid><dc:creator>RM</dc:creator><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;Look at this macro, this should do the work along with macro concat for the name&amp;nbsp; (you may need to wrap the struct dev into struct)&lt;/p&gt;
&lt;div style="background-color:#303841;color:#d8dee9;font-family:Menlo, Monaco, &amp;#39;Courier New&amp;#39;, monospace;font-size:14px;font-weight:normal;line-height:21px;white-space:pre;"&gt;
&lt;div&gt;&lt;span style="color:#86b9eb;"&gt;STRUCT_SECTION_FOREACH&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Reuven&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>