<?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: ACD example to read voltage in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/ACD-example-to-read-voltage/m-p/1698812#M10716</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Have you test Adc_Sar_Bctu_Ip_example_S32K312 in S32K3 RTD? Which ADC channel do you want to sample? Please select &lt;STRONG&gt;Adc Physical Channel Name&lt;/STRONG&gt; in S32CT.&lt;/P&gt;
&lt;P&gt;You can also refer to the&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K3-Temperature-Sensor-S32-DS-V3-5-RTD-2-0-2/ta-p/1679110" target="_self"&gt;&lt;SPAN class="lia-link-navigation lia-link-disabled"&gt;Example-S32K3 Temperature Sensor S32 DS V3.5 + RTD 2.0.2&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Robin&lt;/P&gt;</description>
    <pubDate>Thu, 03 Aug 2023 17:07:09 GMT</pubDate>
    <dc:creator>Robin_Shen</dc:creator>
    <dc:date>2023-08-03T17:07:09Z</dc:date>
    <item>
      <title>ACD example to read voltage</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/ACD-example-to-read-voltage/m-p/1698402#M10712</link>
      <description>&lt;P&gt;I'm using S32K312. I need an ACD example to read voltage.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 07:52:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/ACD-example-to-read-voltage/m-p/1698402#M10712</guid>
      <dc:creator>jetty_1012</dc:creator>
      <dc:date>2023-08-03T07:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: ACD example to read voltage</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/ACD-example-to-read-voltage/m-p/1698614#M10714</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jetty_1012_0-1691065105819.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/234952iDD3232165C5A979E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jetty_1012_0-1691065105819.jpeg" alt="jetty_1012_0-1691065105819.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;Adc_Sar_Ip_GetConvData&lt;/EM&gt;&lt;/STRONG&gt; used for reading ADC?&lt;/P&gt;&lt;P&gt;That was my testing code and I was debugging. The return value of this API was 0. How should I read ADC value correctly?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 12:21:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/ACD-example-to-read-voltage/m-p/1698614#M10714</guid>
      <dc:creator>jetty_1012</dc:creator>
      <dc:date>2023-08-03T12:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: ACD example to read voltage</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/ACD-example-to-read-voltage/m-p/1698812#M10716</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Have you test Adc_Sar_Bctu_Ip_example_S32K312 in S32K3 RTD? Which ADC channel do you want to sample? Please select &lt;STRONG&gt;Adc Physical Channel Name&lt;/STRONG&gt; in S32CT.&lt;/P&gt;
&lt;P&gt;You can also refer to the&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K3-Temperature-Sensor-S32-DS-V3-5-RTD-2-0-2/ta-p/1679110" target="_self"&gt;&lt;SPAN class="lia-link-navigation lia-link-disabled"&gt;Example-S32K3 Temperature Sensor S32 DS V3.5 + RTD 2.0.2&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Robin&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 17:07:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/ACD-example-to-read-voltage/m-p/1698812#M10716</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2023-08-03T17:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: ACD example to read voltage</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/ACD-example-to-read-voltage/m-p/1699034#M10718</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/57959"&gt;@Robin_Shen&lt;/a&gt;&amp;nbsp;Thanks for you reply.&lt;/P&gt;&lt;P&gt;I referred to the example and just reconfigured it.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jetty_1012_0-1691118727276.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/235044i87CA0B7D2E9156F5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jetty_1012_0-1691118727276.jpeg" alt="jetty_1012_0-1691118727276.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;At first, I had no clue how to set the second parameter of &lt;STRONG&gt;&lt;EM&gt;Adc_Sar_Ip_GetConvData&lt;/EM&gt;&lt;/STRONG&gt;, so it only returned 0.&lt;/P&gt;&lt;P&gt;And now I know how to set it based on different channles and I can read specific values from it, but the values I read are usually over 4095.&lt;/P&gt;&lt;P&gt;Precise ADC is 12-bit binary number which is 4095 at max.&lt;/P&gt;&lt;P&gt;Why is it over 4095? Is there any conversion about it?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Aug 2023 03:25:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/ACD-example-to-read-voltage/m-p/1699034#M10718</guid>
      <dc:creator>jetty_1012</dc:creator>
      <dc:date>2023-08-04T03:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: ACD example to read voltage</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/ACD-example-to-read-voltage/m-p/1699072#M10720</link>
      <description>Well, I figured it out. There's a Conversion resolution option which was set to 14 before. I change it to 12 and the ADC values are below 4095 now.</description>
      <pubDate>Fri, 04 Aug 2023 04:28:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/ACD-example-to-read-voltage/m-p/1699072#M10720</guid>
      <dc:creator>jetty_1012</dc:creator>
      <dc:date>2023-08-04T04:28:01Z</dc:date>
    </item>
  </channel>
</rss>

