<?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>Zephyr Custom board specification</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/79841/zephyr-custom-board-specification</link><description>I performed early software development on an nRF52840-DK. I&amp;#39;m using Zephyr on the nRF52840. 
 Now I have a custom board and started doing development on it by creating a .overlay file to change pin assignments, etc. 
 I then decided to create a custom</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 29 Sep 2021 13:10:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/79841/zephyr-custom-board-specification" /><item><title>RE: Zephyr Custom board specification</title><link>https://devzone.nordicsemi.com/thread/331734?ContentTypeID=1</link><pubDate>Wed, 29 Sep 2021 13:10:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e8a640d-edac-4301-a808-4720a9b07148</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;&lt;span&gt;I am not able to explain problems&amp;nbsp;with disabling UART1 that. I tested with a random example (Bluetooth peripheral LSB) and disabled uart1 in an overlay, but did not see any issues. If I disable UART0 however, there are problems. This is used for logging. If I disable logging by setting &lt;code&gt;CON&lt;/code&gt;&lt;/span&gt;&lt;code&gt;FIG_LOG=n&lt;/code&gt; and&amp;nbsp;&lt;code&gt;CONFIG_SERIAL=n&lt;/code&gt; in prj.conf this issue is resolved. Can you test that on your end?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr Custom board specification</title><link>https://devzone.nordicsemi.com/thread/331571?ContentTypeID=1</link><pubDate>Tue, 28 Sep 2021 16:24:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e20d07fb-5bef-4029-a05e-fe0a6e18543d</guid><dc:creator>CktDesigner</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;Thanks for this list.&amp;nbsp; I remember seeing this before.&lt;/p&gt;
&lt;p&gt;However I&amp;#39;m finding that if uart1 is &amp;quot;disabled&amp;quot; in the .dts file, BLE advertising doesn&amp;#39;t occur (even though it is started with no error reported).&amp;nbsp; &amp;nbsp;If I specify it to be &amp;quot;okay&amp;quot;, advertising occurs as expected (however when a connection occurs, it drops randomly later).&lt;/p&gt;
&lt;p&gt;There also seems to be a dependence with uart0.&amp;nbsp; &amp;nbsp;I commented out the zephyr dependence (zephyr, console = &amp;amp;uart0; ... zephyr,bt-c2h-uart = &amp;amp;uart0;)&amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m trying to determine where &amp;quot;uart0&amp;quot; and&amp;nbsp; &amp;quot;uart1&amp;quot; are used and what seems to be dependent on them, and what the linkage to BLE might be.&lt;/p&gt;
&lt;p&gt;Any thoughts?&amp;nbsp; &amp;nbsp; Is there another list of peripherals that zephyr must have ownership of (my prj.conf file has &amp;quot;CONFIG_UART_CONSOLE=n&amp;quot;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr Custom board specification</title><link>https://devzone.nordicsemi.com/thread/330588?ContentTypeID=1</link><pubDate>Wed, 22 Sep 2021 07:42:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5843c776-65b4-4784-923c-a4dc8a2eab64</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;The SoftDevice controller as well as the&amp;nbsp;Multiprotocol Service Layer (MPSL) which it relies on reserves several peripherals, and limits access to others.&lt;/p&gt;
&lt;p&gt;You can refer to MPSL and SoftDevice controller documentation for details, but snipping out the relevant parts:&lt;/p&gt;
&lt;p&gt;The following peripherals are owned by MPSL and must not be accessed directly by the application:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;RTC0&lt;/li&gt;
&lt;li&gt;TIMER0&lt;/li&gt;
&lt;li&gt;TIMER1, for the nRF53 Series&lt;/li&gt;
&lt;li&gt;RADIO&lt;/li&gt;
&lt;li&gt;CLOCK&lt;/li&gt;
&lt;li&gt;TEMP&lt;/li&gt;
&lt;li&gt;PPI channel 19, 30, 31, for the nRF52 Series&lt;/li&gt;
&lt;li&gt;DPPI channels 0 - 2, for the nRF53 Series&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The following peripherals are owned by the SoftDevice Controller and must not be accessed directly by the application:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;ECB&lt;/li&gt;
&lt;li&gt;AAR&lt;/li&gt;
&lt;li&gt;NVMC&lt;/li&gt;
&lt;li&gt;PPI channels 17 - 31, for the nRF52 Series&lt;/li&gt;
&lt;li&gt;DPPI channels 0 - 13, for the nRF53 Series&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr Custom board specification</title><link>https://devzone.nordicsemi.com/thread/330534?ContentTypeID=1</link><pubDate>Tue, 21 Sep 2021 17:48:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23c40b5f-db70-49c3-acd5-8fcd658db2e0</guid><dc:creator>CktDesigner</dc:creator><description>&lt;p&gt;Thanks.&amp;nbsp; &amp;nbsp; Yes, I looked at the log and didn&amp;#39;t see any errors reported.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I went back to the original nRF52840 DK .dts file and used an overlay file to start removing peripherals I wasn&amp;#39;t using.&amp;nbsp; &amp;nbsp;I found that disabling uart0 caused the BLE advertising to not appear!&lt;/p&gt;
&lt;p&gt;My custom board uses a Laird BL654PA module (nRF52840 + power amp), so I&amp;#39;ll check with them to see if there is some dependence on uart0.&amp;nbsp; &amp;nbsp; I looked in the Zephyr documentation to try to find a list of nRF52840 resources used by the BLE driver, but didn&amp;#39;t find anything.&amp;nbsp; &amp;nbsp; When using Zephyr with CONFIG_BT_LL_SOFTDEVICE_DEFAULT=y I assume that a Nordic SoftDevice is being used, but am not sure what resources it requires.&amp;nbsp; &amp;nbsp; Is there a list of &amp;quot;reserved resources&amp;quot; that you can recommend?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr Custom board specification</title><link>https://devzone.nordicsemi.com/thread/330401?ContentTypeID=1</link><pubDate>Tue, 21 Sep 2021 07:55:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5886543a-598a-4b66-aefc-ba679d3ec08f</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What happens if you use exactly the same configuration as the nRF52840 DK, and not disable any peripherals? Could it be that you accidentally disabled something that is needed by the Bluetooth stack for instance? Did you check the log or do any debugging? If so, what did you find?&lt;/p&gt;
&lt;p&gt;If you don&amp;#39;t make progress, perhaps you can upload the project here so that I can look at it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>