<?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>Devicetree for many peripherals (UART, I2C, SPI)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107450/devicetree-for-many-peripherals-uart-i2c-spi</link><description>I have a custom board based on the nRF5340. I have 3 UART, 2 SPI, and 4 I2C busses (9 total). 
 I&amp;#39;ve tried to put these in my devicetree like so: 
 
 This throws an error that &amp;quot;i2c4&amp;quot; is an &amp;quot;unknown label&amp;quot;, because it&amp;#39;s not defined in `nrf5340_cpuapp_peripherals</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 19 Jan 2024 15:17:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107450/devicetree-for-many-peripherals-uart-i2c-spi" /><item><title>RE: Devicetree for many peripherals (UART, I2C, SPI)</title><link>https://devzone.nordicsemi.com/thread/465098?ContentTypeID=1</link><pubDate>Fri, 19 Jan 2024 15:17:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08346170-1350-43b0-b131-8788e3ead149</guid><dc:creator>Naeem Maroof</dc:creator><description>&lt;p&gt;Number of peripherals and IDs are as defined in the product specification, so you can not add more.&lt;/p&gt;
&lt;p&gt;But as for the serial bus (I2C and SPI) is concerned, what you can do is put multiple devices on single bus and address them as per your use case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Devicetree for many peripherals (UART, I2C, SPI)</title><link>https://devzone.nordicsemi.com/thread/464615?ContentTypeID=1</link><pubDate>Wed, 17 Jan 2024 13:41:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ade8ee7a-3a51-4adf-ae11-d181e4a196e1</guid><dc:creator>Kyle</dc:creator><description>&lt;p&gt;Yes, but is it possible to define additional IDs (e.g. in a device tree overlay), or is the nRF5340 strictly limited to 4?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Devicetree for many peripherals (UART, I2C, SPI)</title><link>https://devzone.nordicsemi.com/thread/464609?ContentTypeID=1</link><pubDate>Wed, 17 Jan 2024 13:31:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3febb41e-a222-46a9-9119-1f1f82919021</guid><dc:creator>Naeem Maroof</dc:creator><description>&lt;p&gt;Unfortunately, at a time, you can only use one of the instances that share the same ID:&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/pastedimage1705498298297v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>