<?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>Periodic Adv on nRF52833</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/79997/periodic-adv-on-nrf52833</link><description>Hello, 
 I&amp;#39;m testing periodic advertising sample (sample/bluetooth/periodic_adv,with no changes to the code) on nRF Connect SDK 1.7.0, on BBC MICORBIT V2 that has a nRF52833 chip. 
 The code returns an error at: &amp;quot; err = bt_le_per_adv_set_param(adv, BT_LE_PER_ADV_DEFAULT</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Dec 2021 01:59:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/79997/periodic-adv-on-nrf52833" /><item><title>RE: Periodic Adv on nRF52833</title><link>https://devzone.nordicsemi.com/thread/343289?ContentTypeID=1</link><pubDate>Tue, 14 Dec 2021 01:59:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3fba92a-0bec-4d8d-b592-7411144deb78</guid><dc:creator>yoyou</dc:creator><description>&lt;p&gt;ok&amp;nbsp; thanks&lt;/p&gt;
&lt;p&gt;run&lt;/p&gt;
&lt;p&gt;\ncs1.7.1\toolchain\git-cmd.cmd&amp;nbsp;&lt;/p&gt;
&lt;p&gt;enter&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;\ncs1.7.1\zephyr\samples\bluetooth\periodic_adv\build_nrf52840dk_nrf52840\&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;west flash&lt;/p&gt;
&lt;p&gt;west build -b nrf52840dk_nrf52840&lt;/p&gt;
&lt;p&gt;using west builded once,then it will be can build and debug by SES IDE.&lt;/p&gt;
&lt;p&gt;good luck.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Periodic Adv on nRF52833</title><link>https://devzone.nordicsemi.com/thread/343127?ContentTypeID=1</link><pubDate>Mon, 13 Dec 2021 11:11:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39064233-dc99-4de8-a77d-ecd53202ea43</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello Yu,&lt;/p&gt;
&lt;p&gt;Please create a new case ticket for this.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Periodic Adv on nRF52833</title><link>https://devzone.nordicsemi.com/thread/343065?ContentTypeID=1</link><pubDate>Mon, 13 Dec 2021 08:15:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d080a0a-4ce2-4c1d-aa83-e27fd9648bef</guid><dc:creator>yoyou</dc:creator><description>&lt;p&gt;52840DK,error 0xffffff7a&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/776x670/__key/communityserver-discussions-components-files/4/5751.pastedimage1639382581129v1.png" /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/525x328/__key/communityserver-discussions-components-files/4/3617.pastedimage1639382712690v3.png" /&gt;&lt;/p&gt;
&lt;p&gt;thanks a lot&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Periodic Adv on nRF52833</title><link>https://devzone.nordicsemi.com/thread/333500?ContentTypeID=1</link><pubDate>Mon, 11 Oct 2021 12:13:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:862f955a-5888-4145-a868-dfa28371ebd4</guid><dc:creator>liulibo</dc:creator><description>&lt;p&gt;Thanks so much Elfving,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I just verified your solution, it does the trick. Now I can continue my development.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1633954333603v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Best wishes,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Libo&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Periodic Adv on nRF52833</title><link>https://devzone.nordicsemi.com/thread/333453?ContentTypeID=1</link><pubDate>Mon, 11 Oct 2021 10:51:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c912366e-8283-403b-af29-06026ea0d442</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello Libo!&lt;/p&gt;
&lt;p&gt;Ah, yes it seems that you would need these two configurations as well:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;CONFIG_BT_CTLR_ADV_EXT=y&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;CONFIG_BT_CTLR_ADV_PERIODIC=y&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It should work now, I just tried it myself. If you want to try the periodic sync example you would need&amp;nbsp;&lt;/span&gt;CONFIG_BT_CTLR_SYNC_PERIODIC.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Elfving&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Periodic Adv on nRF52833</title><link>https://devzone.nordicsemi.com/thread/333151?ContentTypeID=1</link><pubDate>Fri, 08 Oct 2021 01:52:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef770baa-7e39-44b8-bdcc-8427c4e31a03</guid><dc:creator>liulibo</dc:creator><description>&lt;p&gt;Thanks very much Elfving, Using the same workspace I did yesterday, I applied this config in the prj.conf file. Now the output has a different error code ( -5), see the screenshot below. I believe it still doesn&amp;#39;t work. Could you provide a validated example as part of nrf Connect, as you stated the periodic advertising is supported by nrf52833 and nrf52840.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks a lot,&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/500x240/__key/communityserver-discussions-components-files/4/1008.png" /&gt;&lt;/p&gt;
&lt;p&gt;And the prj.conf file is:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;CONFIG_BT=y&lt;br /&gt;CONFIG_BT_EXT_ADV=y&lt;br /&gt;CONFIG_BT_PER_ADV=y&lt;br /&gt;CONFIG_BT_DEBUG_LOG=y&lt;br /&gt;CONFIG_BT_DEVICE_NAME=&amp;quot;Test Periodic Advertising&amp;quot;&lt;br /&gt;CONFIG_BT_LL_SW_SPLIT=y&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Periodic Adv on nRF52833</title><link>https://devzone.nordicsemi.com/thread/333015?ContentTypeID=1</link><pubDate>Thu, 07 Oct 2021 11:36:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1fa74b84-585a-4fc2-bb14-c6a1739404d6</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hey again Libo!&lt;/p&gt;
&lt;p&gt;I am sorry, I see now that you are right&amp;nbsp;in that there is an issue using that sample&amp;nbsp;without some configuration.&amp;nbsp;It&amp;nbsp;is a zephyr example, and the Nordic softdevice controller&amp;nbsp;does not currently support periodic advertising. This means that you would have to switch to using the Zephyr controller for the example to work.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can do this by adding CONFIG_BT_LL_SW_SPLIT=y to your configuration file.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Periodic Adv on nRF52833</title><link>https://devzone.nordicsemi.com/thread/332714?ContentTypeID=1</link><pubDate>Wed, 06 Oct 2021 04:02:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8acb11e2-0d38-4c43-ac04-918054cdef5e</guid><dc:creator>liulibo</dc:creator><description>&lt;p&gt;Thank Elfving, maybe I should have posted some screenshoting that could help you debug the issue.&lt;/p&gt;
&lt;p&gt;To keep steps simple, let focus on the &lt;strong&gt;nRF9160DK (PCA10090 V1.0.0, 2021.11)&lt;/strong&gt; board for this issue, I just created the workspace using&amp;nbsp;the Segger Embedded Studio which comes with nRF Connect SDK 1.7.0 for macOS ( I&amp;#39;m using macOS Big Sur v11.6, I remember I got same result from my Ubuntu as well).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;0. Launch the Segger Embedded Studio from nRF Connect v3.7.1 Toolchain Manager, choosing nRF Connect SDK V1.7.0 Open IDE.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. Import project with the following configuration, I did a clean build, all good.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " height="308" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/1563.ws.png" width="481" /&gt;&lt;/p&gt;
&lt;p&gt;2. Without any code change, build the project and run on the nRF9160dk, on the nRF52840 MCU, by clicking Debug-&amp;gt; Go. I can see from the terminal shown as below. You can see the second line print &amp;quot;Fail to set periodic advertising ...&amp;quot;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " height="290" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/tty.jpg" width="366" /&gt;&lt;/p&gt;
&lt;p&gt;3. I reset the session and set a breakpoint to capture &amp;quot;&lt;/p&gt;
&lt;pre&gt;err = bt_le_per_adv_set_param(adv, BT_LE_PER_ADV_DEFAULT);&amp;quot;&lt;/pre&gt;
&lt;p&gt;shown as below:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " height="279" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/0385.segger.jpg" width="490" /&gt;&lt;/p&gt;
&lt;p&gt;Hope this can help you replicate the issue.&amp;nbsp;Let me know what I missed in bringup the function.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks a lot.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Libo&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Periodic Adv on nRF52833</title><link>https://devzone.nordicsemi.com/thread/332538?ContentTypeID=1</link><pubDate>Tue, 05 Oct 2021 09:12:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b169a12-8430-4c62-82e3-ff6ba909b00b</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hey Libo, sorry about the delay!&lt;/p&gt;
[quote user=""]Could you advice what is the root cause? Is it on the chip or some code configuration?&amp;nbsp;[/quote][quote user="liulibo"]I think this is the same error I got when I pick nrf9160_nrf52840 and test on my nrf9160dk board[/quote]
&lt;p&gt;That is weird, the periodic_adv example should work on the BBC Microbit, as well as on the&amp;nbsp;&lt;span&gt;nrf9160_nrf52840. It does for me.&lt;/span&gt;&lt;/p&gt;
[quote user="liulibo"]I know that the nrf52840 is not supported for this example though.&amp;nbsp;[/quote]
&lt;p&gt;&lt;span&gt;What is giving you that impression?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I assume you have built and flashed other samples to these boards successfully?&amp;nbsp;Could you try checking the &amp;quot;Clean Build Directory&amp;quot; checkbox before opening the project?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Elfving&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Periodic Adv on nRF52833</title><link>https://devzone.nordicsemi.com/thread/332068?ContentTypeID=1</link><pubDate>Fri, 01 Oct 2021 07:44:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b138310-9286-4f71-9747-87aac11b36da</guid><dc:creator>liulibo</dc:creator><description>&lt;p&gt;Thanks so much. I think this is the same error I got when I pick nrf9160_nrf52840 and test on my nrf9160dk board - I know that the nrf52840 is not supported for this example though.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Periodic Adv on nRF52833</title><link>https://devzone.nordicsemi.com/thread/331348?ContentTypeID=1</link><pubDate>Mon, 27 Sep 2021 14:16:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9d519aa-04eb-4cc4-9b03-f52ce6e6fc35</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello Libu!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am looking into it, but I will have to get back to you.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>