<?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 BLE radio not broadcasting</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/20395/nrf52832-ble-radio-not-broadcasting</link><description>I have a project I&amp;#39;ve developed on a dev board, and everything works. When integrating this into a custom board and running the firmware, however, I&amp;#39;m not getting any BLE radio signal whatsoever. I&amp;#39;m flashing the same code and softdevice that I have been</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 18 Jun 2018 14:00:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/20395/nrf52832-ble-radio-not-broadcasting" /><item><title>RE: NRF52832 BLE radio not broadcasting</title><link>https://devzone.nordicsemi.com/thread/136581?ContentTypeID=1</link><pubDate>Mon, 18 Jun 2018 14:00:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a790ab35-8571-4167-b4e7-a9fab981246a</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;You should post this as a new question.&amp;nbsp; When people make custom boards there a many, many mistakes that are often made.&lt;/p&gt;
&lt;p&gt;Just your comment about the LFRC using 3mA doesn&amp;#39;t make any sense and points to hardware problems. The LFRC uses less than 1uA and then needs to run a cal every few seconds.&amp;nbsp; Overall usage is around 2uA average.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 BLE radio not broadcasting</title><link>https://devzone.nordicsemi.com/thread/136022?ContentTypeID=1</link><pubDate>Thu, 14 Jun 2018 01:20:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c2e97ac-8376-4fe3-99f4-10ea42d90eb1</guid><dc:creator>Vijay</dc:creator><description>&lt;p&gt;Hi, can you tell me what the&amp;nbsp;solution was? I have a custom board with nRF52810 and I am using a 32 MHz clock too. My BLE radio isn&amp;#39;t working either. My code worked perfectly on the nRF52832 DK emulating as a nRF52810. I tried switching to the internal RC oscillator but that increases the current consumption to ~ 3 mA. Any help would be gladly appreciated!&lt;br /&gt;&lt;br /&gt;- vivenkat&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 BLE radio not broadcasting</title><link>https://devzone.nordicsemi.com/thread/79521?ContentTypeID=1</link><pubDate>Sun, 12 Mar 2017 18:28:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17d08f3d-19c2-455b-94d6-96da7ef165f4</guid><dc:creator>mlsor</dc:creator><description>&lt;p&gt;Thanks for taking a look. I got the issue resolved.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 BLE radio not broadcasting</title><link>https://devzone.nordicsemi.com/thread/79520?ContentTypeID=1</link><pubDate>Sun, 12 Mar 2017 16:23:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18e0b894-4993-4cc4-8a49-ac09142b9481</guid><dc:creator>AmbystomaLabs</dc:creator><description>&lt;p&gt;Can you provide a screen shot of the grounding and vias under the nRF?   Also send one out of the ground plane on bottom too. Hard to tell from the png you sent out but it looks like there are only a few vias on one side of the nRF.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 BLE radio not broadcasting</title><link>https://devzone.nordicsemi.com/thread/79527?ContentTypeID=1</link><pubDate>Sun, 12 Mar 2017 06:39:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f8cd2b8-0647-4a83-89c9-71a662208b05</guid><dc:creator>mlsor</dc:creator><description>&lt;p&gt;I found a bit of code in the SDK that allowed my app to block until the softdevice enabled the HF clock.  This code works and passes the wait on the dev board. It does not on my custom board, so I&amp;#39;m certain now that the radio issue is due to the HF clock.  I might have expected the BLE init itself to error if a dependency of the radio could not be found. At any rate, that gives me something to look into.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 BLE radio not broadcasting</title><link>https://devzone.nordicsemi.com/thread/79526?ContentTypeID=1</link><pubDate>Sun, 12 Mar 2017 05:38:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44531c90-75e9-441f-bc97-e562c33897d6</guid><dc:creator>mlsor</dc:creator><description>&lt;p&gt;&amp;quot;The clock control system can source the system clocks from a range of internal or external high and low frequency oscillators and distribute them to modules based upon a module’s individual requirements. Clock distribution is automated and grouped independently by module to limit current consumption in unused branches of the clock tree.&amp;quot;&lt;/p&gt;
&lt;p&gt;Seems like maybe it is falling back to HFINT?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 BLE radio not broadcasting</title><link>https://devzone.nordicsemi.com/thread/79525?ContentTypeID=1</link><pubDate>Sun, 12 Mar 2017 05:30:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6e4a3e1-392d-451d-9edb-c1216630a09f</guid><dc:creator>mlsor</dc:creator><description>&lt;p&gt;Ok, now I&amp;#39;m a bit confused. I thought that having the LF clock set to the internal RC would be enough to know that the HF crystal was working. Based on the post I mentioned in the original comment, I am thinking that the HF crystal is absolutely required for the radio. However, I completely removed the HF crystal from the board, and it hasn&amp;#39;t changed anything; flash reads/writes still work, timers, softdevice init, GPIO driving the stepper motor, it all works as before.  Short of having a fairly high bandwidth probe (mine is only 60 MHz 10x probe), how can I tell that the HF oscillator is up? Is there something besides the lack of radio that I can use to troubleshoot it? I feel like perhaps I&amp;#39;m on to something here...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 BLE radio not broadcasting</title><link>https://devzone.nordicsemi.com/thread/79523?ContentTypeID=1</link><pubDate>Sun, 12 Mar 2017 00:04:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20500253-4d99-4bdd-8eef-ea78c04a75ee</guid><dc:creator>mlsor</dc:creator><description>&lt;p&gt;Yeah, I think there must be something going on, but even with a bad layout I&amp;#39;d expect a few centimeters of range. I&amp;#39;ve posted the antenna layout and network, it is from the reference design. That&amp;#39;s why I was wondering if perhaps there may be some sort of fuse or register required to be set to enable the radio, something that would have come from the factory with the reference board but not with a chip from factory.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 BLE radio not broadcasting</title><link>https://devzone.nordicsemi.com/thread/79524?ContentTypeID=1</link><pubDate>Sat, 11 Mar 2017 22:28:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a6a7405-a1af-4f73-a9c0-0d9dc10d14d1</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Oh I&amp;#39;ve misunderstood that your FW is not starting at all after moving to custom board. This really looks like antenna/matching network problem. So SD init and enable functions return success and all other SD calls are working? I would try some pre-compiled examples from nRF5 SDK and if symptoms are similar then it really looks like layout/population issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 BLE radio not broadcasting</title><link>https://devzone.nordicsemi.com/thread/79522?ContentTypeID=1</link><pubDate>Sat, 11 Mar 2017 21:14:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b833809-87de-45d9-8fd0-fad031a84eb3</guid><dc:creator>mlsor</dc:creator><description>&lt;p&gt;Thanks for the input. I&amp;#39;ll look through these things. It does boot and all of the functionality is there, but there is just no radio whatsoever. The layout was derived from the reference radio board layout from Nordic.&lt;/p&gt;
&lt;p&gt;For the LF crystal, I actually have two software builds, one that uses the internal RC and another that uses the external. I was using it to determine the power savings difference. Both work with the custom board.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using a timer, FDS, GPIO, it all works. I&amp;#39;m not using the GPIO near the radio. I tried a few different capacitance values with the HF crystal, though I assume nothing would work if this wasn&amp;#39;t oscillating.&lt;/p&gt;
&lt;p&gt;UPDATE: The PCB assembler provides parts libraries for their &amp;quot;favorite&amp;quot; stocked parts. It turns out that the part layout for the crystal I&amp;#39;m using has the pins swapped as though the person who designed it thought the &amp;#39;top view&amp;#39; in the data sheet was a view from the bottom. I was able to turn the part 90 degrees to get the ground and clock corners to align correctly and all is well.&lt;/p&gt;
&lt;p&gt;Between this and the other issue linked in the original post, if you are reading this because you can&amp;#39;t see your radio, but everything else seems to be working fine, it is most likely an issue with your high frequency clock. The NRF52 will fall back to its internal HF oscillator (HFINT) if the crystal is not oscillating and your code will likely be none the wiser. To verify that the high frequency crystal is working, you can add something like this to your code after the softdevice is set up, but before you do anything that requires the radio:&lt;/p&gt;
&lt;blockquote&gt;
&lt;pre&gt;&lt;code&gt;err_code = sd_clock_hfclk_request();
APP_ERROR_CHECK(err_code);

uint32_t hfclk_is_running = 0;

while (!hfclk_is_running) {
    APP_ERROR_CHECK(sd_clock_hfclk_is_running(&amp;amp;hfclk_is_running));
}
&lt;/code&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;p&gt;The code above would block until the HF clock is started, and in my example it would pass on the dev board but block indefinitely on my board, until I fixed the crystal orientation. In my opinion, any library that would want to use the radio **cough BLE stack ** should have a variant of this and return an error on initialize if the HF clock (or any other dependency) is not working.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 BLE radio not broadcasting</title><link>https://devzone.nordicsemi.com/thread/79528?ContentTypeID=1</link><pubDate>Sat, 11 Mar 2017 20:23:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c21692ed-b301-483b-b896-9e46bb1432b3</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Not easy to debug HW issue through the forum;) but the usual differences between nRF5x boards preventing FWs to boot are:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Different LF clock source (crystal/no crystal or faulty/not precise crystal).&lt;/li&gt;
&lt;li&gt;Different GPIO settings which is causing hard fault or other deadlock during start-up (e.g. when APP code assumes to initialize some serial or GPIOTE interface, reads button state etc.)&lt;/li&gt;
&lt;li&gt;Layout issue (usually cause by having too tight PCB real estate and not following Nordic design guidelines) causing problem with power source or nRF5x DCDC circuit.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Debugging first one can be done by using synthesized LF clock from HF clock source during SD init (it&amp;#39;s not officially tested by Nordic but it works). Debugging second issue can be done by removing all these sections before enabling SD and starting BLE Peripheral advertising (or simply by making sure that all GPIO values/links are correct). Third type of issue is hard to debug in FW, you can comment out DCDC enabling if you have it in the boot sequence (it helped me once to discover faulty HW design around DCDC components around nRF52).&lt;/p&gt;
&lt;p&gt;Cheers Jan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>