<?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>P0.08 not working with nRF51822 QFAC</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14072/p0-08-not-working-with-nrf51822-qfac</link><description>Hi, 
 I have a PCB with a nRF51822 QFAC A1 onboard, and I wrote a firmware with mbed for this PCB in which P0.08 is supposed to be set to 1 during the initialization and is never set to 0 after. But when I test the firmware this GPIO is always at 0.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 12 Dec 2016 11:28:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14072/p0-08-not-working-with-nrf51822-qfac" /><item><title>RE: P0.08 not working with nRF51822 QFAC</title><link>https://devzone.nordicsemi.com/thread/53809?ContentTypeID=1</link><pubDate>Mon, 12 Dec 2016 11:28:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5747a4fb-1975-4256-b8d1-878945570ad8</guid><dc:creator>Peter Kmet</dc:creator><description>&lt;p&gt;Same problem here with mBED code and P0.08. Looks like some library code takes over the pin, like Serial, etc. Now investigating.&lt;/p&gt;
&lt;p&gt;Port p8 is multiplexed with UART RTS signal. What helped to me was to disable hardware flow control.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: P0.08 not working with nRF51822 QFAC</title><link>https://devzone.nordicsemi.com/thread/53806?ContentTypeID=1</link><pubDate>Fri, 03 Jun 2016 07:52:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a63da44-c2d3-4eeb-b9c4-eb7bf36ba3c2</guid><dc:creator>Guillaume Levant</dc:creator><description>&lt;p&gt;P0.09 (the BTN pin) is connected to an internal pull-down resistance, could this cause a problem ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: P0.08 not working with nRF51822 QFAC</title><link>https://devzone.nordicsemi.com/thread/53808?ContentTypeID=1</link><pubDate>Wed, 01 Jun 2016 08:09:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9235df6e-bd0c-4375-b948-6adf0e7193a2</guid><dc:creator>Guillaume Levant</dc:creator><description>&lt;p&gt;I agree but when I keep the button pressed and check the state of p0.08 with a voltmeter or even with eclipse while debugging, it is still low even after the initialization. It seems like the GPIO cannot be set to 1 or is always reset to 0, but I can&amp;#39;t see the reason.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: P0.08 not working with nRF51822 QFAC</title><link>https://devzone.nordicsemi.com/thread/53807?ContentTypeID=1</link><pubDate>Wed, 01 Jun 2016 08:00:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09edca02-5676-421c-8423-d9ec34f6c12c</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;I guess that if the TPS79933 and/or the nRF51 turn off when the button is released it is no wonder why you don&amp;#39;t measure any significant voltage on P0.08. Maybe the voltage regulated by the TPS79933 of some reason dips just long enough for the nRF51 to power down and &amp;quot;release&amp;quot; P0.08. If that is the case then maybe a bulk capacitor can help filter out the dip and solve the problem. It is hard to tell what&amp;#39;s wrong.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: P0.08 not working with nRF51822 QFAC</title><link>https://devzone.nordicsemi.com/thread/53805?ContentTypeID=1</link><pubDate>Mon, 30 May 2016 15:20:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:586f8a30-8c28-48bf-ae92-6281f2edb3f9</guid><dc:creator>Guillaume Levant</dc:creator><description>&lt;p&gt;Yes it is exactly how it is supposed to work&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: P0.08 not working with nRF51822 QFAC</title><link>https://devzone.nordicsemi.com/thread/53804?ContentTypeID=1</link><pubDate>Mon, 30 May 2016 13:06:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02b1805a-be97-4a7a-9ab1-e7e52a8255db</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;So:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The BTN net and P0.09 acts as some sort of pin interrupt?&lt;/li&gt;
&lt;li&gt;Your plan is to push the button which will turn on the LDO. The LDO in turn turns on the nRF51, which then pulls P0.08 high to keep the LDO on after the push button is released?&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: P0.08 not working with nRF51822 QFAC</title><link>https://devzone.nordicsemi.com/thread/53803?ContentTypeID=1</link><pubDate>Mon, 30 May 2016 10:32:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50b68d1d-5c32-4f12-8547-258226951f7b</guid><dc:creator>Guillaume Levant</dc:creator><description>&lt;p&gt;Hi,
I didn&amp;#39;t have any news so far, is there anyone who can tell me how to solve this problem ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: P0.08 not working with nRF51822 QFAC</title><link>https://devzone.nordicsemi.com/thread/53802?ContentTypeID=1</link><pubDate>Wed, 25 May 2016 12:53:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25add7c4-3947-4871-b524-9a533436b7af</guid><dc:creator>Guillaume Levant</dc:creator><description>&lt;p&gt;U8 is a TPS79933 from Texas Instruments, the VIH is 1.2V. When P8 is high (at 3.3V), the EN pin voltage of the TPS79933 should be 2.2V, which is sufficient to keep it enabled. The problem is that when the button is released the device turns off, and when I measure the voltage at p8 with a multimeter I have around 20mV (with the button pressed).
I tried to read the output of P8 while debugging, and it is always set to 0, despite the fact I set it to 1.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: P0.08 not working with nRF51822 QFAC</title><link>https://devzone.nordicsemi.com/thread/53801?ContentTypeID=1</link><pubDate>Wed, 25 May 2016 12:43:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae938089-ff6e-4228-bd82-e735ff98919f</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;How exactly do you know that the pin is always at zero? Have you measured the voltage with a multimeter or do you just assume it is always zero because EN on U8 is never high? Without knowing what U8 is, it seems strange to me that you have a button that when activated connects U8-EN to 4.1V, and yet you have a voltage divider from the nRF51 EN-net dividing the pin voltage down to two thirds of the nRF51s supply voltage, which I assume is 3V3?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: P0.08 not working with nRF51822 QFAC</title><link>https://devzone.nordicsemi.com/thread/53800?ContentTypeID=1</link><pubDate>Wed, 25 May 2016 08:56:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b63cf73c-2fc2-47c4-825b-cd5147b59575</guid><dc:creator>Guillaume Levant</dc:creator><description>&lt;p&gt;Hi,
Thanks for your quick answer.
The part of the schematic is the following :
&lt;img src="https://devzone.nordicsemi.com/attachment/c2229c3e069bc4f42128767d9f77d0b3" alt=" " /&gt;
&lt;a href="http://www.hostingpics.net/viewer.php?id=169344CaptureLDO.png"&gt;www.hostingpics.net/viewer.php&lt;/a&gt;
The EN net is connected to P0.08, BTN net is connected to P0.09 which is connected to an internal pulldown resistance.
The switch is a pushbutton to turn on the LDO, which should be maintained on by P0.08&lt;/p&gt;
&lt;p&gt;The code is the following :&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;DigitalOut LDO(p8);

int main()
 {
	LDO = 1;
//rest of the main
}
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: P0.08 not working with nRF51822 QFAC</title><link>https://devzone.nordicsemi.com/thread/53799?ContentTypeID=1</link><pubDate>Wed, 25 May 2016 08:30:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d72718ed-4b7b-494a-9cfb-2f0b888e2563</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The pin should not have any special function. I assume it is a completely custom board? Not just something that is hooked to a development kit?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Are you using any other hardware modules, like e.g. UART, that might be configured to use pin 8 by default?&lt;/li&gt;
&lt;li&gt;Do you mind posting your schematic, layout, and code showing how the pin is configured and tested?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The pin assignments are documented in the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf51/dita/nrf51/pdflinks/51822_ps.html?cp=2_3_0"&gt;Product specification&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>