<?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>BLE with sdk on a nrf52832</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/99930/ble-with-sdk-on-a-nrf52832</link><description>Hi, I&amp;#39;m trying to start developing an application on a nrf52832 (using a chinese module &amp;quot;E73-TBB&amp;quot;). But I can&amp;#39;t get any BLE example to work. I can compile and upload, but when I try to scan for bluetooth devices, can&amp;#39;t find any. 
 I&amp;#39;ve already tested</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 May 2023 12:02:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/99930/ble-with-sdk-on-a-nrf52832" /><item><title>RE: BLE with sdk on a nrf52832</title><link>https://devzone.nordicsemi.com/thread/426893?ContentTypeID=1</link><pubDate>Tue, 23 May 2023 12:02:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3eba85cc-7f99-4797-9d99-c2cc41e197ea</guid><dc:creator>gvantuil</dc:creator><description>&lt;p&gt;Thanks a lot, Jay!&amp;nbsp;&lt;span style="font-family:inherit;"&gt;I think I&amp;#39;m on the right track now!&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Now I understand how it works.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE with sdk on a nrf52832</title><link>https://devzone.nordicsemi.com/thread/426383?ContentTypeID=1</link><pubDate>Fri, 19 May 2023 21:05:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f22718fd-65a7-4571-a06d-ab105648dd97</guid><dc:creator>Jay Tyzzer</dc:creator><description>&lt;p&gt;Hi Gabriel,&lt;/p&gt;
&lt;p&gt;I did not see the Low Freq clock mentioned in the datasheet.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can use a program called mergehex.exe to merge the Softdevice with the application.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf_cltools/UG/cltools/nrf_mergehex.html?cp=11_1_2"&gt;infocenter.nordicsemi.com/.../nrf_mergehex.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It is part of the nRF Command Line Tool utilities.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf_cltools/UG/cltools/nrf_command_line_tools_lpage.html?cp=11_1"&gt;infocenter.nordicsemi.com/.../nrf_command_line_tools_lpage.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You can download here:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-command-line-tools/download#infotabs"&gt;www.nordicsemi.com/.../download&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You can also use the programmer utility found in the nRF Connect for Desktop.&amp;nbsp; It will allow you to program the Softdevice and the application all at once.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/programmer.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;You can also read back and then click on&amp;nbsp; &amp;quot;save as file&amp;quot;&amp;nbsp;which will output one merged hex file.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jay Tyzzer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE with sdk on a nrf52832</title><link>https://devzone.nordicsemi.com/thread/426382?ContentTypeID=1</link><pubDate>Fri, 19 May 2023 20:45:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04ac2c9a-ce49-4826-974a-397f83cfae35</guid><dc:creator>gvantuil</dc:creator><description>&lt;p&gt;Thanks for the quick and detailed reply, Jay.&lt;/p&gt;
&lt;p&gt;But I just found out that the problem I having might be simpler.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m new to using soft devices and I didn&amp;#39;t knew how it works.&lt;/p&gt;
&lt;p&gt;Probably the problem I&amp;#39;m having is that I was erasing the soft device every time, and the ble examples need it to run.&lt;/p&gt;
&lt;p&gt;I tested the compiled hex file that nordic provides in the sdk, and it works flawlessly.&lt;/p&gt;
&lt;p&gt;Now I&amp;#39;m trying to figure out how should I flash the software device and the application, since when I try to flash the application (without changing the programming algorithm to &lt;span&gt;&amp;quot;nRF52xxx SoftDevice Erase&amp;quot; which now I see it obviosly doesn&amp;#39;t make sense&lt;/span&gt;) it returns an &amp;quot;Error: Flash Download failed - &amp;quot;Cortex-M4&amp;quot;.&lt;/p&gt;
&lt;p&gt;How do I&amp;nbsp;&amp;quot;merge&amp;quot;&amp;nbsp;the soft device and the application to generate one single hex file that contains all the uC needs?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE with sdk on a nrf52832</title><link>https://devzone.nordicsemi.com/thread/426380?ContentTypeID=1</link><pubDate>Fri, 19 May 2023 20:17:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1f1516e-91a8-47d7-9c15-9902f60f18f3</guid><dc:creator>Jay Tyzzer</dc:creator><description>&lt;p&gt;Hello Gabriel,&lt;/p&gt;
&lt;p&gt;I took a look at the datasheet on the module you are using.&amp;nbsp; The module seems to be lacking the necessary 32KHz crystal option that is necessary to run the BLE samples in nRF5 SDK 17.1.&amp;nbsp; Nor does it seen to have the ability to add one. The necessary GPIOs are not available on this module.&amp;nbsp; Those would be P0.00/XL1 and P0.01/XL2 on the nRF52832.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;However there is an internal 32Khz RC oscillator that can be used instead.&lt;/strong&gt; This feature needs to be configured in firmware.&amp;nbsp; &amp;nbsp;This may be found in the sdk_config.h file under &amp;quot;Clock&amp;nbsp; -&amp;nbsp; Softdevice clock configuration&amp;quot;.&lt;/p&gt;
&lt;p&gt;You can read more about this here:&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s130.api.v2.0.0/structnrf__clock__lf__cfg__t.html"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s130.api.v2.0.0/structnrf__clock__lf__cfg__t.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Go to the sdk_config.h file and change the code as follows:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/32KHz-RC-Osc-Settings_2D00_2.jpg" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Your line numbers may be different but close.&lt;/p&gt;
&lt;p&gt;Do not use anything under 500ppm for the clock accuracy. If you do you may have issues.&lt;/p&gt;
&lt;p&gt;Try that and see if your device starts to&amp;nbsp;advertise.&lt;/p&gt;
&lt;p&gt;Side note.&amp;nbsp; Using the 32Khz RC Osc will cause the device to draw a bit more power.&amp;nbsp; You can use the online power profiler here in the dev zone to do a side by side on the difference.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Jay Tyzzer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>