<?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>NFCのトピックNHS3152 ADC conversion - determining conversion equation</title>
    <link>https://community.nxp.com/t5/NFC/NHS3152-ADC-conversion-determining-conversion-equation/m-p/1849347#M11580</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was just wondering if someone could explain how the ADC conversion equations were determined for these posts:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/NFC/NHS3152-ADC-convertion-and-accuracy/m-p/862734/thread-id/4896" target="_blank"&gt;https://community.nxp.com/t5/NFC/NHS3152-ADC-convertion-and-accuracy/m-p/862734/thread-id/4896&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/Other-NXP-Products/NHS3152-reading-data-form-NFC/td-p/1585506" target="_blank"&gt;https://community.nxp.com/t5/Other-NXP-Products/NHS3152-reading-data-form-NFC/td-p/1585506&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am currently just trying to read voltage to one analog pin.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Apr 2024 23:09:53 GMT</pubDate>
    <dc:creator>isaacseeto</dc:creator>
    <dc:date>2024-04-17T23:09:53Z</dc:date>
    <item>
      <title>NHS3152 ADC conversion - determining conversion equation</title>
      <link>https://community.nxp.com/t5/NFC/NHS3152-ADC-conversion-determining-conversion-equation/m-p/1849347#M11580</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was just wondering if someone could explain how the ADC conversion equations were determined for these posts:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/NFC/NHS3152-ADC-convertion-and-accuracy/m-p/862734/thread-id/4896" target="_blank"&gt;https://community.nxp.com/t5/NFC/NHS3152-ADC-convertion-and-accuracy/m-p/862734/thread-id/4896&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/Other-NXP-Products/NHS3152-reading-data-form-NFC/td-p/1585506" target="_blank"&gt;https://community.nxp.com/t5/Other-NXP-Products/NHS3152-reading-data-form-NFC/td-p/1585506&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I am currently just trying to read voltage to one analog pin.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 23:09:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/NHS3152-ADC-conversion-determining-conversion-equation/m-p/1849347#M11580</guid>
      <dc:creator>isaacseeto</dc:creator>
      <dc:date>2024-04-17T23:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: NHS3152 ADC conversion - determining conversion equation</title>
      <link>https://community.nxp.com/t5/NFC/NHS3152-ADC-conversion-determining-conversion-equation/m-p/1851633#M11589</link>
      <description>&lt;P&gt;Hello Isaac,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The ADC conversion has non-linear behavior at 0V and at the maximum of the input range, therefore it is more accurate to use the Via, min and Via, max values from the datasheet as the voltages corresponding to raw ADC values 0 and 4095. See graph below.&lt;/P&gt;
&lt;P&gt;The conversion formula from raw ADC to ADC input voltage (Via) is then:&lt;/P&gt;
&lt;P&gt;Via = Via, min + (Via, max - Via, min) * ADCraw / 4095.0&lt;/P&gt;
&lt;P&gt;Values outside the Via, min and Via, max cannot be measured: raw value clipped at 0 or 4095.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A example measurement showing the behaviour at the top and bottom of the voltage range:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="patrickgeens_0-1713786378404.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/275008i540C536792912C42/image-size/medium?v=v2&amp;amp;px=400" role="button" title="patrickgeens_0-1713786378404.png" alt="patrickgeens_0-1713786378404.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Via, min and Via, max values for both ranges, from the NHS3152 datasheet:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="patrickgeens_3-1713787733410.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/275014iDD42F229D8C9520D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="patrickgeens_3-1713787733410.png" alt="patrickgeens_3-1713787733410.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;
&lt;P&gt;Patrick&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 12:28:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/NHS3152-ADC-conversion-determining-conversion-equation/m-p/1851633#M11589</guid>
      <dc:creator>patrickgeens</dc:creator>
      <dc:date>2024-04-22T12:28:40Z</dc:date>
    </item>
  </channel>
</rss>

