<?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>From nRF52 DK to 3rd party module in custom PCB</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/82335/from-nrf52-dk-to-3rd-party-module-in-custom-pcb</link><description>Hi, 
 First of all, I&amp;#39;m new in the field of BLE development. I have a custom PCB and some sensors. I want to send the data from these sensors to an app via BLE. These sensors use I2C and SPI protocols and digital and analog inputs. 
 I got myself an nRF52</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 03 Dec 2021 11:29:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/82335/from-nrf52-dk-to-3rd-party-module-in-custom-pcb" /><item><title>RE: From nRF52 DK to 3rd party module in custom PCB</title><link>https://devzone.nordicsemi.com/thread/341850?ContentTypeID=1</link><pubDate>Fri, 03 Dec 2021 11:29:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67800e23-5c8f-4082-bfdf-68fbd7f563df</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="pgonzaleztrucorp"]Doesn&amp;#39;t it mean that this port is for programming the SOC of the Dev kit with another debugger?[/quote]
&lt;p&gt;Yes, that is the case. I see now that I misread your question. I though the point was to duplicate this on your board, and in that case, P18 is what you want to duplicate (though as stated you really only need 3/4 specific pins).&lt;/p&gt;
[quote user="pgonzaleztrucorp"]Also, it says in chapter 6.10 that port p20 and p19 are for debugging &amp;quot;nRF51 and nRF52 devices mounted on external boards&amp;quot;, and that&amp;#39;s what I want, to debug a 3rd party BLE module in my PCB.[/quote]
&lt;p&gt;Yes, these are headers you use on the DK and connect to the custom/external board to debug/program it. Note that these do the same thing, so you do not need both.&lt;/p&gt;
[quote user="pgonzaleztrucorp"]I guess this would depend on the module I choose, they will be similar to these designs, right?[/quote]
&lt;p&gt;When you use a module typically everything you need around the nRF is there, so in this case you do not need to think about the reference designs (including the DK). This is all taken care of.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: From nRF52 DK to 3rd party module in custom PCB</title><link>https://devzone.nordicsemi.com/thread/341811?ContentTypeID=1</link><pubDate>Fri, 03 Dec 2021 09:34:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f026837f-9507-4b33-b8cb-13430481eeb9</guid><dc:creator>pgonzaleztrucorp</dc:creator><description>&lt;p&gt;Thank you, Einar,&lt;/p&gt;
[quote userid="7377" url="~/f/nordic-q-a/82335/from-nrf52-dk-to-3rd-party-module-in-custom-pcb/341791#341791"]P19 and P20 is the debug out port. You would need something similar to the debug in port (P18)[/quote]
&lt;p&gt;But in the User Guide of the nRF52 DK it says (chapter 6.9): &amp;quot;&amp;nbsp;The Debug in connector (P18) makes it possible to connect external debuggers for debugging...&amp;quot;. Doesn&amp;#39;t it mean that this port is for programming the SOC of the Dev kit with another debugger?&lt;/p&gt;
&lt;p&gt;Also, it says in chapter 6.10 that port p20 and p19 are for debugging &amp;quot;nRF51 and nRF52 devices mounted on external boards&amp;quot;, and that&amp;#39;s what I want, to debug a 3rd party BLE module in my PCB.&lt;/p&gt;
&lt;p&gt;So I&amp;#39;m confused about using port&amp;nbsp;P18 instead of P19 or P20. (As I said I&amp;#39;m new in this field).&lt;/p&gt;
[quote userid="7377" url="~/f/nordic-q-a/82335/from-nrf52-dk-to-3rd-party-module-in-custom-pcb/341791#341791"]Yes, you can use the nRF52 DK as a reference. There are also &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/ref_circuitry.html?cp=4_2_0_52#concept_aqp_fd1_fq"&gt;reference schematics&lt;/a&gt;&amp;nbsp;in the product specification.[/quote]
&lt;p&gt;I guess this would depend on the module I choose, they will be similar to these designs, right?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: From nRF52 DK to 3rd party module in custom PCB</title><link>https://devzone.nordicsemi.com/thread/341791?ContentTypeID=1</link><pubDate>Fri, 03 Dec 2021 08:15:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95d540a9-b3d1-454b-86e6-0575899838f5</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Pablo,&lt;/p&gt;
[quote user="pgonzaleztrucorp"]As it&amp;#39;s the same SOC as my nRF52 DK I would just have to follow its schematic.[/quote]
&lt;p&gt;Yes, you can use the nRF52 DK as a reference. There are also &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/ref_circuitry.html?cp=4_2_0_52#concept_aqp_fd1_fq"&gt;reference schematics&lt;/a&gt;&amp;nbsp;in the product specification.&lt;/p&gt;
[quote user="pgonzaleztrucorp"]In my PCB I should have a header with the same pins as p19 or p20? for programming my module with the nRF528323 and the digital outputs that I need.[/quote]
&lt;p&gt;P19 and P20 is the debug out port. You would need something similar to the debug in port (P18). It does not have to be this full connector though, the only thing you really need to program is GND, SWDIO, SWDCLK and&amp;nbsp;preferably&amp;nbsp;VDD, though that is not strictly needed.&lt;/p&gt;
[quote user="pgonzaleztrucorp"]I&amp;#39;m sure I will need some help with this so I&amp;#39;ll be back here if so.[/quote]
&lt;p&gt;No problem, just ask. But please open new cases for new questions so that it can be handled by the most appropriate application engineer for that specific question.&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: From nRF52 DK to 3rd party module in custom PCB</title><link>https://devzone.nordicsemi.com/thread/341743?ContentTypeID=1</link><pubDate>Thu, 02 Dec 2021 15:29:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3d44b76-942c-49fa-b0c9-f10470c2b09f</guid><dc:creator>pgonzaleztrucorp</dc:creator><description>&lt;p&gt;Hi Einar,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Let&amp;#39;s say I go for a one-chip solution, as it seems less complicated than I thought. I can use a module with the nRF58323 as it&amp;#39;s pretty common.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As it&amp;#39;s the same SOC as my nRF52 DK I would just have to follow its schematic.&lt;/p&gt;
&lt;p&gt;In my PCB I should have a header with the same pins as p19 or p20? for programming my module with the nRF528323 and the digital outputs that I need.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sure I will need some help with this so I&amp;#39;ll be back here if so.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you I&amp;#39;ll take a look.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Pablo&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: From nRF52 DK to 3rd party module in custom PCB</title><link>https://devzone.nordicsemi.com/thread/341723?ContentTypeID=1</link><pubDate>Thu, 02 Dec 2021 14:15:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d60667c6-7f2a-405e-b4b8-e1c51e9a0e2a</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Pablo,&lt;/p&gt;
&lt;p&gt;Is there a particular reason you want a two chip solution? That will typically complicate things, and you will need to do integration yourself. If a single MCU is enough for your project, then I would suggest using only a module with a nRF.&lt;/p&gt;
[quote user=""]How to connect the BLE module to my microcontroller.&amp;nbsp;[/quote]
&lt;p&gt;If you want to do this, then you would have to use a serial interface of some sort (typically UART or SPI). If you use the nRF5 SDK you&amp;nbsp;can use &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/lib_serialization.html"&gt;SoftDevice serialization&lt;/a&gt;. If you use the nRF Connect SDK and has a host MCU that implements the Bluetooth host, you can use HCI over UART or SPI. In both cases this will typically complicate things a bit and require more work so I would try to avoid a two chip solution if possible (at least if the idea is that it would make things simpler, which it will normally not).&lt;/p&gt;
[quote user=""]Do I have to program the module separately with the nRF52 DK? How can I do it?[/quote]
&lt;p&gt;Yes, modules typically ship with an empty flash. You can use the &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf52832_dk/UG/nrf52_DK/hw_debug_out.html"&gt;debug out port on the DK&lt;/a&gt; to program external ICs, such as the module.&lt;/p&gt;
[quote user=""]I would like to have something similar to the nRF8001 Bluefruit LE module from adafruit. (&lt;a href="https://learn.adafruit.com/getting-started-with-the-nrf8001-bluefruit-le-breakout"&gt;https://learn.adafruit.com/getting-started-with-the-nrf8001-bluefruit-le-breakout&lt;/a&gt;)[/quote]
&lt;p&gt;This use the nRF8001 which is quite old and can only be used as a connectivity device for a host MCU. If you want something more modern I suggest looking at a nRF52 variant. Also, as stated, I suggest you consider if a two chip solution is really what you need. You can find a list of modules &lt;a href="https://www.nordicsemi.com/Nordic-Partners/3rd-party-modules"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>