<?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>Not able to run BLE when i configure any pin as input pin with PULLUP/PULLDOWN.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37148/not-able-to-run-ble-when-i-configure-any-pin-as-input-pin-with-pullup-pulldown</link><description>Hi Everyone 
 I have the following issue in my application code. 
 If i configure a pin as an input pin , i am not able to run the ble init function in which it advertises. 
 If i comment out the input pin configuration, i am able to run the ble part</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 06 Aug 2018 10:59:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37148/not-able-to-run-ble-when-i-configure-any-pin-as-input-pin-with-pullup-pulldown" /><item><title>RE: Not able to run BLE when i configure any pin as input pin with PULLUP/PULLDOWN.</title><link>https://devzone.nordicsemi.com/thread/142990?ContentTypeID=1</link><pubDate>Mon, 06 Aug 2018 10:59:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53f248c4-5f92-4625-8fdd-bc241b5a0a0e</guid><dc:creator>Rajat</dc:creator><description>&lt;p&gt;Hi Thanks ,It worked on P0.28 pin .&lt;/p&gt;
&lt;p&gt;I will check if i could change the pins . :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to run BLE when i configure any pin as input pin with PULLUP/PULLDOWN.</title><link>https://devzone.nordicsemi.com/thread/142968?ContentTypeID=1</link><pubDate>Mon, 06 Aug 2018 08:54:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a055bccd-4d89-4cbf-9021-f5491e043db8</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;But its not working while it works if i configure the BUSY pin on 0 pin.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Are you using P0.28 for something else? This is normally used for the default SPI communication, and if you&amp;#39;re not using the MISO pin, set it equal to &amp;quot;NRF_DRV_SPI_PIN_NOT_USED&amp;quot;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to run BLE when i configure any pin as input pin with PULLUP/PULLDOWN.</title><link>https://devzone.nordicsemi.com/thread/142903?ContentTypeID=1</link><pubDate>Sat, 04 Aug 2018 05:52:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8df09f3-f1c8-46e7-b2a6-7796422371a6</guid><dc:creator>Rajat</dc:creator><description>&lt;p&gt;Just got to know that 10 and 9 pins are default for NFC , so i am using P0.28 pin and tried . This did resolve my issue.&lt;/p&gt;
&lt;p&gt;But i have another question.&lt;/p&gt;
&lt;p&gt;I am using the same configuration p0.28 as BUSY pin for EPAPER display which uses the SPI protocol.&lt;/p&gt;
&lt;p&gt;But its not working while it works if i configure the BUSY pin on 0 pin.&lt;/p&gt;
&lt;p&gt;What can be the issue and is there something i am doing wrong&lt;/p&gt;
&lt;p&gt;Here is a piece of code that i am using for EPAPER.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;
void ePaperInit(void)
{
//bsp_board_init(BSP_INIT_LEDS);
    //APP_ERROR_CHECK(NRF_LOG_INIT(NULL));
    //NRF_LOG_DEFAULT_BACKENDS_INIT();

//io init

nrf_gpio_cfg_output(CS_PIN );
nrf_gpio_cfg_output(EPAPER_DC);
nrf_gpio_cfg_output(EPAPER_RST);
nrf_gpio_cfg_input(EPAPER_BUSY, NRF_GPIO_PIN_PULLUP);   /*EPAPER BUSY =28*/
//nrf_gpio_pin_dir_set(EPAPER_BUSY,NRF_GPIO_PIN_DIR_INPUT);
nrf_gpio_cfg_output(LEDP);



// spi init


nrf_drv_spi_config_t spi_config = NRF_DRV_SPI_DEFAULT_CONFIG;
    spi_config.ss_pin   = SPI_SS_PIN;
  //  spi_config.miso_pin = SPI_MISO_PIN;
    spi_config.mosi_pin = SPI_MOSI_PIN;
    spi_config.sck_pin  = SPI_SCK_PIN;
 //   APP_ERROR_CHECK(nrf_drv_spi_init(&amp;amp;spi, &amp;amp;spi_config, spi_event_handler, NULL));
nrf_drv_spi_init(&amp;amp;spi, &amp;amp;spi_config, spi_event_handler, NULL);

nrf_gpio_pin_write(LEDP,0);
nrf_delay_ms(2000);

// off the led 1
nrf_gpio_pin_write(LEDP,1);

}
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to run BLE when i configure any pin as input pin with PULLUP/PULLDOWN.</title><link>https://devzone.nordicsemi.com/thread/142901?ContentTypeID=1</link><pubDate>Sat, 04 Aug 2018 05:30:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e80b11bd-31fd-49a1-bab9-66e6761be075</guid><dc:creator>Rajat</dc:creator><description>&lt;p&gt;Thanks for sharing this information&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But i have tried this using P0.10 pin as well, still it gives me same results&lt;/p&gt;
&lt;p&gt;What should i do next?&lt;/p&gt;
&lt;p&gt;Thanks&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Rajat!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to run BLE when i configure any pin as input pin with PULLUP/PULLDOWN.</title><link>https://devzone.nordicsemi.com/thread/142809?ContentTypeID=1</link><pubDate>Fri, 03 Aug 2018 12:15:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06e471dc-22d0-47d3-bdf0-3db3c0ae065d</guid><dc:creator>Balaji Srinivasan</dc:creator><description>&lt;p&gt;I am assuming you are using the&amp;nbsp;nRF52840 Preview Development kit.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Refer&amp;nbsp;&lt;a href="http://infocenter.nordicsemi.com/pdf/nRF52840_PDK_User_Guide_v1.0.pdf"&gt;http://infocenter.nordicsemi.com/pdf/nRF52840_PDK_User_Guide_v1.0.pdf&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;On the nRF52840 Preview DK board, P0.00 and P0.01 are by default used for the 32.768 kHz crystal and are not available as GPIO on the connectors. &lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;If P0.00 and P0.01 are needed as normal I/Os, the 32.768 kHz crystal can be disconnected and the GPIO routed to the connectors. Cut the shorting track on SB1 and SB2, and solder SB3 and SB4. See the figure below for reference.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;So I suggest you use a different pin.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to run BLE when i configure any pin as input pin with PULLUP/PULLDOWN.</title><link>https://devzone.nordicsemi.com/thread/142806?ContentTypeID=1</link><pubDate>Fri, 03 Aug 2018 12:08:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f647db14-235b-43a4-ba46-3c4c31610289</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you by any chance using the external 32k crystal configuration (which is the default configuration in our examples)?&lt;/p&gt;
&lt;p&gt;If yes; try to avoid using P0.00 and P0.01, as the external 32k LFCLK uses those.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>