<?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: Issue with Reading 12-bit ADC Values on S32K312 in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/Issue-with-Reading-12-bit-ADC-Values-on-S32K312/m-p/1884110#M12401</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;the setting looks normal. For a code you would perform ADC calibration (Adc_Sar_Ip_DoCalibration) after ADC init and before conversion is initialized.&lt;BR /&gt;What do you have connected to precise channels, which are selected to be converted using normal chain? How are MCU pins configured?&lt;BR /&gt;Is a BCTU conversion also triggered? And what is a result from that?&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jun 2024 08:03:37 GMT</pubDate>
    <dc:creator>PetrS</dc:creator>
    <dc:date>2024-06-10T08:03:37Z</dc:date>
    <item>
      <title>Issue with Reading 12-bit ADC Values on S32K312</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Issue-with-Reading-12-bit-ADC-Values-on-S32K312/m-p/1883935#M12399</link>
      <description>&lt;P&gt;I am using S32 Design Studio 3.4 along with example projects from S32K3 RTD AUTOSAR 4.4.2.0.0 D2203. Specifically, I am working with the Adc_sar_Bctu_ip_example_s32k312 project.&lt;/P&gt;&lt;P&gt;I have configured the ADC channels, but I am encountering an issue where the ADC value ranges from 0 to 227 (min to max). I need the ADC value to range from 0 to 4096, which corresponds to the full 12-bit resolution.&lt;/P&gt;&lt;P&gt;I have attempted to change the configuration settings, but the problem persists. I will attach the configuration I have done in S32 Design Studio.&lt;/P&gt;&lt;P&gt;Could you please assist me in resolving this issue? I look forward to your prompt response.&lt;/P&gt;&lt;P&gt;I have attached the platform_io.c ,kindly check the line from 1026 to 1078.(ADC PART).&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/283159i2F8FF410ADBD6D28/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/283162i2746A3054FD534B6/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/283161i0F273D2D336BA108/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.png" alt="3.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="4.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/283160i71291C65100FF110/image-size/large?v=v2&amp;amp;px=999" role="button" title="4.png" alt="4.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/283163i3F84257E0175F709/image-size/large?v=v2&amp;amp;px=999" role="button" title="5.png" alt="5.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="6.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/283164i22B8E46A5D073D52/image-size/large?v=v2&amp;amp;px=999" role="button" title="6.png" alt="6.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="7.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/283165i3F57636EA07AFB05/image-size/large?v=v2&amp;amp;px=999" role="button" title="7.png" alt="7.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2024 09:00:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Issue-with-Reading-12-bit-ADC-Values-on-S32K312/m-p/1883935#M12399</guid>
      <dc:creator>selvarajasekar</dc:creator>
      <dc:date>2024-06-24T09:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Reading 12-bit ADC Values on S32K312</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Issue-with-Reading-12-bit-ADC-Values-on-S32K312/m-p/1884110#M12401</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;the setting looks normal. For a code you would perform ADC calibration (Adc_Sar_Ip_DoCalibration) after ADC init and before conversion is initialized.&lt;BR /&gt;What do you have connected to precise channels, which are selected to be converted using normal chain? How are MCU pins configured?&lt;BR /&gt;Is a BCTU conversion also triggered? And what is a result from that?&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 08:03:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Issue-with-Reading-12-bit-ADC-Values-on-S32K312/m-p/1884110#M12401</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2024-06-10T08:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Reading 12-bit ADC Values on S32K312</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Issue-with-Reading-12-bit-ADC-Values-on-S32K312/m-p/1884748#M12405</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I'm seeking a straightforward method to obtain a 12-bit ADC reading from the ADC pin, with the&amp;nbsp; BCTU conversion has been triggered in my code. I've provided a code reference and an image detailing the MCU pin configuration for your convenience.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jun 2024 09:36:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Issue-with-Reading-12-bit-ADC-Values-on-S32K312/m-p/1884748#M12405</guid>
      <dc:creator>selvarajasekar</dc:creator>
      <dc:date>2024-06-24T09:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Reading 12-bit ADC Values on S32K312</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Issue-with-Reading-12-bit-ADC-Values-on-S32K312/m-p/1884961#M12406</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;please specify measured voltage on ADC_INx pins and obtained values in ADC_Result buffer.&lt;/P&gt;&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 08:36:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Issue-with-Reading-12-bit-ADC-Values-on-S32K312/m-p/1884961#M12406</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2024-06-11T08:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Reading 12-bit ADC Values on S32K312</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Issue-with-Reading-12-bit-ADC-Values-on-S32K312/m-p/1885359#M12408</link>
      <description>&lt;P&gt;Hi Petrs,&lt;BR /&gt;The measured voltage at ADC_IN5, ADC_IN6, and ADC_IN7 is 5 volts, and the values in the ADC_Result buffer range from a minimum of 27 to a maximum of 168.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 16:33:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Issue-with-Reading-12-bit-ADC-Values-on-S32K312/m-p/1885359#M12408</guid>
      <dc:creator>selvarajasekar</dc:creator>
      <dc:date>2024-06-11T16:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Reading 12-bit ADC Values on S32K312</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Issue-with-Reading-12-bit-ADC-Values-on-S32K312/m-p/1886042#M12410</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;you have some divider on inputs, so you do not get full scale assuming Vref is at 5V too.&lt;BR /&gt;However as I wrote, an issue could be you did not perform ADC calibration before conversion. Check behavior when you do it.&lt;BR /&gt;If have issue still, share simplified project so we can test on EVB, or refer to RTD demo example.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2024 10:02:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Issue-with-Reading-12-bit-ADC-Values-on-S32K312/m-p/1886042#M12410</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2024-06-12T10:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Reading 12-bit ADC Values on S32K312</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Issue-with-Reading-12-bit-ADC-Values-on-S32K312/m-p/1892742#M12455</link>
      <description>driver is not updating, we need to change the resolution manually</description>
      <pubDate>Mon, 24 Jun 2024 09:01:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Issue-with-Reading-12-bit-ADC-Values-on-S32K312/m-p/1892742#M12455</guid>
      <dc:creator>selvarajasekar</dc:creator>
      <dc:date>2024-06-24T09:01:18Z</dc:date>
    </item>
  </channel>
</rss>

