<?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>Is it possible to verify DCDC is working via Software testing</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54002/is-it-possible-to-verify-dcdc-is-working-via-software-testing</link><description>Dear Support Engineers 
 I am in the process of designing the automated testing platform for a 52832 based device and would like to test to make sure the components/devices are reflowed properly. Especially, I am concern that if L2 and L3 connected to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 06 Nov 2019 15:39:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54002/is-it-possible-to-verify-dcdc-is-working-via-software-testing" /><item><title>RE: Is it possible to verify DCDC is working via Software testing</title><link>https://devzone.nordicsemi.com/thread/218885?ContentTypeID=1</link><pubDate>Wed, 06 Nov 2019 15:39:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42db94d5-5e78-4340-bb4d-7b881c9fd325</guid><dc:creator>Andreas</dc:creator><description>&lt;p&gt;Hi Nelson,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Alright, good catch. The DCDC will run with all sources for both HF and LF clock (depending on the load as mentioned), so this method checks out.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to verify DCDC is working via Software testing</title><link>https://devzone.nordicsemi.com/thread/218768?ContentTypeID=1</link><pubDate>Wed, 06 Nov 2019 09:51:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e20286d-669a-4d09-bf26-e59fa2c90b07</guid><dc:creator>Nelson Ho</dc:creator><description>&lt;p&gt;Thank you Andreas,&lt;/p&gt;
&lt;p&gt;My apology I have double checked my test code and the above test was actually run using LDO mode.(NRF_POWER-&amp;gt;DCDCEN = 0;) I have included the test code below for your reference.&amp;nbsp;&lt;/p&gt;
&lt;pre style="padding-left:30px;"&gt;int main(void)
{
    bool erase_bonds=true;
    uint32_t err_code;

    // Initialize logging
    log_init();

&lt;strong&gt;    NRF_POWER-&amp;gt;DCDCEN = 0;&lt;/strong&gt;
    
    NRF_CLOCK-&amp;gt;TASKS_HFCLKSTART = 1;

    // Wait for clock to start
    while(NRF_CLOCK-&amp;gt;EVENTS_HFCLKSTARTED == 0) ;
    //  Use NRF_CLOCK-&amp;gt;TASKS_HFCLKSTOP=1;   to stop later&lt;br /&gt;...&lt;br /&gt;}&lt;/pre&gt;
&lt;p&gt;I have therefore re-executed my test with enabling the DCDC at the beginning of the board initialization. Please note the HF clock is started to force the DCDC mode for easy measurement with multimeter. Please let me know if I am wrong that DCDC is active with HF clock active.&lt;/p&gt;
&lt;pre style="padding-left:30px;"&gt;int main(void)
{
    bool erase_bonds=true;
    uint32_t err_code;

    // Initialize logging
    log_init();

&lt;strong&gt;    NRF_POWER-&amp;gt;DCDCEN = 1;&lt;/strong&gt;
    
    NRF_CLOCK-&amp;gt;TASKS_HFCLKSTART = 1;

    // Wait for clock to start
    while(NRF_CLOCK-&amp;gt;EVENTS_HFCLKSTARTED == 0) ;
    //  Use NRF_CLOCK-&amp;gt;TASKS_HFCLKSTOP=1;   to stop later&lt;br /&gt;...&lt;br /&gt;}&lt;/pre&gt;
&lt;p&gt;And &lt;strong&gt;you are correct, the board won&amp;#39;t even start without the inductor installed. &lt;/strong&gt;After I reinstalled the inductor, the voltage at DCC and DEC4 are both 1217mVDC using my multimeter. So basically, we can be sure that reflow is done properly&amp;nbsp;if we know that that software has enabled DCDC at the beginning of the main function as follows&lt;/p&gt;
&lt;pre style="padding-left:30px;"&gt;&lt;strong&gt;NRF_POWER-&amp;gt;DCDCEN = 1;&lt;/strong&gt;&lt;/pre&gt;
&lt;p&gt;and the board program starts properly. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thank you again for your great insight!&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;&lt;br /&gt;Nelson&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to verify DCDC is working via Software testing</title><link>https://devzone.nordicsemi.com/thread/218744?ContentTypeID=1</link><pubDate>Wed, 06 Nov 2019 09:04:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:836d0f52-aa23-43a7-b4e7-9fcd624ff2db</guid><dc:creator>Andreas</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What is the nRF52 doing when you measure this, is is sleeping or something? When you enable the DCDC converter, the DCDC converter is not necessarily on 100% of the time. There is a power management system that measures the load, and enables the DCDC converter when the load is large enough that the DCDC converter improves efficiency. This is typically when the CPU is active or the Radio is active.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to verify DCDC is working via Software testing</title><link>https://devzone.nordicsemi.com/thread/218727?ContentTypeID=1</link><pubDate>Wed, 06 Nov 2019 08:06:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0af2aa43-868e-43be-8e73-fa83499d7a12</guid><dc:creator>Nelson Ho</dc:creator><description>&lt;p&gt;Thank you Andreas,&lt;/p&gt;
&lt;p&gt;Just to make sure I understand the behaviour, I have removed one of the 2 serial inductors in our custom board to simulate the case of improper reflow.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/WhatsApp-Image-2019_2D00_11_2D00_06-at-3.28.16-PM.jpeg" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;As expected, the board would still works, possibly in LDO mode, but the DC voltage at DCC drop to about 10mV.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/WhatsApp-Image-2019_2D00_11_2D00_06-at-3.31.32-PM.jpeg" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Once the inductor has been reinstalled,&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/WhatsApp-Image-2019_2D00_11_2D00_06-at-3.35.41-PM.jpeg" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;voltage at DCC is restored back to normal level of about 1250mV.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/WhatsApp-Image-2019_2D00_11_2D00_06-at-3.31.33-PM.jpeg" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;The voltage at DEC4 remains at about 1250mV(DC) with the inductor on or off. It seems like I only need to test the voltage at&amp;nbsp;DCC pin and this should&amp;nbsp;provide a quick way for testing whether the DCDC is working or not. Would you be able to duplicate my experiment and confirm my results?&lt;/p&gt;
&lt;p&gt;Thank you very much for your valuable input.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Nelson&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to verify DCDC is working via Software testing</title><link>https://devzone.nordicsemi.com/thread/218523?ContentTypeID=1</link><pubDate>Tue, 05 Nov 2019 11:51:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4728f5b9-cec4-44f1-915e-e1397f977b8a</guid><dc:creator>Andreas</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Correct. Also during TX or RX you can of course measure the current consumption if you want.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to verify DCDC is working via Software testing</title><link>https://devzone.nordicsemi.com/thread/218511?ContentTypeID=1</link><pubDate>Tue, 05 Nov 2019 11:26:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:015100bb-bc9e-4d64-b22c-90690c3735f7</guid><dc:creator>Nelson Ho</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I would have guess&amp;nbsp;that if there is an improper reflow, the inductors would form an open circuit and therefore the device, failing to see the inductors, would still work but defaults to LDO mode.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I understand from you that if I have a working device that can transmit and receive, I can then measure the voltage at DCC and DEC4; and if both of them has a DC voltage of about 1.25VDC present, then we can assume that the DCDC is working properly, correct?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Nelson&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to verify DCDC is working via Software testing</title><link>https://devzone.nordicsemi.com/thread/218432?ContentTypeID=1</link><pubDate>Tue, 05 Nov 2019 08:04:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b0f1414-10bb-4781-b17d-bc9526ee5c97</guid><dc:creator>Andreas</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If there is an inproper reflow between any of the DCDC inductors, the device will not work. This is a quite simple thing to test, but obviously there can be probably be other causes for this. You could then measure the output of DCC or the voltage level on DEC4 to verify if the cause is that the inductors are not soldered properly.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>