<?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>5V nRF52833 I2C connection to 1.8V device</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/99311/5v-nrf52833-i2c-connection-to-1-8v-device</link><description>Hi, 
 I have connected my nRF52833 chip to a sensor. 
 nRF52833 is supplied at 5V. The sensor supply voltage is 1.8V. 
 My sensor communicates with nRF52833 on I2C bus. I2C bus of sensor is connected to 1.8V by pull up resistors. Does this system work</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 23 Jun 2023 14:50:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/99311/5v-nrf52833-i2c-connection-to-1-8v-device" /><item><title>RE: 5V nRF52833 I2C connection to 1.8V device</title><link>https://devzone.nordicsemi.com/thread/432738?ContentTypeID=1</link><pubDate>Fri, 23 Jun 2023 14:50:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec63f63e-52bc-4b05-97d1-bba49b48bf83</guid><dc:creator>Kaveh.M</dc:creator><description>&lt;p&gt;I see. What are the specifications for REG0 regulator output (VDD), in terms of supply current/ voltage drop vs. supply current/and minimum VDDH input for a 3V VDD for example.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 5V nRF52833 I2C connection to 1.8V device</title><link>https://devzone.nordicsemi.com/thread/432616?ContentTypeID=1</link><pubDate>Fri, 23 Jun 2023 07:20:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a232782-5e4f-42a9-ac45-d80e82de56bc</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Yes, correct. And you can&amp;nbsp;supply the sensor from the 1.8v REG0 output (VDD) or from another GPIO.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 5V nRF52833 I2C connection to 1.8V device</title><link>https://devzone.nordicsemi.com/thread/432530?ContentTypeID=1</link><pubDate>Thu, 22 Jun 2023 12:54:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:969e8884-94dc-454c-b6d5-fab3b67db913</guid><dc:creator>Kaveh.M</dc:creator><description>&lt;p&gt;Agree.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My power supply is 3-4V. So I think I should connect that to VDDH pin instead of VDD. And set Reg0 to output 1.8V GPIO level. Can you confirm please. Thanks.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 5V nRF52833 I2C connection to 1.8V device</title><link>https://devzone.nordicsemi.com/thread/432446?ContentTypeID=1</link><pubDate>Thu, 22 Jun 2023 07:18:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d000cd29-6622-4461-8801-c4ea582f798a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;This means your board is configured to run in normal voltage mode&amp;nbsp;with&amp;nbsp;the REG0 regulator disabled (see &lt;a title="Main voltage regulators" href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/power.html?cp=5_0_0_4_2_0_0#unique_171914860"&gt;Main voltage regulators&lt;/a&gt;). I assumed you had configured the board to run in high voltage where VDD is supplied from the REG0 output.&lt;/p&gt;
&lt;p&gt;To make the module run in high voltage mode, you need to connect your supply to VDDH, not VDD. Same as shown for Config. 2 in the&amp;nbsp;&lt;a title="Reference circuitry" href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/ref_circuitry.html?cp=5_0_0_6_2"&gt;Reference circuitry&lt;/a&gt;&amp;nbsp;chapter of the PS.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 5V nRF52833 I2C connection to 1.8V device</title><link>https://devzone.nordicsemi.com/thread/432411?ContentTypeID=1</link><pubDate>Wed, 21 Jun 2023 18:47:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4cb84cc-eb81-4690-80e0-1f2686e4a641</guid><dc:creator>Kaveh.M</dc:creator><description>&lt;p&gt;I m using BM833 that has nRF52833 chip. I have connected 3.3V DC to its VDD pins 14 and 28.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have left VDDH pin open.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/BM833.pdf"&gt;devzone.nordicsemi.com/.../BM833.pdf&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 5V nRF52833 I2C connection to 1.8V device</title><link>https://devzone.nordicsemi.com/thread/432400?ContentTypeID=1</link><pubDate>Wed, 21 Jun 2023 17:16:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc7d6ee2-7157-4b98-8a74-77068445fe4d</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I&amp;#39;m not sure how to explain the voltage fluctuations. VDD and the IO voltage should be stable at 1.8V with this setting. Can you please post the schematics for your board?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 5V nRF52833 I2C connection to 1.8V device</title><link>https://devzone.nordicsemi.com/thread/432386?ContentTypeID=1</link><pubDate>Wed, 21 Jun 2023 15:15:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1a5633b-98fe-4ccf-99cb-6af538c33604</guid><dc:creator>Kaveh.M</dc:creator><description>&lt;p&gt;I applied :$ nrfjprog --memwr 0x10001304 --val 0 // Configure output to 1v8&lt;/p&gt;
&lt;p&gt;and confirmed:&amp;nbsp;$ nrfjprog --memrd 0x10001304&lt;/p&gt;
&lt;p&gt;The issue is still there. It seems like I should have used a level shifter between my nrf52833 and sensor chip.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;With my debugger, when I put a breakpoint for the code to stop right after I2C communication the I2C line bus voltages go exactly to 3V. It seems the reason that the voltage is returning back to 1.8V is because I disable and uninit I2C after my communication.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 5V nRF52833 I2C connection to 1.8V device</title><link>https://devzone.nordicsemi.com/thread/432257?ContentTypeID=1</link><pubDate>Wed, 21 Jun 2023 10:11:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fcece5ef-5414-4d4a-97ae-caf193fb8472</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;&lt;span&gt;It&amp;#39;s easiest to change the&amp;nbsp;&lt;a title="REGOUT0" href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/uicr.html?cp=5_0_0_3_4_0_7#register.REGOUT0"&gt;REGOUT0&lt;/a&gt;&amp;nbsp;register with nrfjprog. E.g., &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;$ nrfjprog --recover //Erase chip and disable APPROTECT
$ nrfjprog --memwr 0x10001304 --val 0 // Configure output to 1v8&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;You can also check the current setting with nrfjprog:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;$ nrfjprog --memrd 0x10001304&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;But I&amp;#39;m not sure why you are measuring more than 1.8v on the bus lines. Can you please post your schematic here?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 5V nRF52833 I2C connection to 1.8V device</title><link>https://devzone.nordicsemi.com/thread/432132?ContentTypeID=1</link><pubDate>Tue, 20 Jun 2023 20:12:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a14d543-2424-467e-b0b5-fe5acb23f736</guid><dc:creator>Kaveh.M</dc:creator><description>&lt;p&gt;This is a scope capture of my I2C SDA and SCL voltage profiles. As you see my sensor initially operate at 1.8V but then I2C voltage line slowly increases to 3V and then return to 1.8V. The reason for return is that shortly after communication I disable and uninit my I2C line in the code.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It seems my sensor I2C operate at its 1.8V voltage level, but nRF52833 pulls high to 3V and then release it back.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;How can I prevent this behaviour and keep I2C voltage at 1.8V?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:249px;max-width:608px;" alt=" " height="249" src="https://devzone.nordicsemi.com/resized-image/__size/1216x498/__key/communityserver-discussions-components-files/4/7851.I2C-Voltage-Profile.jpg" width="608" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 5V nRF52833 I2C connection to 1.8V device</title><link>https://devzone.nordicsemi.com/thread/432128?ContentTypeID=1</link><pubDate>Tue, 20 Jun 2023 19:11:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3663d72c-882a-42a0-83c2-c468ca66a5b0</guid><dc:creator>Kaveh.M</dc:creator><description>&lt;p&gt;I have used this below line in main()&amp;nbsp; to set my I2C bus level to 1.8V:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;NRF_UICR-&amp;gt;REGOUT0 = UICR_REGOUT0_VOUT_1V8;&lt;/p&gt;
&lt;p&gt;But still seems my I2C line is at 3V. Please note that my processor supply voltage is 3.3V.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 5V nRF52833 I2C connection to 1.8V device</title><link>https://devzone.nordicsemi.com/thread/432118?ContentTypeID=1</link><pubDate>Tue, 20 Jun 2023 17:46:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9e64da3-de6e-4b76-aa39-25641d22477a</guid><dc:creator>Kaveh.M</dc:creator><description>&lt;p&gt;My design is not working as expected meaning that the voltage on my I2C bus is not 1.8V but it is leaning toward 3V. How can I set I2C bus voltage to 1.8V (or 3V) using&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a title="REGOUT0" href="https://infocenter.nordicsemi.com/topic/ps_nrf52833/uicr.html?cp=5_1_0_3_4_0_7#register.REGOUT0"&gt;REGOUT0&lt;/a&gt;&lt;span&gt;&amp;nbsp;register in UICR?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Is there a sample code for it?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 5V nRF52833 I2C connection to 1.8V device</title><link>https://devzone.nordicsemi.com/thread/423594?ContentTypeID=1</link><pubDate>Wed, 03 May 2023 13:52:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34a353fa-91d2-4bcd-832d-ea705c565c56</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I don&amp;#39;t see any problems with this design. Just note that you need to&amp;nbsp;select&amp;nbsp;a configuration that supports &amp;quot;VDDH/high voltage mode&amp;quot; for your board design&amp;nbsp;if you want to supply the chip&amp;nbsp;directly from a 5v source.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1683121794197v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="" title="Reference circuitry" href="https://infocenter.nordicsemi.com/topic/ps_nrf52833/ref_circuitry.html?cp=5_1_0_6_2"&gt;Reference circuitry&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 5V nRF52833 I2C connection to 1.8V device</title><link>https://devzone.nordicsemi.com/thread/423584?ContentTypeID=1</link><pubDate>Wed, 03 May 2023 13:30:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8adf83f7-ebbe-4189-8c6f-fae35b35a262</guid><dc:creator>Kaveh.M</dc:creator><description>&lt;p&gt;I have not measured anything yet. I am in the design stage.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I want to know if the architecture that I shared work, and if not, what needs to be added to my design.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So you mean when I get a bare erased nRF52833 chip, its default I2C bus voltage is 1.8V and my design can work without any issues?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 5V nRF52833 I2C connection to 1.8V device</title><link>https://devzone.nordicsemi.com/thread/423451?ContentTypeID=1</link><pubDate>Wed, 03 May 2023 07:43:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b874727d-6746-437e-95ac-a8dc04153293</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Even if you can get reliable communication, 5v may damage the inputs on the sensor. For comparison, the nRF52833 does not support more than VDD + 0.3v on its GPIO pads (&lt;a title="Absolute maximum ratings" href="https://infocenter.nordicsemi.com/topic/ps_nrf52833/abs_max_ratings.html?cp=5_1_0_8"&gt;Absolute maximum ratings&lt;/a&gt;).&amp;nbsp;But have you measured 5 V on the i2c lines? As you may know,&amp;nbsp;the IO voltage on the nRF is not controlled by the VDDH input but by the output of the REG0 regulator.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1683099543673v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;The output voltage of REG0 can be adjusted through the non-volatile&amp;nbsp;&lt;a title="REGOUT0" href="https://infocenter.nordicsemi.com/topic/ps_nrf52833/uicr.html?cp=5_1_0_3_4_0_7#register.REGOUT0"&gt;REGOUT0&lt;/a&gt;&amp;nbsp;register in UICR. It defaults to 1.8v after a full chip erase.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>