<?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>How to use GPIO pins on 3.3V ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/50466/how-to-use-gpio-pins-on-3-3v</link><description>I am trying to communicate with PN7150 from nRF52840 DK using I2C pins. 
 PN7150 needs 3.3V and nRF52840 is supplying 2.9V. 
 I am able to read PN7150 on Arduino Mega but I fail when trying to read through nRF52840. 
 I believe the problem is due to nRF52840</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 31 Jul 2019 15:17:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/50466/how-to-use-gpio-pins-on-3-3v" /><item><title>RE: How to use GPIO pins on 3.3V ?</title><link>https://devzone.nordicsemi.com/thread/201662?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2019 15:17:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66afef83-549e-4631-a17b-ba838bcd9c02</guid><dc:creator>BinderT</dc:creator><description>&lt;p&gt;You can try setting the drive strength of the pin. Worked for me in some cases with spi.&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/45247/spi-communication-problem/178753#178753"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/45247/spi-communication-problem/178753#178753&lt;br /&gt;&lt;br /&gt;&lt;/a&gt;Best thing would be to hook-up a scope an see what going on. Another thing to try is to bit-bang the chip and see if you get a response as a control.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/awneil"&gt;&lt;/a&gt;&lt;/p&gt;
[quote userid="6462" url="~/f/nordic-q-a/50466/how-to-use-gpio-pins-on-3-3v/201624"]Although the REG0 is a buck regulator - so can&amp;#39;t step &lt;em&gt;&lt;strong&gt;up&lt;/strong&gt; &lt;/em&gt;if the DK is&amp;nbsp;only giving it &amp;lt;3.3V[/quote]
&lt;p&gt;&lt;br /&gt;You can set the GPIO voltage to VDD by doing the following after flashing your application.&lt;br /&gt;nrfjprog -f nrf52 --memwr 0x10001304 --val 0x00000005&lt;br /&gt;&lt;br /&gt;Will only do this a an absolute last resort.&lt;br /&gt;&lt;br /&gt;NOTE: The chip needs a full erase if you want to flash it again.&lt;/p&gt;
[quote userid="82168" url="~/f/nordic-q-a/50466/how-to-use-gpio-pins-on-3-3v/201591"]I tried scanning PN7150 on Arduino Mega supplying voltage through Arduino&amp;#39;s 3.3V pin.[/quote]
&lt;p&gt;I am assuming the&amp;nbsp;&lt;span&gt;PN7150 is supply from 3.3V with the nrf. 5V is not going to work.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use GPIO pins on 3.3V ?</title><link>https://devzone.nordicsemi.com/thread/201626?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2019 13:39:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:690039e3-84ae-4911-87ba-3920ef85f2da</guid><dc:creator>awneil</dc:creator><description>[quote userid="6462" url="~/f/nordic-q-a/50466/how-to-use-gpio-pins-on-3-3v/201624"]You&amp;#39;d also have to check carefully that it won&amp;#39;t affect (or be affected by) anything else on the board[/quote]
&lt;p&gt;also applies to my earlier suggestion, of course.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use GPIO pins on 3.3V ?</title><link>https://devzone.nordicsemi.com/thread/201624?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2019 13:38:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d337e23b-6ac3-4e17-ba2f-64531187ad01</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Good thought ...&lt;/p&gt;
&lt;p&gt;Although the REG0 is a buck regulator - so can&amp;#39;t step &lt;em&gt;&lt;strong&gt;up&lt;/strong&gt; &lt;/em&gt;if the DK is&amp;nbsp;only giving it &amp;lt;3.3V&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/power.html?cp=3_0_0_4_2_0_0#unique_1782262349"&gt;https://infocenter.nordicsemi.com/topic/ps_nrf52840/power.html?cp=3_0_0_4_2_0_0#unique_1782262349&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You&amp;#39;d also have to check carefully that it won&amp;#39;t affect (or be affected by) anything else on the board ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use GPIO pins on 3.3V ?</title><link>https://devzone.nordicsemi.com/thread/201619?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2019 13:32:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d207fa96-3910-4923-a43a-43f9f28bcd9f</guid><dc:creator>KevinL</dc:creator><description>&lt;p&gt;I think it&amp;#39;s actually possible by using the nRF52840 in high voltage mode and changing the UICR REGOUT0 register to output 3,3 V on VDD. This changes all GPIO ports to 3,3 V.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf52840%2Fuicr.html&amp;amp;cp=3_0_0_3_4_0_7&amp;amp;anchor=register.REGOUT0"&gt;infocenter.nordicsemi.com/index.jsp&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use GPIO pins on 3.3V ?</title><link>https://devzone.nordicsemi.com/thread/201616?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2019 13:30:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72c31dd1-8f5d-4afe-870d-a69a8b83c0f9</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;The nRF52840 absolute maximum voltage on an IO pin is VDD + 0.3V&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/abs_max_ratings.html?cp=3_0_0_8"&gt;https://infocenter.nordicsemi.com/topic/ps_nrf52840/abs_max_ratings.html?cp=3_0_0_8&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;So, if your VDD is 2.9V, that&amp;#39;s 3.2V max.&lt;/p&gt;
&lt;p&gt;Since I2C is open-drain, you could disconnect the pullups from the DK&amp;#39;s VDD, and pull up to 3.2V instead.&lt;/p&gt;
&lt;p&gt;It might be easier to use different pins - rather than try to remove pullups ...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use GPIO pins on 3.3V ?</title><link>https://devzone.nordicsemi.com/thread/201610?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2019 13:22:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:150af12f-8992-420f-b996-46aa72a90542</guid><dc:creator>awneil</dc:creator><description>[quote userid="82168" url="~/f/nordic-q-a/50466/how-to-use-gpio-pins-on-3-3v/201608"]I was wondering if there was a method to increase the output voltage on nRF52840 DK with help of some code ?[/quote]
&lt;p&gt;No - that&amp;#39;ll be a hardware change.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use GPIO pins on 3.3V ?</title><link>https://devzone.nordicsemi.com/thread/201608?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2019 13:18:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:187d3a48-7c42-4b05-bf79-f5c7d48b6ca4</guid><dc:creator>shockline</dc:creator><description>&lt;p&gt;I don&amp;#39;t have access to an oscilloscope. I am currently reading User Guide and Schematics.&lt;/p&gt;
&lt;p&gt;I was wondering if there was a method to increase the output voltage on nRF52840 DK with help of some code ? Maybe I can try that first before moving to other options.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use GPIO pins on 3.3V ?</title><link>https://devzone.nordicsemi.com/thread/201592?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2019 13:03:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:49e105e0-0585-46e0-8533-35036efa4778</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Still not entirely conclusive that it&amp;#39;s the voltage.&lt;/p&gt;
&lt;p&gt;Have you looked at the lines with an oscilloscope to see what&amp;#39;s going on?&lt;/p&gt;
&lt;p&gt;Check out the nRF52840 &lt;strong&gt;Product Specification&lt;/strong&gt; for details of its power supply restrictions &amp;amp; requirements.&lt;/p&gt;
&lt;p&gt;Check out the&amp;nbsp;&lt;span&gt;nRF52840 DK &lt;strong&gt;User Guide&lt;/strong&gt; and &lt;strong&gt;Schematics&lt;/strong&gt; for details of the power supply arrangements on the board.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I2C voltage translators are available ...&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use GPIO pins on 3.3V ?</title><link>https://devzone.nordicsemi.com/thread/201591?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2019 13:00:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20685f77-ea58-4db6-9a0d-de380548e1be</guid><dc:creator>shockline</dc:creator><description>&lt;p&gt;I tried scanning PN7150 on Arduino Mega supplying voltage through Arduino&amp;#39;s 3.3V pin. Everything worked fine.&lt;/p&gt;
&lt;p&gt;I tried scanning other devices on nRF52840 such as SSD1306 OLED. They also showed up fine.&lt;/p&gt;
&lt;p&gt;For some reason I am having trouble scanning for PN7150.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use GPIO pins on 3.3V ?</title><link>https://devzone.nordicsemi.com/thread/201588?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2019 12:55:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac0bc930-e77d-4cc4-8e3c-720cfa7ea36a</guid><dc:creator>awneil</dc:creator><description>[quote userid="82168" url="~/f/nordic-q-a/50466/how-to-use-gpio-pins-on-3-3v"]I believe the problem is due to nRF52840 supplying less than 3.3V[/quote]
&lt;p&gt;That&amp;#39;s &lt;em&gt;possible&lt;/em&gt;, but I&amp;#39;d have thought that 2.9 should generally be close enough to 3.3 for most cases.&lt;/p&gt;
&lt;p&gt;What have you done to confirm that it is actually the low voltage that&amp;#39;s causing the problem(s) ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>