<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: nhs3152 adc problem  in NFC</title>
    <link>https://community.nxp.com/t5/NFC/nhs3152-adc-problem/m-p/920588#M5633</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The ADC is not linear at the extremities, causing a slightly steeper slope of the conversion from raw to voltage. The formula takes this into account.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;A 20 raw data fluctuation corresponds to ~8.5 mV, which is not that much. There is noise on the voltage input, and the IC being active also causes small fluctuations.&amp;nbsp;You can use a scope to measure more precisely the voltage, as a multimeter is only showing averages.&amp;nbsp;Perhaps best is to&amp;nbsp;configure the scope in AC-coupled input mode to&amp;nbsp;measure the ripple on the battery directly. You can also bring out a signal to synchronize the scope measurements with the ADC conversions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;BR /&gt;Dries.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Feb 2020 09:38:34 GMT</pubDate>
    <dc:creator>driesmoors</dc:creator>
    <dc:date>2020-02-03T09:38:34Z</dc:date>
    <item>
      <title>nhs3152 adc problem</title>
      <link>https://community.nxp.com/t5/NFC/nhs3152-adc-problem/m-p/920582#M5627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dear sir&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;i encounter a question about test the battery voltage with the ADC function .&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;my&amp;nbsp;&lt;A&gt;schematic&lt;/A&gt; &lt;A&gt;diagram is below&amp;nbsp;&lt;/A&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;EM style="color: #999999; background-color: #ffffff; font-weight: normal; font-size: 13.714284896850586px;"&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/91428iBFD5646824BEB209/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #999999; background-color: #ffffff; font-weight: normal; font-size: 13.714284896850586px;"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;2 my source about test the vcc voltage code is below&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;static uint16_t Get_current_adc(void)&lt;BR /&gt;{&lt;BR /&gt; //int adc_max=0xfff;&lt;BR /&gt; int adcInput=0;&lt;BR /&gt; int total_adc=0;&lt;BR /&gt; //! [adcdac_nss_example_3]&lt;BR /&gt; Chip_IOCON_SetPinConfig(NSS_IOCON, IOCON_ANA0_4, IOCON_FUNC_1);&lt;BR /&gt; Chip_ADCDAC_Init(NSS_ADCDAC0);&lt;BR /&gt; Chip_ADCDAC_SetMuxADC(NSS_ADCDAC0, ADCDAC_IO_ANA0_4);&lt;BR /&gt; Chip_ADCDAC_SetInputRangeADC(NSS_ADCDAC0, ADCDAC_INPUTRANGE_WIDE);&lt;BR /&gt; Chip_ADCDAC_SetModeADC(NSS_ADCDAC0, ADCDAC_CONTINUOUS);&lt;BR /&gt; Chip_ADCDAC_StartADC(NSS_ADCDAC0);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;int max,min;&lt;BR /&gt; total_adc=max=min=0;&lt;BR /&gt; for(int i=0;i&amp;lt;10;i++)&lt;BR /&gt; {&lt;BR /&gt; adcInput = Chip_ADCDAC_GetValueADC(NSS_ADCDAC0);&lt;BR /&gt; total_adc+=adcInput;&lt;BR /&gt; if(max&amp;lt;adcInput)&lt;BR /&gt; max=adcInput;&lt;BR /&gt; else if(min&amp;gt;adcInput)&lt;BR /&gt; min=adcInput;&lt;BR /&gt; }&lt;BR /&gt; Chip_ADCDAC_StopADC(NSS_ADCDAC0);&lt;BR /&gt; total_adc=total_adc-max-min;&lt;/P&gt;&lt;P&gt;//get the average value&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;total_adc=total_adc/8;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;//get the caculate from&amp;nbsp;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/message/1119718#comment-1120963" title="https://community.nxp.com/message/1119718#comment-1120963"&gt;https://community.nxp.com/message/1119718#comment-1120963&lt;/A&gt;&amp;nbsp;&lt;BR /&gt; //output in mV = ((native value - native offset) * internal operating voltage / steps per uV) + offset&lt;BR /&gt; //native offset=2048,internal voltage = 1.2V,gain (steps per uV) = 2730,offset = 0.9V&lt;BR /&gt; adcInput=(total_adc-2048)*1200/2730+900;// get the test point voltage ,unit is mv&lt;/P&gt;&lt;P&gt;//convert the test point voltage to VCC voltage&amp;nbsp;&lt;BR /&gt; adcInput=adcInput*5/2;&lt;BR /&gt; return (uint16_t)adcInput;&lt;BR /&gt; /* Further handling of the threshold breach. */&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my question is :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;how can i get these value ?i get from this value in another question ,but i do not no why ?i can not find it in spec .&lt;SPAN style="text-decoration: underline;"&gt;..native offset=2048,internal voltage = 1.2V,gain (steps per uV) = 2730,offset = 0.9V&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;my ADC value&amp;nbsp;&lt;SPAN style="color: #ff0000;"&gt;adcInput&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;A&gt;change&lt;/A&gt; &lt;A&gt;rapidly,it is not a stable value ,&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;for example ,i get the voltage VCC by multimeter is 3.0V&lt;/P&gt;&lt;P&gt;but ,i tried 10 times test the value ,and get the&amp;nbsp;&lt;SPAN&gt;adcInput = Chip_ADCDAC_GetValueADC(NSS_ADCDAC0);read from the register is below .&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6;" width="100%"&gt;&lt;THEAD&gt;&lt;TR style="background-color: #efefef; height: 25px;"&gt;&lt;TH style="height: 25px; width: 8%;"&gt;Header 1&lt;/TH&gt;&lt;TH style="height: 25px; width: 10%;"&gt;&lt;SPAN style="background-color: #efefef; font-weight: bold;"&gt;Header 1&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH style="height: 25px; width: 10%;"&gt;Header 2&lt;/TH&gt;&lt;TH style="height: 25px; width: 8%;"&gt;Header 3&lt;/TH&gt;&lt;TH style="height: 25px; width: 8%;"&gt;Header 4&lt;/TH&gt;&lt;TH style="height: 25px; width: 8%;"&gt;Header 5&lt;/TH&gt;&lt;TH style="height: 25px; width: 8%;"&gt;Header 6&lt;/TH&gt;&lt;TH style="height: 25px; width: 8%;"&gt;Header 7&lt;/TH&gt;&lt;TH style="height: 25px; width: 8%;"&gt;Header 8&lt;/TH&gt;&lt;TH style="height: 25px; width: 8%;"&gt;Header 9&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="height: 25px; width: 8%;"&gt;&lt;SPAN&gt;adcInput(mv)&amp;nbsp;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="height: 25px; width: 10%;"&gt;&lt;SPAN&gt;2695&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="height: 25px; width: 10%;"&gt;2677&lt;/TD&gt;&lt;TD style="height: 25px; width: 8%;"&gt;2573&lt;/TD&gt;&lt;TD style="height: 25px; width: 8%;"&gt;2596&lt;/TD&gt;&lt;TD style="height: 25px; width: 8%;"&gt;2578&lt;/TD&gt;&lt;TD style="height: 25px; width: 8%;"&gt;2676&lt;/TD&gt;&lt;TD style="height: 25px; width: 8%;"&gt;2597&lt;/TD&gt;&lt;TD style="height: 25px; width: 8%;"&gt;2670&lt;/TD&gt;&lt;TD style="height: 25px; width: 8%;"&gt;2630&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="height: 25px; width: 8%;"&gt;VCC(mv)&lt;/TD&gt;&lt;TD style="height: 25px; width: 10%;"&gt;&lt;SPAN&gt;2960&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="height: 25px; width: 10%;"&gt;2941&lt;/TD&gt;&lt;TD style="height: 25px; width: 8%;"&gt;2826&lt;/TD&gt;&lt;TD style="height: 25px; width: 8%;"&gt;2852&lt;/TD&gt;&lt;TD style="height: 25px; width: 8%;"&gt;2832&lt;/TD&gt;&lt;TD style="height: 25px; width: 8%;"&gt;2940&lt;/TD&gt;&lt;TD style="height: 25px; width: 8%;"&gt;2853&lt;/TD&gt;&lt;TD style="height: 25px; width: 8%;"&gt;2933&lt;/TD&gt;&lt;TD style="height: 25px; width: 8%;"&gt;2889&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN&gt;can you give me some advise ?is there anything wrong with my schematic ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;is there anything wrong with my design formula ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2019 12:03:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/nhs3152-adc-problem/m-p/920582#M5627</guid>
      <dc:creator>xiangxuejiao00</dc:creator>
      <dc:date>2019-10-15T12:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: nhs3152 adc problem</title>
      <link>https://community.nxp.com/t5/NFC/nhs3152-adc-problem/m-p/920583#M5628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you&amp;nbsp;help me&amp;nbsp; ?&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/driesmoors"&gt;driesmoors&lt;/A&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/Kan"&gt;Kan&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2019 03:18:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/nhs3152-adc-problem/m-p/920583#M5628</guid>
      <dc:creator>xiangxuejiao00</dc:creator>
      <dc:date>2019-10-17T03:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: nhs3152 adc problem</title>
      <link>https://community.nxp.com/t5/NFC/nhs3152-adc-problem/m-p/920584#M5629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's a bit confusing to use a NHS3100 symbol in your schematics. - a good thing the digital pins are identical&amp;nbsp;to the NHS3152&amp;nbsp;:-)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the debug connector is still attached, a lot of noise is injected. Is it possible you measured those numbers within a debug session? If so, can you repeat your measurements without a debug session and without the LPC-Link2 debugger board connected to the NHS3152 IC?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your fitting parameters used in the formula adcInput=(total_adc-2048)*1200/2730+900 do not ring&amp;nbsp;a bell for me. Can you try to recall how/when/where you received those?&lt;/P&gt;&lt;P&gt;After the weekend, I will try and see if I can find other fitting parameters - we&amp;nbsp;surely must have done this before, I need to check if I can find a trace of that somewhere...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;BR /&gt;Dries.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2019 18:04:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/nhs3152-adc-problem/m-p/920584#M5629</guid>
      <dc:creator>driesmoors</dc:creator>
      <dc:date>2019-10-18T18:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: nhs3152 adc problem</title>
      <link>https://community.nxp.com/t5/NFC/nhs3152-adc-problem/m-p/920585#M5630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dear dries&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; thank you for your reply .&lt;/P&gt;&lt;P&gt;i am sorry that i make a mistake in the schematic ,i use 3152 not 3100 in my test .&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;the data ADC value that i test is not in debug mode without LPC-LIN2,i use CR2032 instead .&lt;/LI&gt;&lt;LI&gt;is there anything wrong in my bleeder circuit ?&lt;/LI&gt;&lt;LI&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;the formula adcInput=(total_adc-2048)*1200/2730+900&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;i get the formula from&amp;nbsp;&lt;A _jive_internal="true" class="" href="https://community.nxp.com/thread/496928#comment-1120963" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-size: 14px; padding: 1px 0px 1px calc(12px + 0.35ex);"&gt;https://community.nxp.com/message/1119718#comment-1120963&lt;/A&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;this document that you replied before&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;can you give me some advise on test ADC value or any demo design ?&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;yours&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;xuejiao&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Oct 2019 02:34:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/nhs3152-adc-problem/m-p/920585#M5630</guid>
      <dc:creator>xiangxuejiao00</dc:creator>
      <dc:date>2019-10-21T02:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: nhs3152 adc problem</title>
      <link>https://community.nxp.com/t5/NFC/nhs3152-adc-problem/m-p/920586#M5631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The formula given was derived from an early sample, and does not accurately reflect the state of the released ICs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This formula provides a better conversion for production ICs:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;adc_input_voltage = (native_value * 1.2V) / 2825 + 0.09V&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;(Of course, for your schematics, you need to retain your multiplier&amp;nbsp;&lt;SPAN style="font-family: courier new,courier,monospace;"&gt;2.5&lt;/SPAN&gt; as well).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding reference design: we have a therapy adherence board available in our sample store, which uses resistive measurements (a.o. using the ADC) to keep track of pill intakes. The full schematics and layout is available in our SDK under &lt;EM&gt;&amp;lt;SDK&amp;gt;/docs/NHS3152 Therapy Adherence.zip&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;More information here: &lt;A href="https://www.nxp.com/pages/:NHS3152THADADK"&gt;&lt;SPAN style="color: #0066cc; text-decoration: underline; "&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;A href="https://www.nxp.com/pages/:NHS3152THADADK" target="test_blank"&gt;https://www.nxp.com/pages/:NHS3152THADADK&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;BR /&gt;Dries.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2019 13:36:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/nhs3152-adc-problem/m-p/920586#M5631</guid>
      <dc:creator>driesmoors</dc:creator>
      <dc:date>2019-10-23T13:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: nhs3152 adc problem</title>
      <link>https://community.nxp.com/t5/NFC/nhs3152-adc-problem/m-p/920587#M5632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dear sir&lt;/P&gt;&lt;P&gt;i am sorry to trouble you again !&lt;/P&gt;&lt;P&gt;first :&lt;/P&gt;&lt;P&gt;i still confused about the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;formula&lt;SPAN&gt;&amp;nbsp; you offered before ,how do you get the formula ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #f6f6f6; "&gt;adc_input_voltage = (native_value * 1.2V) / 2825 + 0.09V&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;how to use reference voltage /&amp;nbsp; ADC resolution 12 bit and input range get the formula ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/97215i2A2782E58AF9611C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;second :&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;i have another question about ADC like before ,my schematic is still the picture like before ,i get the ADC raw&amp;nbsp; value from the&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;register now ,and calculate the value average about 10 times .but there is still&amp;nbsp; about&amp;nbsp; 15 --20 raw data fluctuation . i have no idea how to deal with the&amp;nbsp; fluctuation ,can you give me some advise ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2020 06:34:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/nhs3152-adc-problem/m-p/920587#M5632</guid>
      <dc:creator>xiangxuejiao00</dc:creator>
      <dc:date>2020-01-20T06:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: nhs3152 adc problem</title>
      <link>https://community.nxp.com/t5/NFC/nhs3152-adc-problem/m-p/920588#M5633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The ADC is not linear at the extremities, causing a slightly steeper slope of the conversion from raw to voltage. The formula takes this into account.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;A 20 raw data fluctuation corresponds to ~8.5 mV, which is not that much. There is noise on the voltage input, and the IC being active also causes small fluctuations.&amp;nbsp;You can use a scope to measure more precisely the voltage, as a multimeter is only showing averages.&amp;nbsp;Perhaps best is to&amp;nbsp;configure the scope in AC-coupled input mode to&amp;nbsp;measure the ripple on the battery directly. You can also bring out a signal to synchronize the scope measurements with the ADC conversions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;BR /&gt;Dries.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2020 09:38:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/nhs3152-adc-problem/m-p/920588#M5633</guid>
      <dc:creator>driesmoors</dc:creator>
      <dc:date>2020-02-03T09:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: nhs3152 adc problem</title>
      <link>https://community.nxp.com/t5/NFC/nhs3152-adc-problem/m-p/1526731#M9697</link>
      <description>&lt;P&gt;Could you please explain how this formula was derived from the NHS3152 datasheets since I believe it should be as follows&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;adcInput = ((float)Chip_ADCDAC_GetValueADC(NSS_ADCDAC0) *&lt;BR /&gt;1600) / 4096;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Thu, 22 Sep 2022 11:34:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/nhs3152-adc-problem/m-p/1526731#M9697</guid>
      <dc:creator>cpi-ugo</dc:creator>
      <dc:date>2022-09-22T11:34:02Z</dc:date>
    </item>
  </channel>
</rss>

