<?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>SAADC VDDHDIV5 input on nRF52840 rev. 1</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/80778/saadc-vddhdiv5-input-on-nrf52840-rev-1</link><description>Hello, 
 I got two PCA10056 1.0.0 DKs equipped with an nRF52840 rev. 1 (code AC0). Both do not measure the VCCH voltage correctly (displayed voltage ~2.4V instead of 3.0V). The setup is based on the peripheral-&amp;gt;saadc example with the only modification</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 05 Dec 2022 13:20:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/80778/saadc-vddhdiv5-input-on-nrf52840-rev-1" /><item><title>RE: SAADC VDDHDIV5 input on nRF52840 rev. 1</title><link>https://devzone.nordicsemi.com/thread/398982?ContentTypeID=1</link><pubDate>Mon, 05 Dec 2022 13:20:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53010d2f-58e5-4a11-9ed2-45335844da6c</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;I am glad to hear that you found the answers here useful! :)&amp;nbsp;&lt;br /&gt;&lt;br /&gt;It is indeed not explicitly mentioned in the datasheet - I will write a note about this to our techwriters and see if it is something they can amend if there is a future release of the Product Specification planned.&lt;br /&gt;&lt;br /&gt;Thank you for the feedback, we appreciate it! :)&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC VDDHDIV5 input on nRF52840 rev. 1</title><link>https://devzone.nordicsemi.com/thread/398847?ContentTypeID=1</link><pubDate>Fri, 02 Dec 2022 22:25:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b454e386-8154-4960-a54b-f02bd47de4b3</guid><dc:creator>pmochocki</dc:creator><description>[quote userid="87869" url="~/f/nordic-q-a/80778/saadc-vddhdiv5-input-on-nrf52840-rev-1/336250"]Yes, from what I can tell VDDH is not really in use when the nRF is in Normal voltage mode, so I do not think it is a valid&amp;nbsp;source to measure the nRF&amp;#39;s supply voltage when not in high voltage mode.[/quote]
&lt;p&gt;This is very useful and has helped me a lot, as I was wondering why I get strange results when using VDDHDIV5 in Normal voltage mode. To bad that this information is not in the datasheet. I understand that&amp;nbsp;VDDH is not really in use when the nRF is in Normal voltage mode, but VDDH is connected to VDD so users might expect this to work.&amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC VDDHDIV5 input on nRF52840 rev. 1</title><link>https://devzone.nordicsemi.com/thread/336419?ContentTypeID=1</link><pubDate>Thu, 28 Oct 2021 10:57:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6dee823-4e63-44b0-9dc7-34796743b04c</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello again Norbert,&lt;/p&gt;
[quote user="ngrunert"]C19 next to the chip.[/quote]
&lt;p&gt;Thank you for confirming this.&lt;/p&gt;
[quote user="ngrunert"]Sounds good. I am interested to hear their comments, if any.[/quote]
&lt;p&gt;The DK developers just got back to me, they too concluded that this must then be caused by something internal to the SoC when operating in normal voltage mode contra high voltage mode. They conclude that this must be the case&amp;nbsp;since you are measuring 3 V on C19.&lt;/p&gt;
[quote user="ngrunert"]Okay. My experiment was for the next board architecture. I was not aware of any dependency between SAADC input and power configuration (in hindsight it is obvious, though).[/quote][quote user="ngrunert"]With 3.0V supplied to P27 and SW9 in LiPo position, I get a reading of 170 (=3.0V) too. So indeed VDDHDIV5 is invalid if not in HV power configuration. That is totally OK for me.[/quote]
&lt;p&gt;Great, I am glad to hear that you too are seeing the expected measurements in the High voltage configuration, and that this is not an issue for your next project.&lt;/p&gt;
[quote user="ngrunert"]Thanks for your time,[/quote]
&lt;p&gt;It is no problem at all, Norbert - I am happy to help!&lt;br /&gt;&lt;br /&gt;Please do not hesitate to open another ticket if you should encounter any other issues or questions in the future.&lt;br /&gt;&lt;br /&gt;Good luck with your development!&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC VDDHDIV5 input on nRF52840 rev. 1</title><link>https://devzone.nordicsemi.com/thread/336342?ContentTypeID=1</link><pubDate>Thu, 28 Oct 2021 07:54:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cdf27a44-6fa0-43df-9f30-ac3bdda8d3fc</guid><dc:creator>Norbert</dc:creator><description>&lt;p&gt;Hello Karl,&lt;/p&gt;
[quote userid="87869" url="~/f/nordic-q-a/80778/saadc-vddhdiv5-input-on-nrf52840-rev-1/336250#336250"]reach out to the developers of the nRF52840 DK to see if they have any additional comment on this[/quote]
&lt;p&gt;Sounds good. I am interested to hear their comments, if any.&lt;/p&gt;
[quote userid="87869" url="~/f/nordic-q-a/80778/saadc-vddhdiv5-input-on-nrf52840-rev-1/336250#336250"]Could you specify where you accessed VDD_HV on the board[/quote]
&lt;p&gt;C19 next to the chip.&lt;/p&gt;
[quote userid="87869" url="~/f/nordic-q-a/80778/saadc-vddhdiv5-input-on-nrf52840-rev-1/336250#336250"]Could you also try to switch the SW9 to Li-Po, provide 3 V to the J6 or P27 port, and then see what your results for the VDDHDIV5 measurements are?&lt;br /&gt;[/quote]
&lt;p&gt;With 3.0V supplied to P27 and SW9 in LiPo position, I get a reading of 170 (=3.0V) too. So indeed VDDHDIV5 is invalid if not in HV power configuration. That is totally OK for me.&lt;/p&gt;
[quote userid="87869" url="~/f/nordic-q-a/80778/saadc-vddhdiv5-input-on-nrf52840-rev-1/336250#336250"]However, if you are not using the nRF in high voltage mode you should just use the SAADC&amp;#39;s _VDD input instead of the VDDH to measure the voltage of the supply.&lt;br /&gt;[/quote]
&lt;p&gt;Okay. My experiment was for the next board architecture. I was not aware of any dependency between SAADC input and power configuration (in hindsight it is obvious, though).&lt;/p&gt;
&lt;p&gt;Thanks for your time,&lt;/p&gt;
&lt;p&gt;Norbert&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC VDDHDIV5 input on nRF52840 rev. 1</title><link>https://devzone.nordicsemi.com/thread/336250?ContentTypeID=1</link><pubDate>Wed, 27 Oct 2021 14:12:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:adcd46c7-9854-4419-934d-8e64a8ea8aa1</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello Norbert,&lt;/p&gt;
[quote user="ngrunert"]Sorry for closing the thread before.[/quote]
&lt;p&gt;No problem at all - the feature is intended to summarize tickets by highlighting the answer that solved the issue, but it also locks the thread to avoid that it later diverges from the original issue.&lt;/p&gt;
[quote user="ngrunert"]&lt;p&gt;Back to the topic: In my understanding, with SW9 in position &amp;quot;VDD&amp;quot;, VDD_nRF is about equal to VDD_HV, so the measurement should work. I checked the VDD_HV level and it is ~3.0V, same as VDD_nRF (there is only an load switch between the two).&lt;/p&gt;
&lt;p&gt;Am I wrong here?&lt;/p&gt;[/quote]
&lt;p&gt;Yes, from what I can tell VDDH is not really in use when the nRF is in Normal voltage mode, so I do not think it is a valid&amp;nbsp;source to measure the nRF&amp;#39;s supply voltage when not in high voltage mode. I will reach out to the developers of the nRF52840 DK to see if they have any additional comment on this.&lt;br /&gt;&lt;br /&gt;Could you specify where you accessed VDD_HV on the board when you measured it?&lt;br /&gt;Could you also try to switch the SW9 to Li-Po, provide 3 V to the J6 or P27 port, and then see what your results for the VDDHDIV5 measurements are?&lt;br /&gt;&lt;br /&gt;However, if you are not using the nRF in high voltage mode you should just use the SAADC&amp;#39;s _VDD input instead of the VDDH to measure the voltage of the supply.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC VDDHDIV5 input on nRF52840 rev. 1</title><link>https://devzone.nordicsemi.com/thread/336039?ContentTypeID=1</link><pubDate>Tue, 26 Oct 2021 15:22:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74560c63-cd4e-4298-9ea8-1fb28ec1b1c9</guid><dc:creator>Norbert</dc:creator><description>&lt;p&gt;Hi Karl,&lt;/p&gt;
&lt;p&gt;Sorry for closing the thread before.&lt;/p&gt;
&lt;p&gt;Back to the topic: In my understanding, with SW9 in position &amp;quot;VDD&amp;quot;, VDD_nRF is about equal to VDD_HV, so the measurement should work. I checked the VDD_HV level and it is ~3.0V, same as VDD_nRF (there is only an load switch between the two).&lt;/p&gt;
&lt;p&gt;Am I wrong here?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Norbert&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC VDDHDIV5 input on nRF52840 rev. 1</title><link>https://devzone.nordicsemi.com/thread/335997?ContentTypeID=1</link><pubDate>Tue, 26 Oct 2021 13:37:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c26191d2-54a7-454b-b883-2e7ebca11363</guid><dc:creator>Karl Ylvisaker</dc:creator><description>[quote user="ngrunert"]No, as I said earlier, SW9 is in middle position (VDD). The power is coming from the USB I/F.[/quote]
&lt;p&gt;Yes, but as mentioned this will not supply the device through VDDH, which means that your SAADC&amp;#39;s measurement of the VDDHDIV5 might be correct even still. If you wish to supply the device through the VDDH pin you will need to have the nRF52840 in High Voltage mode, which can be achieved by switching the SW9 to Li-po. In this case you will have to supply the nRF through the J6 or P27 port.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC VDDHDIV5 input on nRF52840 rev. 1</title><link>https://devzone.nordicsemi.com/thread/335975?ContentTypeID=1</link><pubDate>Tue, 26 Oct 2021 12:55:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0000506-a0cc-4ad3-95eb-62a368b4a6ad</guid><dc:creator>Norbert</dc:creator><description>[quote userid="87869" url="~/f/nordic-q-a/80778/saadc-vddhdiv5-input-on-nrf52840-rev-1/335961#335961"]Could you confirm that you tested this with the SW9 switch in the Li-Po position, while powering the device with 3.0 V through the J6 or P27 port?[/quote]
&lt;p&gt;No, as I said earlier, SW9 is in middle position (VDD). The power is coming from the USB I/F.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Norbert&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC VDDHDIV5 input on nRF52840 rev. 1</title><link>https://devzone.nordicsemi.com/thread/335961?ContentTypeID=1</link><pubDate>Tue, 26 Oct 2021 12:25:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2debb945-f0bf-4e77-9164-543d60308c0a</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello Norbert,&lt;/p&gt;
[quote user="ngrunert"]I also found a third V1.0.0 DK which behaves exactly like my other two boards.[/quote]
&lt;p&gt;Could you confirm that you tested this with the SW9 switch in the Li-Po position, while powering the device with 3.0 V through the J6 or P27 port?&lt;/p&gt;
[quote user="ngrunert"]I am completely at a loss here. Would you please do me a favor and check the markings of the&amp;nbsp;chip on your V1.0.0 DK, just to make sure you have a legit DK and not an upgraded version?[/quote]
&lt;p&gt;Sure thing -&amp;nbsp;I just checked my board, and I do indeed have a AAC0 version of the chip.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC VDDHDIV5 input on nRF52840 rev. 1</title><link>https://devzone.nordicsemi.com/thread/335813?ContentTypeID=1</link><pubDate>Mon, 25 Oct 2021 15:06:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1628510-c133-410f-8eb0-a14861720c45</guid><dc:creator>Norbert</dc:creator><description>&lt;p&gt;Hello Karl,&lt;/p&gt;
&lt;p&gt;I checked once more the boards and still got the same results. The board&amp;#39;s HW looks fine. I also found a third V1.0.0 DK which behaves exactly like my other two boards. Then, I used bare-metal programming to configure and read the SAADC, totally avoiding the SDK. Still the same results.&lt;/p&gt;
&lt;p&gt;I am completely at a loss here. Would you please do me a favor and check the markings of the&amp;nbsp;chip on your V1.0.0 DK, just to make sure you have a legit DK and not an upgraded version? It should read &amp;#39;AC0&amp;#39;. Alternatively, you could also read FICR-&amp;gt;INFO.VARIANT which should give 0x41414330 (= &amp;quot;AAC0&amp;quot;).&lt;/p&gt;
&lt;p&gt;If you find that your chip is really a rev. 1, I suggest to give up and file it under great unresolved mysteries of the universe.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Norbert&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC VDDHDIV5 input on nRF52840 rev. 1</title><link>https://devzone.nordicsemi.com/thread/335574?ContentTypeID=1</link><pubDate>Sun, 24 Oct 2021 01:30:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ade3987-159e-49a9-89f5-a949c341425f</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello again, Norbert&lt;/p&gt;
[quote user="ngrunert"]Power supply is USB. SW9 is in middle position (VDD power), the coin cell battery removed. The 3V are generated on-board from the buck regulator.[/quote]
&lt;p&gt;Oh, it seems I have misunderstood your configuration earlier.&lt;br /&gt;I did my measurements with a supply of 3V directly on the VDDH input - with the SW9 switch set to Li-Po, for High Voltage mode. If the SW9 is in the VDD position &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf52840%2Fpower.html"&gt;the nRF52840 will enter Normal voltage mode&lt;/a&gt;&amp;nbsp;as opposed to high-voltage mode. In normal voltage mode you should not use the VDDHDIV5 to measure your VDD bus voltage, but instead use the _VDD input directly. In your test, do you see the expected SAADC measurements if you configure the SAADC to measure _VDD instead of _VDDHDIV5 (while keeping SW9 in the VDD position)?&lt;br /&gt;&lt;br /&gt;For all the details about the DK&amp;#39;s power supply circuitry you could &lt;a href="https://www.nordicsemi.com/Products/Development-hardware/nrf52840-dk"&gt;download the nRF52840 DK&amp;#39;s schematics here, to take a closer look&lt;/a&gt;.&lt;br /&gt;Fair warning, the power circuitry of the DK is not the easiest to familiarize with due to the array of power switches utilized for the different configurations.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC VDDHDIV5 input on nRF52840 rev. 1</title><link>https://devzone.nordicsemi.com/thread/335540?ContentTypeID=1</link><pubDate>Fri, 22 Oct 2021 16:30:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b85e749-b5c2-45c3-a5ef-5d73081f80e8</guid><dc:creator>Norbert</dc:creator><description>&lt;p&gt;Hello Karl,&lt;/p&gt;
&lt;p&gt;Thanks for the feedback. Very strange, indeed. I just reran the experiment with the same settings you have and still get only around 136 (2.39V).&lt;/p&gt;
&lt;p&gt;Power supply is USB. SW9 is in middle position (VDD power), the coin cell battery removed. The 3V are generated on-board from the buck regulator.&lt;/p&gt;
&lt;p&gt;The board should be unmodified, though it is not in a pristine condition. Chip version is Q1AAC0.&lt;/p&gt;
&lt;p&gt;I will dig further on Monday and let you know.&lt;/p&gt;
&lt;p&gt;Thanks for your help,&lt;/p&gt;
&lt;p&gt;Norbert&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC VDDHDIV5 input on nRF52840 rev. 1</title><link>https://devzone.nordicsemi.com/thread/335519?ContentTypeID=1</link><pubDate>Fri, 22 Oct 2021 14:27:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38e0834c-ad61-4a1d-8e79-493712c28bd2</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello again, Norbert&lt;br /&gt;&lt;br /&gt;I just tested this on my end, and using the default SAADC init and channel config (same as the SAADC example, only changing the _AIN0 to _VDDHDIV5), I am seeing both the nRF52840 v1.0.0 and v2.0.1 output the raw integer value 170 (with a few LSB fluctuation) when powered by a steady 3 V through the VDDH.&lt;br /&gt;This corresponds to ~2.98 V, which is what I would have expected..&lt;br /&gt;&lt;br /&gt;I find it very strange that you are seeing this consistently on two different v1.0.0 boards though. Have you made any modifications to these boards? Could you also elaborate on your board configuration (switch positions) and which port you supply the 3 V on when you conducted these tests?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC VDDHDIV5 input on nRF52840 rev. 1</title><link>https://devzone.nordicsemi.com/thread/335333?ContentTypeID=1</link><pubDate>Thu, 21 Oct 2021 13:48:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92a90898-86c2-44aa-a240-1cf192a0bbd5</guid><dc:creator>Norbert</dc:creator><description>&lt;p&gt;Hi Karl,&lt;/p&gt;
&lt;p&gt;Thanks a lot for confirming.&lt;/p&gt;
&lt;p&gt;I am very curious to see the result of your investigation. This outcome will impact our next design.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Norbert&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC VDDHDIV5 input on nRF52840 rev. 1</title><link>https://devzone.nordicsemi.com/thread/335328?ContentTypeID=1</link><pubDate>Thu, 21 Oct 2021 13:34:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78367e21-d8b1-4779-8cc1-099fb9896173</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello again, Norbert&lt;br /&gt;&lt;br /&gt;Thank you for your patience with this.&lt;/p&gt;
[quote user="ngrunert"]&lt;p&gt;VDDHDIV5 should provide 3.0V/5 = 0.6V at the input of the gain stage (ref. to PS1.5, fig. 148), so according to the PS this is fine.&lt;/p&gt;
&lt;p&gt;Where do you see that the input range is limited to 2* 1.2V? The link you provided says the same thing as the PS, i.e. that AINx have to be between VSS and VDD (up to 3V, here). The input of the SAADC code after the gain stage should not be larger as VREF (0.6V), else the value is clipped.&lt;/p&gt;[/quote][quote user="ngrunert"]To the best of my knowledge, the saadc example does not enable DCDC0. It does not make much sense on the DK as VDDH = VDD = 3.0V by the DK&amp;#39;s HW architecture.[/quote]
&lt;p&gt;Ah, yes of course, you are completely right. The DCDC is also indeed not enabled by default in the examples.&lt;br /&gt;The input range will still be limited by the chosen gain and reference, but it does indeed not matter for this case since you are measuring on VDDHDIV5.&lt;/p&gt;
[quote user="ngrunert"]Yes. VDDH is rock stable at 2.98V.[/quote]
&lt;p&gt;Thank you for confirming this. I assumed that you already knew, but from experience I still had to ask.&lt;/p&gt;
[quote user="ngrunert"]The result is the measured voltage, not the raw integer value from the SAADC.So factoring in the changed gain stage, the result if the same.[/quote]
&lt;p&gt;Right, I was under the impression that you were talking about the raw integer value, which definitely would have been strange if it had been the case.&lt;br /&gt;&lt;br /&gt;I do not immediately see any good explanation for this behavior.&lt;br /&gt;I will try to replicate this behavior at my end tomorrow, I will update you as soon as I have got something.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC VDDHDIV5 input on nRF52840 rev. 1</title><link>https://devzone.nordicsemi.com/thread/334627?ContentTypeID=1</link><pubDate>Mon, 18 Oct 2021 13:11:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a285729-1c09-4f6e-abde-3d97a007322d</guid><dc:creator>Norbert</dc:creator><description>&lt;p&gt;Hi Karl,&lt;/p&gt;
[quote userid="87869" url="~/f/nordic-q-a/80778/saadc-vddhdiv5-input-on-nrf52840-rev-1/334607#334607"]Changing the gain to 1/2 will &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf52840%2Fsaadc.html&amp;amp;anchor=unique_562173203"&gt;affect your input range&lt;/a&gt;&amp;nbsp;- with this configuration you should really only be able to measure values between 0 - 1.2 V.&amp;nbsp;[/quote]
&lt;p&gt;VDDHDIV5 should provide 3.0V/5 = 0.6V at the input of the gain stage (ref. to PS1.5, fig. 148), so according to the PS this is fine.&lt;/p&gt;
&lt;p&gt;Where do you see that the input range is limited to 2* 1.2V? The link you provided says the same thing as the PS, i.e. that AINx have to be between VSS and VDD (up to 3V, here). The input of the SAADC code after the gain stage should not be larger as VREF (0.6V), else the value is clipped.&lt;/p&gt;
[quote userid="87869" url="~/f/nordic-q-a/80778/saadc-vddhdiv5-input-on-nrf52840-rev-1/334607#334607"]That sounds strange to me. Are you getting the same output regardless of gain stage?[/quote]
&lt;p&gt;The result is the measured voltage, not the raw integer value from the SAADC.So factoring in the changed gain stage, the result if the same.&lt;/p&gt;
[quote userid="87869" url="~/f/nordic-q-a/80778/saadc-vddhdiv5-input-on-nrf52840-rev-1/334607#334607"]Could you share with me the code you are running when this happens?[/quote]
&lt;p&gt;As I said, it is the SDK 17.1.0 saadc example with the modifications in the original post (main.c, line 153). No other modifications.&lt;/p&gt;
[quote userid="87869" url="~/f/nordic-q-a/80778/saadc-vddhdiv5-input-on-nrf52840-rev-1/334607#334607"]Could you try this again with the DCDC disabled, to see if it makes any difference to the values you are measuring?[/quote]
&lt;p&gt;To the best of my knowledge, the saadc example does not enable DCDC0. It does not make much sense on the DK as VDDH = VDD = 3.0V by the DK&amp;#39;s HW architecture.&lt;/p&gt;
[quote userid="87869" url="~/f/nordic-q-a/80778/saadc-vddhdiv5-input-on-nrf52840-rev-1/334607#334607"]Do you have any possibility of externally measuring or scoping the VDDH of the devices, such as through an oscilloscope? [/quote]
&lt;p&gt;Yes. VDDH is rock stable at 2.98V.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Norbert&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC VDDHDIV5 input on nRF52840 rev. 1</title><link>https://devzone.nordicsemi.com/thread/334607?ContentTypeID=1</link><pubDate>Mon, 18 Oct 2021 12:33:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0ed28ec-2ee6-43a7-badb-365e5bf6fa65</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello Norbert,&lt;/p&gt;
[quote user=""]I chose to increase the input voltage swing on the ADC by configuring the gain stage from 1/6 to 1/2. This should normally give better results.[/quote]
&lt;p&gt;Changing the gain to 1/2 will &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fps_nrf52840%2Fsaadc.html&amp;amp;anchor=unique_562173203"&gt;affect your input range&lt;/a&gt;&amp;nbsp;- with this configuration you should really only be able to measure values between 0 - 1.2 V.&amp;nbsp;&lt;/p&gt;
[quote user=""]I got the same result with the gain stage set to 1/6. The result is consistent across the two boards.[/quote]
&lt;p&gt;That sounds strange to me. Are you getting the same output regardless of gain stage?&lt;br /&gt;Could you share with me the code you are running when this happens?&lt;br /&gt;&lt;br /&gt;Do you have any possibility of externally measuring or scoping the VDDH of the devices, such as through an oscilloscope? It would be very helpful to know what the voltage on VDDH is for reference during the measurements.&lt;/p&gt;
[quote user=""]I can only guess that this behaviour (if confirmed) is a side-effect of &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Ferrata_nRF52840_Rev1%2FERR%2FnRF52840%2FRev1%2Flatest%2Fanomaly_840_197.html&amp;amp;anchor=anomaly_840_197"&gt;erratum 197&lt;/a&gt;.[/quote]
&lt;p&gt;Could you try this again with the DCDC disabled, to see if it makes any difference to the values you are measuring?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>