<?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>Problem with UARTE in direct supply mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/67636/problem-with-uarte-in-direct-supply-mode</link><description>Hello, I encounter a problem when I am trying to measure the current consumption of the nRF52840 on the nRF52840-DK. I have set the board in direct supply mode as described here . I am feeding the external supply pins with 3.3V using an otii arc. However</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 28 Oct 2020 15:32:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/67636/problem-with-uarte-in-direct-supply-mode" /><item><title>RE: Problem with UARTE in direct supply mode</title><link>https://devzone.nordicsemi.com/thread/277448?ContentTypeID=1</link><pubDate>Wed, 28 Oct 2020 15:32:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4de5063f-54cf-4e95-888c-a9dc8dfc5fd1</guid><dc:creator>TSonono</dc:creator><description>&lt;p&gt;Thanks Simon, this seems to be the most viable configuration. UART is working fine now and measurements are hopefully accurate &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Tofik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with UARTE in direct supply mode</title><link>https://devzone.nordicsemi.com/thread/277371?ContentTypeID=1</link><pubDate>Wed, 28 Oct 2020 11:47:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62f0c14d-aeec-433c-81e0-0019698dd309</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;The nRF only mode disconnects the power supply of the interface MCU, the external memory, and the LEDs as well as disconnects the signal lines between the SoC and the MCU using analog switches. This is done to isolate the SoC as much as possible, and can be of use when measuring currents on low-power applications. Cutting SB58 should provide a more realistic current reading, as the voltage follower will consume some current, although not a lot.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with UARTE in direct supply mode</title><link>https://devzone.nordicsemi.com/thread/277294?ContentTypeID=1</link><pubDate>Wed, 28 Oct 2020 08:20:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a30fb5d-2423-43db-b7bc-2ac3255a9be0</guid><dc:creator>TSonono</dc:creator><description>&lt;p&gt;Thanks for the reply Simon.&lt;br /&gt;&lt;br /&gt;I see! It also seems that if I put the DK in nRF only mode, the application works without any USB cable connected to J2 (without cutting SB58). Would the measurements I get with this configuration be incorrect for some reason? Should I cut SB58 to get more &amp;quot;correct&amp;quot; measurements?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Regards,&lt;br /&gt;&lt;br /&gt;Tofik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with UARTE in direct supply mode</title><link>https://devzone.nordicsemi.com/thread/277290?ContentTypeID=1</link><pubDate>Wed, 28 Oct 2020 07:52:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4be39857-f02b-412c-b6ef-6dd46daee16d</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi again&lt;/p&gt;
&lt;p&gt;As stated in the direct supply documentation, it is recommended to supply the board from a different source to prevent the pins of the SoC to be connected to unpowered devices (which I assume is what&amp;#39;s happening here). The voltage follower also requires 5V to be present on the DK when SW10 is in the ON position. You can alternatively disconnect the voltage follower from the external supply by cutting SB58. If you do so, it&amp;#39;s recommended to set the DK in nRF only mode by setting SW6 to &lt;strong&gt;nRF only&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with UARTE in direct supply mode</title><link>https://devzone.nordicsemi.com/thread/277125?ContentTypeID=1</link><pubDate>Tue, 27 Oct 2020 12:12:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:407c27ab-44b8-44b2-a519-9555630e42db</guid><dc:creator>TSonono</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;The uart pins are connected to another nRF52840-DK (which I&amp;rsquo;m not doing any measurements at). The two DK:s communicate over uart essentially. I&amp;rsquo;m not using a PPK, I&amp;rsquo;m using an otii arc. However, a colleague is using a PPK and is experiencing the same problem.&lt;/p&gt;
&lt;p&gt;The uart instance is UARTE0 enabled by NRF_LIBUARTE_DRV_UARTE0 in sdk_config.h.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with UARTE in direct supply mode</title><link>https://devzone.nordicsemi.com/thread/277120?ContentTypeID=1</link><pubDate>Tue, 27 Oct 2020 11:55:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3207e97-c314-4c80-86c5-84117a215a0a</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Tofik&lt;/p&gt;
&lt;p&gt;What are these pins (P0.26 and P0.27) connected to? What UART instance are you using in your application? It might be a conflict between the UART backend and your application causing this. Are you measuring current using a PPK or some other device? If you are using a PPK, it will need a DK&amp;#39;s MCU in order to communicate with the nRFConnect application. Please see the &lt;a href="https://infocenter.nordicsemi.com/pdf/PPK_User_Guide_v2.4.pdf"&gt;PPK user guide&lt;/a&gt; for alternative ways to measure current without the onboard MCU (you will need a second DK in that case).&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>