<?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>Programming blank nRF52 ic ble issue - crystal issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19322/programming-blank-nrf52-ic-ble-issue---crystal-issue</link><description>Hi 
 Last year I got a nRF52 devboard and I modified the ble uart peripheral example to flash a led depending on what it recieves from nRF uart app.
It all worked fine(after some forum consulting) so I decided to try making my own version of the devboard</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 31 Jan 2017 12:41:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19322/programming-blank-nrf52-ic-ble-issue---crystal-issue" /><item><title>RE: Programming blank nRF52 ic ble issue - crystal issue</title><link>https://devzone.nordicsemi.com/thread/74931?ContentTypeID=1</link><pubDate>Tue, 31 Jan 2017 12:41:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dfee9b22-f2b1-4719-a27a-e95de3da4e44</guid><dc:creator>Dajgoro Labinac</dc:creator><description>&lt;ol&gt;
&lt;li&gt;Yes, I took care to leave as much ground plane as I could, and stitch it where is possible.&lt;/li&gt;
&lt;li&gt;I copied the capacitor values from the devboard schematic, which might be the issue when using another crystal. I kinda bodged the smaller smd crystal on my pcb so I don&amp;#39;t want to experiment on it anymore. I will solder a fresh PCB and try putting different capacitor values.&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming blank nRF52 ic ble issue - crystal issue</title><link>https://devzone.nordicsemi.com/thread/74930?ContentTypeID=1</link><pubDate>Tue, 31 Jan 2017 11:28:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9263a597-17f7-4df7-bed4-3e77547bedcd</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Okay, I see.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Do you have a lot of ground on your PCB?&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The load capacitors for the 32 MHz crystal you are using, did you calculate the their value with respect to the crystal specification, using the formula in the tutorial I linked to? Wrong  value on those capacitors will lead to wrong frequency of the crystal, which again will lead to wrong carrier frequency in the radio.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming blank nRF52 ic ble issue - crystal issue</title><link>https://devzone.nordicsemi.com/thread/74929?ContentTypeID=1</link><pubDate>Tue, 31 Jan 2017 10:45:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d375224f-311d-4cd0-b7fd-d33a75c71633</guid><dc:creator>Dajgoro Labinac</dc:creator><description>&lt;p&gt;I got it as tight as possible on a 2L board.
Its not the issue with my board since the same issue happens on the devboard when I replace the 32MHz crystal there. So both boards behave identically with the crystals.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming blank nRF52 ic ble issue - crystal issue</title><link>https://devzone.nordicsemi.com/thread/74928?ContentTypeID=1</link><pubDate>Tue, 31 Jan 2017 10:06:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1d1fc6a-ebae-40f8-bd44-daa843d9f776</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;What about the layout?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming blank nRF52 ic ble issue - crystal issue</title><link>https://devzone.nordicsemi.com/thread/74927?ContentTypeID=1</link><pubDate>Tue, 31 Jan 2017 10:03:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97c6e98f-eaa2-4561-a111-7abce1b09f98</guid><dc:creator>Dajgoro Labinac</dc:creator><description>&lt;p&gt;I just copied the schematic of the devboard and added voltage level converters and a max232 for serial.
Thanks for that link.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming blank nRF52 ic ble issue - crystal issue</title><link>https://devzone.nordicsemi.com/thread/74926?ContentTypeID=1</link><pubDate>Tue, 31 Jan 2017 08:21:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ccc87cb1-78d3-4a70-9d44-1620d7c0710f</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;@D101h: Could you upload the schematic and layout of the RF part of your PCB? Also, for some design guidelines with nRF52, it can be useful to take a look at &lt;a href="https://devzone.nordicsemi.com/tutorials/35/"&gt;this&lt;/a&gt; tutorial.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming blank nRF52 ic ble issue - crystal issue</title><link>https://devzone.nordicsemi.com/thread/74925?ContentTypeID=1</link><pubDate>Mon, 30 Jan 2017 16:03:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1319959-26e1-48b0-9404-5c354de60f83</guid><dc:creator>Dajgoro Labinac</dc:creator><description>&lt;p&gt;There are two crystals, the 32.768kHz crystal oscillates constantly once the softdevice is programmed, and the other 32MHz crystal works in bursts. I even had issues with the 32kHz crystal that on the PCB i made i used a jelly bean watch crystal which did not work, but when I soldered a smaller(smd) one it worked.
But this other is really strange, since when using the 32MHz crystal seems to work, but it does not.
The issue is so sensitive that I can&amp;#39;t figure it out by just watching the oscilloscope waveform, I&amp;#39;ll have to make a more complex analysis. I have to know how to properly design the crystal section because I am developing a product which will use the nRF52 and I don&amp;#39;t want devices mysteriously failing because of some oddity. Maybe I could ask on the eevblog forum.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming blank nRF52 ic ble issue - crystal issue</title><link>https://devzone.nordicsemi.com/thread/74923?ContentTypeID=1</link><pubDate>Mon, 30 Jan 2017 14:19:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ed05078-56e4-48ca-9905-4fcbf8b5bf58</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;Ah right. You mean 32khz oscillator? it is required to have at least +-250ppm frequency tolerance. I don&amp;#39;t know about capacitors, but they have to be matched correctly somehow too (it is described somewhere here on the forum i think). So, it was clearly the hardware problem. Glad you solved it :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming blank nRF52 ic ble issue - crystal issue</title><link>https://devzone.nordicsemi.com/thread/74924?ContentTypeID=1</link><pubDate>Mon, 30 Jan 2017 13:51:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71c1d990-1810-42a2-b008-2514e5811011</guid><dc:creator>Dajgoro Labinac</dc:creator><description>&lt;p&gt;Found the problem! Thanks Wojtek for the support!
Since you confirmed that all the steps were right, I went back to the HW.
Once when I was fiddling with the devboard I accidentally blasted off the 32MHz crystal with hot air, so I placed some other crystal and checked it works with oscilloscope. And that seems to be the problem. The crystals (hc49 and smd ones) don&amp;#39;t work. I have a DS2072A oscillsocope and I compared the waveforms of the original crystal from the new board and the waveform of the replaced crystal and they look identical. I can&amp;#39;t figure out what makes the difference (yet), but must be something related to the crystal impendace. I bodged the smaller crystal from the devboard to my PCB and it works!
What parameters are different with the crystal from the devboard compared to some other random crystal?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming blank nRF52 ic ble issue - crystal issue</title><link>https://devzone.nordicsemi.com/thread/74922?ContentTypeID=1</link><pubDate>Mon, 30 Jan 2017 11:35:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b21e0b52-5835-49e9-b3c7-e29b9c788423</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;What I do with all my custom boards is just (in nrfgo studio or something else): full erase -&amp;gt; flash softdevice -&amp;gt; flash application. And so it works smoothly, of course. If you also do that steps and app does not work, something is wrong with your hardware. Maybe soldering, maybe something else. Are you able to debug?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming blank nRF52 ic ble issue - crystal issue</title><link>https://devzone.nordicsemi.com/thread/74921?ContentTypeID=1</link><pubDate>Mon, 30 Jan 2017 11:15:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bc784be-92cf-40ab-8f1a-38e8b5b8067c</guid><dc:creator>Dajgoro Labinac</dc:creator><description>&lt;p&gt;I tried fiddling with the hw a lot, and with the crystal too. I probed it with an oscilloscope and both crystals work fine. That is when I decided to replace the mcu on the devboard with a fresh one, and now I can&amp;#39;t get that devboard working either.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming blank nRF52 ic ble issue - crystal issue</title><link>https://devzone.nordicsemi.com/thread/74920?ContentTypeID=1</link><pubDate>Mon, 30 Jan 2017 10:57:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2a8e98b-3bdb-45e0-9b85-ec9d2c15b50b</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;If the same program works on DK and does not work on Your board, I would rather look on hardware for a problem, not the software... Just one blind shot - do you have 32khz crystal as LFCLK source?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>