<?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>nRF52832 softdevice (with Zephyr)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/93662/nrf52832-softdevice-with-zephyr</link><description>I&amp;#39;m using version 2.0.2 of NCS 
 I have code working with nRF52840 in Zephyr 
 I need to move that code to nRF52832 (also in Zephyr) 
 My application is failing to start BLE advertising (when using the &amp;#39;832; works fine with the &amp;#39;840). 
 I know when working</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 09 Nov 2022 20:47:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/93662/nrf52832-softdevice-with-zephyr" /><item><title>RE: nRF52832 softdevice (with Zephyr)</title><link>https://devzone.nordicsemi.com/thread/395006?ContentTypeID=1</link><pubDate>Wed, 09 Nov 2022 20:47:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c7c4762-b73a-48f9-b2ad-c0285adeffcc</guid><dc:creator>CktDesigner</dc:creator><description>&lt;p&gt;I looked at Case #32866 earlier and saw that the changes had been committed over a year ago.&amp;nbsp; &amp;nbsp;So shouldn&amp;#39;t they be in the latest build already?&lt;/p&gt;
&lt;p&gt;I believe I found the issue.&amp;nbsp; &amp;nbsp;The device software sets up CODED_PHY advertising.&amp;nbsp; &amp;nbsp; I believe the &amp;#39;832 doesn&amp;#39;t support that.&amp;nbsp; &amp;nbsp; So I suspect that the error message might have indicated that.&amp;nbsp; &amp;nbsp; Is there a &amp;quot;secret decoder ring&amp;quot; that defines the status 0x11 being shown in the warning for opcode 0x2036?&lt;/p&gt;
&lt;p&gt;I changed the code to use &amp;quot;normal&amp;quot; advertising and the code works now.&lt;/p&gt;
&lt;p&gt;Thanks...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 softdevice (with Zephyr)</title><link>https://devzone.nordicsemi.com/thread/394827?ContentTypeID=1</link><pubDate>Wed, 09 Nov 2022 07:04:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c03ebf94-a324-4206-b804-c3248a5e222d</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;This should have been straightforward process using Visual Studio code. Please make sure that you use VSC so that you can use this&amp;nbsp;&lt;a href="https://youtu.be/KSivO9Cf1TE?t=905"&gt;webinar&lt;/a&gt;&amp;nbsp;to know what the changes you need to do. The error you are getting could also be if there are any stack corruption or something else.&lt;/p&gt;
&lt;p&gt;The error code looks very similar matching the use case mentioned &lt;a href="https://github.com/zephyrproject-rtos/zephyr/issues/32866"&gt;here&lt;/a&gt;. Not sure if this is relevant in the version you are using. They seems to have&amp;nbsp;a &lt;a href="https://github.com/zephyrproject-rtos/zephyr/issues/32866#issuecomment-799445460"&gt;patch &lt;/a&gt;given in that thread, can you please give it a try?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;cvinayak commented on Mar 15, 2021
@ppluta

‘’’
git fetch git@github.com:cvinayak/zephyr.git github_ext_adv_stop_fix &amp;amp;&amp;amp; git cherry-pick FETCH_HEAD
‘’’&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 softdevice (with Zephyr)</title><link>https://devzone.nordicsemi.com/thread/394821?ContentTypeID=1</link><pubDate>Wed, 09 Nov 2022 03:48:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89531972-8cef-4727-9d68-b9d7b6995524</guid><dc:creator>CktDesigner</dc:creator><description>&lt;p&gt;Basically, I just changed the .dts to reflect the &amp;#39;832 instead of the &amp;#39;840 and removed a couple of peripherals that won&amp;#39;t be used in the &amp;#39;832 board (and aren&amp;#39;t available in the &amp;#39;832).&amp;nbsp; &amp;nbsp;Also had to reduce the allocation for the stacks of a couple of threads due to the smaller SRAM size of the &amp;#39;832.&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;The references to S140 were in the zephyr.map file.&amp;nbsp; &amp;nbsp;I&amp;#39;ve been told that these are remnants of the &amp;quot;generic&amp;quot; soft device created for Zephyr that borrowed heavily from S140...&lt;/p&gt;
&lt;p&gt;Not sure why BLE advertising is failing (or what the bt_hci_core warning message is telling me).&amp;nbsp; &amp;nbsp;What does the bt_hci_core opcode and status indicate?&amp;nbsp; &amp;nbsp; The return value (-5) indicates EIO...&amp;nbsp; &amp;nbsp;I&amp;#39;m not sure what this means in this context.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 softdevice (with Zephyr)</title><link>https://devzone.nordicsemi.com/thread/394695?ContentTypeID=1</link><pubDate>Tue, 08 Nov 2022 13:05:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a510dcae-70d3-4f2c-a1a9-a1c79e00e9bf</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am assuming that you are using custom boards for both nRF52832 and nRF52840 based solution you are working on.&lt;/p&gt;
[quote user=""]Looking through the zephyr.map file, I see indications that the soft device S140 is present.&amp;nbsp; &amp;nbsp; Shouldn&amp;#39;t this be the S132?[/quote]
&lt;p&gt;There should be no references of S140 or S132 in Zephyr and NCS environment, if there are then it is a documentational bug. S140 and S132 are Softdevices names only for nRF5SDK. Those names should not be relevant in Nordic Connect SDK.&lt;/p&gt;
&lt;p&gt;It is also difficult to aid you with the error you are getting without knowing what changes you made to the build environment when moving from nRF52840 chip to&amp;nbsp;.&lt;/p&gt;
&lt;p&gt;What changes exactly did you make when you were porting your project from 840 to 832?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>