<?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>Pin confirmation</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/69526/pin-confirmation</link><description>Hi All, 
 We are using nRF52840 MCU and SDK nRF5_SDK_for_Thread_and_Zigbee_v3.0.0_d310e71. We are designing a device that uses switches connected to the below pins, 
 Pin used are below, 
 1) ExtSW2 - P0.26 
 2) Learn - P0.17 
 3) Optional1 - P0.13 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 16 Dec 2020 15:23:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/69526/pin-confirmation" /><item><title>RE: Pin confirmation</title><link>https://devzone.nordicsemi.com/thread/285395?ContentTypeID=1</link><pubDate>Wed, 16 Dec 2020 15:23:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87158ce5-3ece-41d1-ad58-ee8372d5800a</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>[quote user="Rohit Rajapure"]&lt;p&gt;P0.26, P0.12, P0.13, P0.15, P0.17, P1.10, and P1.13 as switch pins.&lt;/p&gt;
&lt;p&gt;P0.02 and P1.15 as LED pins.&lt;/p&gt;
&lt;p&gt;above pins, I can map as per requirement&lt;/p&gt;[/quote]
&lt;p&gt;Yes, but P0.12 is used for button on DK, and P0.13/P0.15 is connected to LEDs. Make sure you either use them as specificed in pca10056.h together with BSP, or modify the board header to remove LEDs/BUTTONs or move to other pins.&lt;/p&gt;
[quote user="Rohit Rajapure"]&lt;p&gt;P0.17 but I tried to connect button and read interrupt, I am not able to get interrupted on this pin.&lt;/p&gt;
&lt;p&gt;Meanwhile, I have checked pca10056.h file and found that P0.17 is mapped to &amp;quot;#define BSP_QSPI_CSN_PIN&amp;nbsp;&amp;nbsp; 17&amp;quot;&lt;/p&gt;
&lt;p&gt;means I can not use these pins correct?&lt;/p&gt;[/quote]
&lt;p&gt;On the DK, P0.17 is connected to the &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf52840_dk/UG/dk/hw_external_memory.html"&gt;QSPI external memory chip&lt;/a&gt;, and is disconnected from the pin headers by default. You can use it, but you need to cut/solder the solder bridges in order to disconnect from memory and connect to pin headers.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pin confirmation</title><link>https://devzone.nordicsemi.com/thread/285033?ContentTypeID=1</link><pubDate>Tue, 15 Dec 2020 11:37:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b24ab11a-3547-4ca5-a3dc-34dad72f8eb6</guid><dc:creator>Rohit Rajapure</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;There is a change in pin usage.&lt;/p&gt;
&lt;p&gt;The hardware team decided to use the below pin as switch configuration&lt;/p&gt;
&lt;p&gt;P0.26, P0.12, P0.13, P0.15, P0.17, P1.10, and P1.13 as switch pins.&lt;/p&gt;
&lt;p&gt;P0.02 and P1.15 as LED pins.&lt;/p&gt;
&lt;p&gt;above pins, I can map as per requirement?&lt;/p&gt;
&lt;p&gt;P0.17 but I tried to connect button and read interrupt, I am not able to get interrupted on this pin.&lt;/p&gt;
&lt;p&gt;Meanwhile, I have checked pca10056.h file and found that P0.17 is mapped to &amp;quot;#define BSP_QSPI_CSN_PIN&amp;nbsp;&amp;nbsp; 17&amp;quot;&lt;/p&gt;
&lt;p&gt;means I can not use these pins correct?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks and Regards&lt;/p&gt;
&lt;p&gt;Rohit R&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pin confirmation</title><link>https://devzone.nordicsemi.com/thread/285028?ContentTypeID=1</link><pubDate>Tue, 15 Dec 2020 11:24:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:246a2e40-035e-46ba-9aab-fa28957307fe</guid><dc:creator>Rohit Rajapure</dc:creator><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;Okay, thank you for the feedback.&lt;/p&gt;
&lt;p&gt;I will follow the steps and in case of any queries, I will get back to you.&lt;/p&gt;
&lt;p&gt;Thanks and Regards&lt;/p&gt;
&lt;p&gt;Rohit R&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pin confirmation</title><link>https://devzone.nordicsemi.com/thread/285020?ContentTypeID=1</link><pubDate>Tue, 15 Dec 2020 11:14:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b3a3ba4-f862-4f61-a6d7-e8b77671a9f5</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;If you want to use LED1 pin for another purpose, I would recommend you to modify the pca10056.h file (or create a custom one for your board), where you either remove LED1, or set LED1 pin to an unused GPIO pin number.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pin confirmation</title><link>https://devzone.nordicsemi.com/thread/285017?ContentTypeID=1</link><pubDate>Tue, 15 Dec 2020 11:08:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f985df9-2019-4bae-bfae-3d820bf3d470</guid><dc:creator>Rohit Rajapure</dc:creator><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;Okay, thank you so much for confirmation that I can remap the pins in main.c file without altering to pca10056.h file.&lt;/p&gt;
&lt;p&gt;And Regarding this your view,&lt;/p&gt;
&lt;p&gt;- Currently in my light bulb Zigbee code it is included and I have kept it without any changes because if the device connects to the Zigbee network LED3 turns ON and I want to keep that same. So without any changes can I use for my custom purpose.?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks and Regards&lt;/p&gt;
&lt;p&gt;Rohit R&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pin confirmation</title><link>https://devzone.nordicsemi.com/thread/285016?ContentTypeID=1</link><pubDate>Tue, 15 Dec 2020 11:04:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fcadc31e-2e54-4a32-8d29-d8a7a4acf182</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Yes, sounds like you should be good then.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pin confirmation</title><link>https://devzone.nordicsemi.com/thread/285015?ContentTypeID=1</link><pubDate>Tue, 15 Dec 2020 11:02:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92bd35f8-850e-46a3-bedd-18a3666f3c57</guid><dc:creator>Rohit Rajapure</dc:creator><description>&lt;p&gt;Hi J&amp;oslash;rgen,&lt;/p&gt;
&lt;p&gt;Thanks for the quick reply.&lt;/p&gt;
&lt;p&gt;So that means if I remap any pins from &amp;quot;serialization application and connectivity board&amp;quot; as per my requirement in the main. c the file then there will be no problem also no need to alter the pac10056.h file.&lt;/p&gt;
[quote userid="14926" url="~/f/nordic-q-a/69526/pin-confirmation/285009#285009"]The LEDs/BUTTONs defines are used in BSP. If you want to use the GPIOs for other purposes, you should make sure you do not use the BSP library in your application.[/quote]
&lt;p&gt;- Okay, if I remove BSP library then I am good to go with it?.&lt;/p&gt;
&lt;p&gt;- Currently in my light bulb Zigbee code it is included and I have kept it without any changes because if the device connects to the Zigbee network LED3 turns ON and I want to keep that same. So without any changes can I use for my custom purpose.&lt;/p&gt;
[quote userid="14926" url="~/f/nordic-q-a/69526/pin-confirmation/285009#285009"]You can follow the instructions in&amp;nbsp;&lt;a title="Using the SDK with other boards" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/sdk_for_custom_boards.html?cp=7_1_1_5"&gt;Using the SDK with other boards&lt;/a&gt;&amp;nbsp;to create you own custom board file. Then you can remove any defines not used by your application. If any of the defines are used, you will get a compilation error.[/quote]
&lt;p&gt;- Okay,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks and Regards&lt;/p&gt;
&lt;p&gt;Rohit R&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pin confirmation</title><link>https://devzone.nordicsemi.com/thread/285009?ContentTypeID=1</link><pubDate>Tue, 15 Dec 2020 10:50:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07c40cac-c8f6-45e4-b569-08a44cd320ba</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The SER_ defines are all related to&amp;nbsp;&lt;a title="Running a serialized application" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/nrf51_setups_serialization.html?cp=7_1_1_4"&gt;Running a serialized application&lt;/a&gt;. Since you are using the Thread and Zigbee SDK, I assume you are not using this.&lt;/p&gt;
&lt;p&gt;The LEDs/BUTTONs defines are used in BSP. If you want to use the GPIOs for other purposes, you should make sure you do not use the BSP library in your application.&lt;/p&gt;
&lt;p&gt;You can follow the instructions in&amp;nbsp;&lt;a title="Using the SDK with other boards" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/sdk_for_custom_boards.html?cp=7_1_1_5"&gt;Using the SDK with other boards&lt;/a&gt;&amp;nbsp;to create you own custom board file. Then you can remove any defines not used by your application. If any of the defines are used, you will get a compilation error.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>