<?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>Comparator unusable in DCDC mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106279/comparator-unusable-in-dcdc-mode</link><description>Hi, Just an observation unless there&amp;#39;s any hints. I run the comparator to monitor a 5v line through a resistor divider. I&amp;#39;ve found that with DCDC mode enabled I can not get a reasonable level of accuracy. While it could be the DCDC affects the comparator</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Dec 2023 21:56:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106279/comparator-unusable-in-dcdc-mode" /><item><title>RE: Comparator unusable in DCDC mode</title><link>https://devzone.nordicsemi.com/thread/460022?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2023 21:56:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2861af54-508d-47d9-a0a3-891e712f26d1</guid><dc:creator>snoopy20</dc:creator><description>&lt;p&gt;Hi Simon,&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve actually been playing with this again today, I&amp;#39;ll report back any findings.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Comparator unusable in DCDC mode</title><link>https://devzone.nordicsemi.com/thread/459677?ContentTypeID=1</link><pubDate>Mon, 11 Dec 2023 12:01:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7f7bd63-a46e-431e-8c85-c40193007a70</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I talked to our experts on the matter about this, and they find it a bit strange that the DCDC is coming in on the COMP. The DCDC powers the 1.26V net and the COMP on VDD only. Their suggestion is to turn on the SAADC and set TACQ = 5µs to force the DCDC not to go into its refresh mode.&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: Comparator unusable in DCDC mode</title><link>https://devzone.nordicsemi.com/thread/459380?ContentTypeID=1</link><pubDate>Thu, 07 Dec 2023 14:03:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6cc68fcb-dd1e-471d-a333-41791c43e908</guid><dc:creator>snoopy20</dc:creator><description>&lt;p&gt;It&amp;#39;s difficult to say because the noise is internal and I&amp;#39;m using minimal hysteresis. What I&amp;#39;m doing is taking a 5V down through a divider. I&amp;#39;m then using it as an UVLO where it controls three external systems responsible for causing the UVLO, and shut them down until it corrects.&lt;br /&gt;&lt;br /&gt;I expect the DCDC is effecting the reference ever so slightly, but that&amp;#39;s all it will take. I switched to 2V4 and it does seem better, not sure if it&amp;#39;s stable enough but to be honest it&amp;#39;s easier just to use the LDO. &lt;br /&gt;&lt;br /&gt;It&amp;#39;s also to be expected really, DCDC causes noise.&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;/* (using 100/320k resistor ratio)
  5.25v , 1.641
  4.9v, 1.531 
  4.8v, 1.5
  4.7v, 1.469
  4.65v, 1.453
  4.6v, 1.437 
  4.5v , 1.406
*/

#define UVLO_REFERENCE COMP_REFSEL_REFSEL_Int2V4
#define UVLO_HYSTERESIS_UP (UVLO_HYSTERESIS_DOWN+2)
#define UVLO_HYSTERESIS_DOWN 37 // 1.437/2.4 * 63&lt;/pre&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/divider.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Comparator unusable in DCDC mode</title><link>https://devzone.nordicsemi.com/thread/459358?ContentTypeID=1</link><pubDate>Thu, 07 Dec 2023 12:40:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cca38351-d291-4402-8b70-8c6f729ed1a1</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Andrew&lt;/p&gt;
&lt;p&gt;I have reported your errata suggestion internally and we&amp;#39;re now reviewing it.&lt;/p&gt;
&lt;p&gt;Back to the original issue. So it is the reference voltage you see this noise on, correct? How much noise are we talking about here, or how much are the measured voltages off compared to the expected values? Does increasing the ref. voltage from 1.8 to 2.4 help and make the readings usable, or are they still not sufficiently accurate? Please provide any further information you think might be useful, as the expert that would know more about this is OoO until next week.&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: Comparator unusable in DCDC mode</title><link>https://devzone.nordicsemi.com/thread/458998?ContentTypeID=1</link><pubDate>Tue, 05 Dec 2023 14:11:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:920c7ac5-e624-4461-8585-ef411eea9c4d</guid><dc:creator>snoopy20</dc:creator><description>&lt;p&gt;Hi Simon, it&amp;#39;s separate to the issue sorry, but related to the COMP.&lt;br /&gt;&lt;br /&gt;Worth reporting as it definitely exists, and the workaround works.&lt;br /&gt;&lt;br /&gt;SOC is 810v2, SDK doesn&amp;#39;t apply, I use the registers directly as provided by nrf52810.h.&lt;br /&gt;&lt;br /&gt;The original issue I wouldn&amp;#39;t think is errata per say, I&amp;#39;d sort of expect the DC-DC to induce additional noise in the reference voltages. I have also switched from the 1.8v to the 2.4v and it appears to be better in this regard.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;&lt;br /&gt;Andrew&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Comparator unusable in DCDC mode</title><link>https://devzone.nordicsemi.com/thread/458991?ContentTypeID=1</link><pubDate>Tue, 05 Dec 2023 14:04:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a4fede7-e433-455c-9298-7d307ceead90</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Andrew&lt;/p&gt;
&lt;p&gt;Is this a workaround to you initial problem as well or a workaround to a new issue you found? If you want me to report it internally so we can log it as a known error (errata), please provide the SoC revision and SDK you&amp;#39;re using for developing here.&lt;/p&gt;
&lt;p&gt;If you need any further assistance or not, please let me know.&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: Comparator unusable in DCDC mode</title><link>https://devzone.nordicsemi.com/thread/458789?ContentTypeID=1</link><pubDate>Mon, 04 Dec 2023 15:50:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8c74d97-bf4a-4eec-b00d-0289f2326698</guid><dc:creator>snoopy20</dc:creator><description>&lt;p&gt;Hi Simon,&lt;br /&gt;&lt;br /&gt;It&amp;#39;s not as bad as I first thought but still not useable. It doesn&amp;#39;t help that I have the limits so close together I think. &lt;br /&gt;&lt;br /&gt;I can&amp;#39;t add a capacitor, that would be a RC and reduce the reaction time, which must be quick as it&amp;#39;s fed to two output pins and shuts down hardware causing the uvlo condition.&lt;br /&gt;&lt;br /&gt;I have also found new errata and a workaround.&lt;br /&gt;&lt;br /&gt;If the EVENT_DOWN and EVENT_UP are wired though PPI to GPIOTE_TASK_SET and CLR then eventually at some point a PPI will skip and the output will be inverted.&lt;br /&gt;&lt;br /&gt;The solution is to use EVENT_CROSS wired through PPI to GPIOTE_TASK_OUT with polarity set to toggle. One must first ensure the output and comparator are in sync using EVENT_SAMPLE and then starting GPIOTE with default output to match, but then it works great and no skip is observed.&lt;br /&gt;&lt;br /&gt;This is with the comparator in High/Fast mode and a signal around about the 1MHz region.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;&lt;br /&gt;Andrew&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Comparator unusable in DCDC mode</title><link>https://devzone.nordicsemi.com/thread/458727?ContentTypeID=1</link><pubDate>Mon, 04 Dec 2023 12:39:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f38ef7d-abe2-4df0-8f92-ca5b55cf0795</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Andrew&lt;/p&gt;
&lt;p&gt;We can&amp;#39;t remember to have seen something like this before here in tech support at least, and I didn&amp;#39;t see an errata mentioning this either. Can you provide some more information on your issue. Is it the reference voltage or the signal itself that you experience noise on? What pins are you using for the comparator here exactly? Are the pin(s) or line physically close to the DCDC components that might explain why you see this interference.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I might be misunderstanding, but if the noise is on the GPIOs maybe you could put a capacitor on the input to avoid this?&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>