<?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>Sending advertising packets using NRF_RADIO</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/104652/sending-advertising-packets-using-nrf_radio</link><description>I have the following set up: 1) an NRF timer which triggers the timer-handler 
 2) an NRF radio peripheral which is triggered by the timer-handler 
 3) an NRF radio transmission which is fired in radio-handler 
 
 Timer-handler (interrupt routine): 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 26 Oct 2023 05:41:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/104652/sending-advertising-packets-using-nrf_radio" /><item><title>RE: Sending advertising packets using NRF_RADIO</title><link>https://devzone.nordicsemi.com/thread/452411?ContentTypeID=1</link><pubDate>Thu, 26 Oct 2023 05:41:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f83e92dd-315a-4638-a555-49f5b56a8ecc</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;These example projects are all for the&lt;a href="https://www.nordicsemi.com/Products/Development-software/nRF5-SDK/Download#infotabs"&gt; nRF5 SDK&lt;/a&gt; and not for the nRF Connect SDK. For the nRF Connect SDK there is only the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/peripheral/radio_test/README.html"&gt;radio test sample&lt;/a&gt; that is documented here and located in the &lt;strong&gt;nrf/samples/peripheral/&lt;/strong&gt; folder in NCS.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending advertising packets using NRF_RADIO</title><link>https://devzone.nordicsemi.com/thread/452044?ContentTypeID=1</link><pubDate>Tue, 24 Oct 2023 15:30:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:478a605c-97da-4cbd-9665-22afff4bd2e5</guid><dc:creator>Omid</dc:creator><description>&lt;p&gt;Hi Simone, thanks, could you please provide the Github link because&amp;nbsp;I do not find this example in my local ncs folder.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending advertising packets using NRF_RADIO</title><link>https://devzone.nordicsemi.com/thread/451978?ContentTypeID=1</link><pubDate>Tue, 24 Oct 2023 12:57:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d873ecac-12c8-421f-b169-907480077990</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;We have the&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.1.0%2Fexamples_hw_peripheral_devices.html"&gt; radio test, receiver and transmitter samples&lt;/a&gt; all running the radio with the NRF_RADIO peripheral. The &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/nrf_dev_radio_tx_example.html"&gt;transmitter &lt;/a&gt;for instance is configured to send packets on a button press, and should be fine to build and run on SEGGER Embedded Studios with a Mac as well as Windows. It should also be easy to test and see the current consumption spike when pressing the button to send packets of data.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending advertising packets using NRF_RADIO</title><link>https://devzone.nordicsemi.com/thread/451771?ContentTypeID=1</link><pubDate>Mon, 23 Oct 2023 14:45:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18fa23ce-3947-444b-9409-d9c51e5b24cf</guid><dc:creator>Omid</dc:creator><description>&lt;p&gt;Thanks Simonr, I am using NRF52840 SDK. Is there any functioning code that uses bare-metal except for the solar sensor? I am not able to flash solar sensor as it does not have a Cmake file and I was not also able to work around the makefile provided in that project, I guess that project can only be used on a Windows machine. I am using a Mac.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending advertising packets using NRF_RADIO</title><link>https://devzone.nordicsemi.com/thread/451704?ContentTypeID=1</link><pubDate>Mon, 23 Oct 2023 11:55:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68faa201-2360-46c6-ae7f-24c2b3a3e502</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;The reason you see a discrepancy between the online power profiler and your own Power Profiler trace is because you&amp;#39;re using the radio register by itself instead of the SoftDevice and BLE to advertise. The Online Power profiler specifically shows the current consumption of a BLE advertising event, and not&amp;nbsp;&lt;strong&gt;just&amp;nbsp;&lt;/strong&gt;the nRF&amp;#39;s radio peripheral running.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not able to spot a specific issue in your project code, and for just running a project bare-metal with the radio peripheral shouldn&amp;#39;t require the SoftDevice, but it&amp;#39;s strongly recommended to use for doing BLE communication.&lt;/p&gt;
&lt;p&gt;Are you using a DK or a custom board for testing this? This could also be a HW issue from what I can see.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending advertising packets using NRF_RADIO</title><link>https://devzone.nordicsemi.com/thread/451371?ContentTypeID=1</link><pubDate>Thu, 19 Oct 2023 16:25:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1bd20dba-8f85-4c81-843b-52e081ce7cca</guid><dc:creator>Omid</dc:creator><description>&lt;p&gt;Thanks Simor, as I mentioned in the origin question, I am already using the NRFSniffer which is hooked up to the wireshark. Also, I provided the PPK pictures which shows spikes, but those spikes do not match the ones mentioned on the NRF online power profile webpage.&lt;br /&gt;&lt;br /&gt;I am wondering what part of my code is wrong.&lt;br /&gt;I do not have any settings for soft device, so I suppose I am not using the soft device. Is that the issue?&lt;br /&gt;&lt;br /&gt;I already analyzed the radio_test sample and it seems everything I did match with that example. (As far as I am aware of).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending advertising packets using NRF_RADIO</title><link>https://devzone.nordicsemi.com/thread/451004?ContentTypeID=1</link><pubDate>Wed, 18 Oct 2023 09:13:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5a8ad2c-0ded-4d4a-9dd0-aedbe7bd4a61</guid><dc:creator>Simonr</dc:creator><description>[quote user="BlueLogic"]if you advertise with the correct packet structure on 2480 MHz band, any BLE device will be able to see the advertisement[/quote]
&lt;p&gt;That may be, but it will be outside of the BLE specification and contradicting the BLE SIG, so you wouldn&amp;#39;t be legally allowed to promote your device commercially as BLE compliant I believe, but if it&amp;#39;s only for personal use I guess you&amp;#39;ll be fine.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You should see that the radio peripheral is started with a spike of some kind in the Power Profiler for example. How have you connected the Power Profiler to the DK on your end?&amp;nbsp;&lt;span&gt;If you connect the VOUT cable from the PPK to the topmost pin on pin header P22 and either GND cable to GND on the DK, then power the DK with a USB cable as normal you should be able to see the current consumption of just the nRF52832. You could also use a sniffer of some kind to catch packets transmitted over the air. Using an additional DK with the &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-sniffer-for-bluetooth-le"&gt;nRF Sniffer&lt;/a&gt; firmware should be viable for example (if within the BLE range of channels).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I&amp;#39;d recommend using the radio test sample project to see the radio peripheral with the &lt;strong&gt;radio_start&lt;/strong&gt;() function for example.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending advertising packets using NRF_RADIO</title><link>https://devzone.nordicsemi.com/thread/450656?ContentTypeID=1</link><pubDate>Mon, 16 Oct 2023 16:09:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33825183-2965-4504-b049-8c6b8a5298ff</guid><dc:creator>Omid</dc:creator><description>&lt;p&gt;&lt;br /&gt;I am pretty sure that, if you advertise with the correct packet structure on 2480 MHz band, any BLE device will be able to see the advertisement. I believe&amp;nbsp;this random delay wouldn&amp;#39;t&amp;nbsp;make any difference in detection of signals on 2480 MHz band which is the BLE advertising channel number 39. (The only issue could be packet loss due to collision, which is not my concern for now.)&lt;br /&gt;&lt;br /&gt;Also, let&amp;#39;s put aside what is my end goal and not focus on the compatibility issue and let&amp;#39;s forget about the BLE compatibility for now.&lt;br /&gt;(Although I know that&amp;nbsp;people already have implemented&amp;nbsp;similar proprietary protocols.)&lt;br /&gt;&lt;br /&gt;I am using nrf52840 sdk and nrf connect 2.2.&lt;/p&gt;
&lt;p&gt;Let&amp;#39;s just assume I want to send &amp;quot;something&amp;quot; with NRF_RADIO.&lt;br /&gt;&lt;br /&gt; How I can verify that my transmitter is sending something. &lt;br /&gt;&lt;br /&gt;From the Power-profiler above, it does not seem to be &amp;nbsp;sending anything.&lt;br /&gt;&lt;br /&gt;Could you please analyze the code and tell me what could &amp;nbsp;have caused the issue?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending advertising packets using NRF_RADIO</title><link>https://devzone.nordicsemi.com/thread/450463?ContentTypeID=1</link><pubDate>Mon, 16 Oct 2023 08:10:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8f6e7f1-f25e-4e96-818b-af72fb817b36</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
[quote user="BlueLogic"]My end goal is to create a proprietary&amp;nbsp;communication protocol which is intractable and compatible with BLE.[/quote]
&lt;p&gt;This won&amp;#39;t be possible I&amp;#39;m afraid. BLE is a strict protocol that will only be compatible with other BLE devices, and devices will need to be certified as per the Bluetooth SIG specification. The best way to do this would be to have the standard implementation of BLE with the SoftDevice, and have the proprietary communication protocol run &amp;quot;on the side&amp;quot; when BLE is not used.&lt;/p&gt;
&lt;p&gt;The SoftDevice will need to be flashed onto the board you&amp;#39;re using as it is an image of its own. I&amp;#39;d recommend reading up on what the SoftDevice is and how to use it &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/getting_started_softdevice.html"&gt;here&lt;/a&gt;. What SDK version are you planning on using, Since it seems like you&amp;#39;re currently working with the nRF5 SDK, I&amp;#39;d also recommend checking out &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf-connect-sdk-and-nrf5-sdk-statement"&gt;this nRF Connect SDK statement&lt;/a&gt; regarding the state of our SDKs and what we recommend for new designs.&lt;/p&gt;
&lt;p&gt;Regarding what you want to do, that&amp;#39;s not possible, as the BLE stack and specification implements a randomized delay of 0-20ms between advertisements. Other BLE devices won&amp;#39;t be compatible, and your device will be out of specification if you don&amp;#39;t follow the BLE stack. If your application can&amp;#39;t have this random delay, BLE won&amp;#39;t be the stack you&amp;#39;re looking for I&amp;#39;m afraid.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending advertising packets using NRF_RADIO</title><link>https://devzone.nordicsemi.com/thread/450377?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2023 16:13:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a36090f7-a09b-4324-8647-434e19cd93a3</guid><dc:creator>Omid</dc:creator><description>&lt;p&gt;Yes, I am using NRF sniffer hooked up to wireshark and sniffing on the BLE packets.&lt;br /&gt;My end goal is to create a proprietary&amp;nbsp;communication protocol which is intractable and compatible with BLE.&lt;br /&gt;In this regard, I try to first build a simple advertiser and from there add more functionalities.&lt;br /&gt;Is there any CONFIG that I need to use to enable the soft device? How I can include the soft device so that my developed&amp;nbsp;application works properly?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In other words, how I can fix the&amp;nbsp;issue? I have found&amp;nbsp;&lt;strong&gt;&lt;span&gt; &lt;/span&gt;&lt;a class="el" title="Enables the SoftDevice and by extension the protocol stack." href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s140.api.v5.0.0/group___n_r_f___s_d_m___f_u_n_c_t_i_o_n_s.html#ga420235cbdf6b0746ce86af3cfd0ec055"&gt;sd_softdevice_enable&lt;/a&gt;&amp;nbsp;&lt;/strong&gt;function, is that the one I need to include? Should I add this to my application?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;More detail on what I want to do;&amp;nbsp;I basically want to send BLE advertising message on exact times and todo so, I want to use NRF_RADIO instead of the already developed BLE APIs, because the timing that I am looking for is different from the ones BLE stack implements, especially the fact that they introduce certain random delay between packets, which I do not want to have that uncertainty.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sending advertising packets using NRF_RADIO</title><link>https://devzone.nordicsemi.com/thread/450346?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2023 14:41:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3d2897a-9bf7-4601-a99d-2fd0c7a14351</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I assume you&amp;#39;ve set up the nRF Sniffer for BLE to use the Bluetooth Low Energy profile? If so, using just the&amp;nbsp;NRF_RADIO without the SoftDevice to follow the Bluetooth specification you won&amp;#39;t be able to detect &amp;quot;non-BLE&amp;quot; data. What exactly is your end goal here and what are you trying to see exactly? If the point is to test that the radio works correctly I&amp;#39;d recommend checking out the radio test example project for example.&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/nrf_radio_test_example.html"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/nrf_radio_test_example.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>