<?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>Using SPI3 and UART3</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114454/using-spi3-and-uart3</link><description>Hi, 
 I prepare my custom board on nrf5340, and i have to use 3xUART, 1xI2C, 1XSPI. 
 Regarding product specification, i see i cannot configure more than 4 (UART,SPI,I2C). 
 But in my projetc i will never use in same time spi and my third uart link. It</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 06 Sep 2024 06:15:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114454/using-spi3-and-uart3" /><item><title>RE: Using SPI3 and UART3</title><link>https://devzone.nordicsemi.com/thread/501460?ContentTypeID=1</link><pubDate>Fri, 06 Sep 2024 06:15:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ffde9055-71e2-428e-9ed4-820482043000</guid><dc:creator>Julien</dc:creator><description>&lt;p&gt;Thanks for the answer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using SPI3 and UART3</title><link>https://devzone.nordicsemi.com/thread/501166?ContentTypeID=1</link><pubDate>Wed, 04 Sep 2024 12:50:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6867596-67e7-4415-83ca-98d95a7f6274</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You can not use the same peripherals simultaneously which share same ID.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf5340/chapters/memory/appmem.html?cp=4_0_0_4_2_0#instantiation"&gt;https://infocenter.nordicsemi.com/topic/ps_nrf5340/chapters/memory/appmem.html?cp=4_0_0_4_2_0#instantiation&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have talked to team and got the following feedback.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;The current driver model in Zephyr/NCS does not support peripheral resource sharing. Only solution as of today, is to disable these peripherals in dts, and use nrfx API directly.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;We have a sample for that here:&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;a title="https://github.com/nrfconnect/sdk-zephyr/tree/main/samples/boards/nrf/nrfx_prs" href="https://github.com/nrfconnect/sdk-zephyr/tree/main/samples/boards/nrf/nrfx_prs" rel="noopener noreferrer" target="_blank"&gt;https://github.com/nrfconnect/sdk-zephyr/tree/main/samples/boards/nrf/nrfx_prs&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Note that when you use nrfx directly, that in addition to handle the switching in the application between the two interfaces, you must also write your own implementation that handle the spi/i2c communication, since you can&amp;#39;t use the zephyr api/driver in this case.&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>