<?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>PCA20020 custom based board gpio&amp;#39;s</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/51677/pca20020-custom-based-board-gpio-s</link><description>Hello, 
 I&amp;#39;m trying to make custom board based on Thingy 52. 
 First problem that I get I want to change gpio&amp;#39;s order according to my needs. 
 I can&amp;#39;t not find where in the project for Thingy 52 based on SDK 13 I can find the gpio&amp;#39;s definition. 
 Second</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 03 Sep 2019 22:21:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/51677/pca20020-custom-based-board-gpio-s" /><item><title>RE: PCA20020 custom based board gpio's</title><link>https://devzone.nordicsemi.com/thread/207762?ContentTypeID=1</link><pubDate>Tue, 03 Sep 2019 22:21:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43a7d740-fa31-44de-9704-eafbdb13ed89</guid><dc:creator>Ile</dc:creator><description>&lt;p&gt;Thank you very much, yes that is set, and the crystal is also there connected. Issue is from &amp;quot;system off state&amp;quot; on that gpio&amp;#39;s p0.00 and p0.01.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PCA20020 custom based board gpio's</title><link>https://devzone.nordicsemi.com/thread/207761?ContentTypeID=1</link><pubDate>Tue, 03 Sep 2019 22:18:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3af63f71-2013-42d3-a7f3-f67292896091</guid><dc:creator>Ile</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;Thank you very much for your reply.&lt;/p&gt;
&lt;p&gt;1. Yes of course that I need custom board file with the definitions for the led&amp;#39;s, button&amp;#39;s. Now my question is I&amp;#39;m trying to understand Nordic&amp;nbsp;&lt;span&gt;Thingy 52 project so I can reuse the open source design in my custom based Thingy 52 project. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I need to know gpio&amp;#39;s order but in &amp;quot;system on state&amp;quot;, in project Thingy 52 Product manual is written &amp;quot;some of the gpio&amp;#39;s pins are used internally by nrf52832, but some of them are available on gpio&amp;#39;s headers&amp;quot;, but I&amp;#39;m still in &amp;quot;system off state&amp;quot; and it&amp;#39;s not applicable to use for example gpio&amp;#39;s p0.00 and p0.01 pin&amp;#39;s as Xtal clock connections since in pca20020.h file we have output direction on &amp;quot;system off state&amp;quot; checked with debugger. For the crystal of the 32.768kHz that is already there in the design of Thingy 52, yes in my case is also there Xtal attached and the problem is probably due to the &amp;quot;system off state of the gpio&amp;#39;s p0.00 and p0.01&amp;quot;. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2. I can not run LF_CLK from 32.768kHz, exactly, that&amp;#39;s why I need &amp;quot;system on state of gpio&amp;#39;s&amp;quot; so I can create my custom board file in according to my needs, or if you can find me relation between gpio&amp;#39;s and board file configuration but in &amp;quot;system on state&amp;quot;. I can notice that when I set Keil for development with Thingy 52, he download NRF SDK 13 components including boards, etc. So, I really want to know if he uses some of the boards definitions available&amp;nbsp;there in boards directory of NRF 13 SDK since we know that there are definitions of the boards in boards.h file and we can choose right board based design.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I was using previously&amp;nbsp;pca10040 board ble_blinky examples, but there the definitions of gpio&amp;#39;s and buttons where there in custom_board.h definition file that was created by me on basis of pca10040.h , but where is that file in the Thingy 52 based project?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PCA20020 custom based board gpio's</title><link>https://devzone.nordicsemi.com/thread/207755?ContentTypeID=1</link><pubDate>Tue, 03 Sep 2019 20:27:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:637bb6a2-4cb4-4c13-9c24-f68d38eef917</guid><dc:creator>hmolesworth</dc:creator><description>&lt;p&gt;Try looking for stuff like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;// &amp;lt;0=&amp;gt; RC 
// &amp;lt;1=&amp;gt; XTAL 
// &amp;lt;2=&amp;gt; Synth 
// &amp;lt;131073=&amp;gt; External Low Swing 
// &amp;lt;196609=&amp;gt; External Full Swing 
#ifndef CLOCK_CONFIG_LF_SRC
#define CLOCK_CONFIG_LF_SRC 0
#endif&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;There is also an nrfx equivalent. In any case you will need&amp;nbsp;CLOCK_CONFIG_LF_SRC to be 1 in order to enable the crystal instead of the port pins as io&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PCA20020 custom based board gpio's</title><link>https://devzone.nordicsemi.com/thread/207744?ContentTypeID=1</link><pubDate>Tue, 03 Sep 2019 17:34:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e4f9f80-0d63-4786-a360-22ece51fda03</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;1. Typically there is a boards.h file where you can include the board file, in your case likely it&amp;#39;s pca20020.h.&amp;nbsp;I suggest to create a&amp;nbsp;custom_board.h file instead and define&amp;nbsp;BOARD_CUSTOM instead of&amp;nbsp;BOARD_PCA20020.&lt;/p&gt;
&lt;p&gt;2. Looking at the hardware file for the nRF52 thingy I can see there is already an 32kHz crystal so not sure if I understand your question:&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Software-and-Tools/Prototyping-platforms/Nordic-Thingy-52/Download#infotabs"&gt;https://www.nordicsemi.com/Software-and-Tools/Prototyping-platforms/Nordic-Thingy-52/Download#infotabs&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>