<?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>configure UART signal levels</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/2745/configure-uart-signal-levels</link><description>Hi all, 
we are using the nRF51822 together with another module that provides an 1.8V UART only (LO = 0V, HI = 1.8V). Other IC&amp;#180;s on the device are using 3V Vdd and are connected by I2C. 
 The current design would make us of an voltage-translator like</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 12 Jun 2014 13:55:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/2745/configure-uart-signal-levels" /><item><title>RE: configure UART signal levels</title><link>https://devzone.nordicsemi.com/thread/10641?ContentTypeID=1</link><pubDate>Thu, 12 Jun 2014 13:55:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88fe9318-aad8-4fc7-aceb-9765583c6fa7</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi Guenter&lt;/p&gt;
&lt;p&gt;The absolute maximum ratings chapter in the nRF51822 PS v2.0 specifies maximum voltage on GPIO pins to be VDD+0.3V (nRF51 supply voltage + 0.3V).&lt;/p&gt;
&lt;p&gt;Section 8.23 specifies the voltage levels required for GPIO pins, i.e. that input high voltage is detected at VDD&lt;em&gt;0.7 and input low voltage is detected at VDD&lt;/em&gt;0.3. So if your UART peer device operates at 1.8V, then you might tune your nRF51 supply voltage as high as 1.8V/0.7=2.57V in order for it to work. However, as you point out, you have a problem with the IC connected to I2C that operates at 3.0V. The difference between 1.8V and 3.0V is too high.&lt;/p&gt;
&lt;p&gt;If you use only TX on the nRF51 UART interface to communicate with the UART peer device, then you could possibly do without the voltage translator. You could do that by letting the TX pin only drive low signal and then manually pull the TX line up with a 1.8V voltage.&lt;/p&gt;
&lt;p&gt;All GPIO configuration is retained is System Off. Perhaps you could benefit from looking at the system-off-wakeup-on-gpio example which shows how pins are configured to wake up from System Off.&lt;/p&gt;
&lt;p&gt;The default sink/source current is 0.5mA. This can be configured however by writing to the PIN_CNF register for a specfic pin, bits D, see section 13.2.8 in nRF51 Series Reference Manual v2.1. To see specifically how this is done in code, look at the definition for the nrf_gpio_cfg_sense_input function in nrf_gpio.h in the &lt;a href="https://github.com/NordicSemiconductor/nrf51-powerdown-examples"&gt;system-off-wakeup-on-gpio&lt;/a&gt; example. Standard drive is 0.5mA max, high drive is 5mA max. Max combined drive for all GPIO&amp;#39;s is 15mA.&lt;/p&gt;
&lt;p&gt;If you have also RX pin configured to communicate with the UART peer device, I see no other solution than to use a voltage translator.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>