<?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>what does zephyr spi_config structure variable slave indicate?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83966/what-does-zephyr-spi_config-structure-variable-slave-indicate</link><description>Hi all, 
 
 struct spi_config { 
 uint32_t frequency ; 
 uint16_t operation ; 
 uint16_t slave ; 
 
 const struct spi_cs_control * cs ; 
 }; 
 
 in documentation, it says &amp;quot; @param slave is the slave number from 0 to host controller slave limit.&amp;quot; which</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 24 Jan 2022 13:01:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83966/what-does-zephyr-spi_config-structure-variable-slave-indicate" /><item><title>RE: what does zephyr spi_config structure variable slave indicate?</title><link>https://devzone.nordicsemi.com/thread/349261?ContentTypeID=1</link><pubDate>Mon, 24 Jan 2022 13:01:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d798186c-fff6-4542-9711-1773b55d98d4</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Zephyr has generic APIs to ensure support for different devices, architectures, and so forth. Not all of the parameters will be used by nRF devices.&lt;/p&gt;
&lt;p&gt;In SPI mode, this is not used with our devices. Addressing of slaves is done using a dedicated /CS pin.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>