<?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>Verify working of DCDC converter on PCA10056</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/52812/verify-working-of-dcdc-converter-on-pca10056</link><description>Hi, 
 
 I&amp;#39;m using the PCA10056 dev kit to verify the workings of the DCDC converter. I added the following code after nrf_sdh_enable_request() : 
 e = sd_power_dcdc_mode_set(NRF_POWER_DCDC_ENABLE); 
 When I now use an oscilloscope to check the DCC pin</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 28 Oct 2019 08:52:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/52812/verify-working-of-dcdc-converter-on-pca10056" /><item><title>RE: Verify working of DCDC converter on PCA10056</title><link>https://devzone.nordicsemi.com/thread/217004?ContentTypeID=1</link><pubDate>Mon, 28 Oct 2019 08:52:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ce104a5-6bb4-4be7-92e3-bba4e4c2d20e</guid><dc:creator>Remco Poelstra</dc:creator><description>&lt;p&gt;Thanks! That explains a lot.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Verify working of DCDC converter on PCA10056</title><link>https://devzone.nordicsemi.com/thread/216987?ContentTypeID=1</link><pubDate>Mon, 28 Oct 2019 07:14:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:429aa372-4baf-47d6-8c9a-d3c1707a671b</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Hi, in debug mode the &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/pmu.html?cp=3_0_0_4_0"&gt;PMU &lt;/a&gt;is not active, which means that the regulators are set to LDO mode (normal mode) and always powered on, even in idle or system off mode, and the clocks are always running. So this explains why you don&amp;#39;t see the DCDC switching.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Verify working of DCDC converter on PCA10056</title><link>https://devzone.nordicsemi.com/thread/216824?ContentTypeID=1</link><pubDate>Fri, 25 Oct 2019 11:59:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d60cb6b-d1e9-4299-bf10-ed2263fd07be</guid><dc:creator>Remco Poelstra</dc:creator><description>&lt;p&gt;Hi, I&amp;#39;m using SES.&lt;/p&gt;
&lt;p&gt;I noticed that my project also switches if I power cycle the board first. If I run directly from the debugger there is no switching.&lt;/p&gt;
&lt;p&gt;So I believe there is nothing &amp;#39;wrong&amp;#39; with the code, but more something related to the debugging connection.&lt;/p&gt;
&lt;p&gt;Did you run in the debugger?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Verify working of DCDC converter on PCA10056</title><link>https://devzone.nordicsemi.com/thread/216793?ContentTypeID=1</link><pubDate>Fri, 25 Oct 2019 10:24:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d47ca08c-1545-4233-a185-94fa8f593877</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Can you post your hex file here, then I can try to compare. Also which project files did you use in the template folder? SES, IAR, Keil or GCC?&lt;/p&gt;
&lt;p&gt;Maybe something went wrong with your SDK installation. Can you try to use a clean SDK?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Verify working of DCDC converter on PCA10056</title><link>https://devzone.nordicsemi.com/thread/216787?ContentTypeID=1</link><pubDate>Fri, 25 Oct 2019 09:48:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73436feb-11c0-43c2-8db4-5c0ed2de7853</guid><dc:creator>Remco Poelstra</dc:creator><description>&lt;p&gt;Hi, Thanks for the HEX file. This is most interesting, as with your HEX file I see switching on L2. I re-tried my project and it doesn&amp;#39;t cause switching.&lt;/p&gt;
&lt;p&gt;I compared the binary files, but they are very different, so there isn&amp;#39;t much information in there.&lt;/p&gt;
&lt;p&gt;Can you advise on the next step?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Verify working of DCDC converter on PCA10056</title><link>https://devzone.nordicsemi.com/thread/216770?ContentTypeID=1</link><pubDate>Fri, 25 Oct 2019 08:31:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cfcaad68-e273-4b05-b920-8d44fb1260e0</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Hi, sorry for the late reply. I tried your project and I can see the DCDC switching. I&amp;#39;m attaching the hex file, which we know is working, so you can try to out: &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-b3b3042a05524a3e83c4fe10061dc0d6/template_5F00_pca10056.hex"&gt;devzone.nordicsemi.com/.../template_5F00_pca10056.hex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you can&amp;#39;t see any DCDC activity, I really don&amp;#39;t know what is going on. If you want you can ship the DK to me so I can test it here in the lab.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Verify working of DCDC converter on PCA10056</title><link>https://devzone.nordicsemi.com/thread/214276?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2019 07:34:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81a52cb8-bd42-49ac-98cc-df65fe1cb330</guid><dc:creator>Remco Poelstra</dc:creator><description>&lt;p&gt;If I enable DCDC0 (and set the board in high voltage mode), I do see switching on L4. I&amp;#39;ve still no clue why L2 doesn&amp;#39;t show switching with DCDC1 enabled.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Verify working of DCDC converter on PCA10056</title><link>https://devzone.nordicsemi.com/thread/214049?ContentTypeID=1</link><pubDate>Wed, 09 Oct 2019 07:34:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f8d0dcf-0d58-483e-a4ea-beb48fb3931c</guid><dc:creator>Remco Poelstra</dc:creator><description>&lt;p&gt;Can we exchange projects? I verified my code and measurement setup again and I truly do not see the pin switch.&lt;/p&gt;
&lt;p&gt;Maybe there is a subtle difference in the code? I attached my code, please attach yours.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/template_5F00_project.zip"&gt;devzone.nordicsemi.com/.../template_5F00_project.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Verify working of DCDC converter on PCA10056</title><link>https://devzone.nordicsemi.com/thread/213828?ContentTypeID=1</link><pubDate>Tue, 08 Oct 2019 09:19:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17c0ae43-e9e2-47fd-8d47-5aceb5637180</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Running this code:&lt;/p&gt;
&lt;pre&gt;NRF_POWER-&amp;gt;DCDCEN = 1;
for(;;){}&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;
&lt;p&gt;Measuring here with a 10x attenuation probe (PCA10056 v1.1.0):&lt;br /&gt;&lt;br /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-b3b3042a05524a3e83c4fe10061dc0d6/sch.png" /&gt;&lt;br /&gt;&lt;br /&gt;The DCDC is turning on and off with an interval of 20us (the interval will change based on load):&lt;br /&gt;&lt;br /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-b3b3042a05524a3e83c4fe10061dc0d6/dcc1.bmp" /&gt;&lt;br /&gt;&lt;br /&gt;And zooming in on the actual DCDC switching:&lt;br /&gt;&lt;br /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-b3b3042a05524a3e83c4fe10061dc0d6/dcc2.bmp" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Verify working of DCDC converter on PCA10056</title><link>https://devzone.nordicsemi.com/thread/213100?ContentTypeID=1</link><pubDate>Thu, 03 Oct 2019 07:01:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e88ac47-2f40-4698-a2ee-a4702c4ce768</guid><dc:creator>Remco Poelstra</dc:creator><description>&lt;p&gt;The sticker has the following numbers:&lt;/p&gt;
&lt;p&gt;PCA10056&lt;/p&gt;
&lt;p&gt;1.1.0&lt;/p&gt;
&lt;p&gt;2019.9&lt;/p&gt;
&lt;p&gt;683746617&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Verify working of DCDC converter on PCA10056</title><link>https://devzone.nordicsemi.com/thread/213047?ContentTypeID=1</link><pubDate>Wed, 02 Oct 2019 14:56:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9a6d129-2fb7-49e5-988f-302aa6145cf1</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;What is the version of the DK?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Verify working of DCDC converter on PCA10056</title><link>https://devzone.nordicsemi.com/thread/213034?ContentTypeID=1</link><pubDate>Wed, 02 Oct 2019 14:18:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92143e01-2641-425b-ba22-4df0f9dceee9</guid><dc:creator>Remco Poelstra</dc:creator><description>&lt;p&gt;A 70MHz scope, 1GS/s, horizontal set at 40ns/div.&lt;/p&gt;
&lt;p&gt;This setting shows the 32MHz waveform of the HFXO nicely and it should be able to show a 8MHz waveform.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Verify working of DCDC converter on PCA10056</title><link>https://devzone.nordicsemi.com/thread/213026?ContentTypeID=1</link><pubDate>Wed, 02 Oct 2019 14:09:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd5602e4-bc02-41ca-9d76-a1efb280634b</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;1.3V is the DC voltage of that pin both when DCDC is enabled and disabled.&lt;/p&gt;
&lt;p&gt;What are you using to measure on DCC, and what is the sampling rate? The DCDC is switching at about 8MHz.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Verify working of DCDC converter on PCA10056</title><link>https://devzone.nordicsemi.com/thread/213016?ContentTypeID=1</link><pubDate>Wed, 02 Oct 2019 13:25:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc43d651-a918-4c3e-9cd0-9e55e1bdf58e</guid><dc:creator>Remco Poelstra</dc:creator><description>&lt;p&gt;That does not start the DCDC converter. I also added NRF_CLOCK-&amp;gt;TASKS_HFCLKSTART=1; before the for(;;) and that indeed enables the HFXO, yet still no switching.&lt;/p&gt;
&lt;p&gt;As a side note, I do see about 1.3V on the pin.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Verify working of DCDC converter on PCA10056</title><link>https://devzone.nordicsemi.com/thread/213011?ContentTypeID=1</link><pubDate>Wed, 02 Oct 2019 13:06:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6037c460-cca3-48ba-a16d-b37ebb9648e0</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Yes, a for(;;) will start the DCDC. Can you try with a main function that looks like this and nothing more?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;pre&gt;NRF_POWER-&amp;gt;DCDCEN = 1;
for(;;){}&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Verify working of DCDC converter on PCA10056</title><link>https://devzone.nordicsemi.com/thread/212990?ContentTypeID=1</link><pubDate>Wed, 02 Oct 2019 11:58:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec5ad610-7a51-4d45-8b74-1f11d5cab3b8</guid><dc:creator>Remco Poelstra</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Unfortunately I don&amp;#39;t currently have access to equipment that can actually measure the current consumption.&lt;/p&gt;
&lt;p&gt;Hence, as a sanity check I just wanted to see the pin switch, knowing that I initialized it correctly.&lt;/p&gt;
&lt;p&gt;When I place a for(;;) statement just before I start the FreeRTOS scheduler, I still do not see the pin switch.&lt;/p&gt;
&lt;p&gt;Should that be sufficient power consumption for the SoC to use the DCDC converter?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Verify working of DCDC converter on PCA10056</title><link>https://devzone.nordicsemi.com/thread/212979?ContentTypeID=1</link><pubDate>Wed, 02 Oct 2019 11:22:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98e28c87-ed9b-4939-a905-e00114114c6a</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;When you enable the DCDC, it is is automatically controlled, always choosing the regulator that will consume the least current. When the chip is in IDLE the ultra low power regulator is used, and the DCDC is switched off.&lt;/p&gt;
&lt;p&gt;Try to enable the DCDC and enable something that consumes current (Like the HF clock). Or prevent the CPU from sleeping in the main loop (removing any WFE/WFI calls), and you will see the switching on the DCC pin&lt;/p&gt;
&lt;p&gt;An other way to see if the DCDC is enabled is to check the current consumption. Especially the radio TX/RX peaks will be different with DCDC enabled or not. Have a look at the online power profiler to see what&amp;#39;s expected: &lt;a href="https://devzone.nordicsemi.com/nordic/power"&gt;https://devzone.nordicsemi.com/nordic/power&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>