<?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>S32KのトピックSome Adc channels always returning 0</title>
    <link>https://community.nxp.com/t5/S32K/Some-Adc-channels-always-returning-0/m-p/1902816#M37330</link>
    <description>&lt;P&gt;Hello all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using S32K312, RTD 2.0.3 and Tresos 29.0.0&lt;/P&gt;&lt;P&gt;I have a problem with the ADC module. Currently, Adc0 is SW triggered and Adc1 is triggered by the BCTU. Everything works great except for a small detail.... two channels of the Adc0 instance are always returning 0.&lt;/P&gt;&lt;P&gt;Six of the eight channels are returning perfectly coherent values while channels S8 and S9 always read 0 when there is in fact a voltage applied on their pin. (confirmed with scope) The&amp;nbsp;NCMR1 register reads 0x0000_047B, which means the concerned channels are supposed to be converted. The 8 channels are in the same group, and they are all configured the same way. The pins are all configured as the right Adc channel.&lt;/P&gt;&lt;P&gt;I tried triggering Adc0 by Hw and with the BCTU, but it did not help my cause. I also tried shutting off Adc1 to see if it was interrupting Adc0. Finally, I tried triggering only the two problematic channels but, they still read 0.&lt;/P&gt;&lt;P&gt;Any idea what could be causing this issue?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
    <pubDate>Mon, 08 Jul 2024 18:59:51 GMT</pubDate>
    <dc:creator>AnthonyPinard</dc:creator>
    <dc:date>2024-07-08T18:59:51Z</dc:date>
    <item>
      <title>Some Adc channels always returning 0</title>
      <link>https://community.nxp.com/t5/S32K/Some-Adc-channels-always-returning-0/m-p/1902816#M37330</link>
      <description>&lt;P&gt;Hello all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using S32K312, RTD 2.0.3 and Tresos 29.0.0&lt;/P&gt;&lt;P&gt;I have a problem with the ADC module. Currently, Adc0 is SW triggered and Adc1 is triggered by the BCTU. Everything works great except for a small detail.... two channels of the Adc0 instance are always returning 0.&lt;/P&gt;&lt;P&gt;Six of the eight channels are returning perfectly coherent values while channels S8 and S9 always read 0 when there is in fact a voltage applied on their pin. (confirmed with scope) The&amp;nbsp;NCMR1 register reads 0x0000_047B, which means the concerned channels are supposed to be converted. The 8 channels are in the same group, and they are all configured the same way. The pins are all configured as the right Adc channel.&lt;/P&gt;&lt;P&gt;I tried triggering Adc0 by Hw and with the BCTU, but it did not help my cause. I also tried shutting off Adc1 to see if it was interrupting Adc0. Finally, I tried triggering only the two problematic channels but, they still read 0.&lt;/P&gt;&lt;P&gt;Any idea what could be causing this issue?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 18:59:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Some-Adc-channels-always-returning-0/m-p/1902816#M37330</guid>
      <dc:creator>AnthonyPinard</dc:creator>
      <dc:date>2024-07-08T18:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Some Adc channels always returning 0</title>
      <link>https://community.nxp.com/t5/S32K/Some-Adc-channels-always-returning-0/m-p/1903211#M37342</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Which two pins do you connect the analog signals of ADC0 S8 and S9 to? There is a bug in RTD 2.0.x that may cause this problem. Please see the discussion here: &lt;A href="https://community.nxp.com/t5/S32K/S32K312-ADC-Problem/td-p/1700777" target="_self"&gt;S32K312 - ADC Problem&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Robin&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 01:50:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Some-Adc-channels-always-returning-0/m-p/1903211#M37342</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2024-07-09T01:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: Some Adc channels always returning 0</title>
      <link>https://community.nxp.com/t5/S32K/Some-Adc-channels-always-returning-0/m-p/1904359#M37441</link>
      <description>&lt;P&gt;Hi Robin,&amp;nbsp;&lt;/P&gt;&lt;P&gt;The two channels are PTA0 and PTA1. However, I noticed that the channels are triggering on pins PTB13 and PTB14, which are configured as GPIOs.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it because ADC0_S8 and&amp;nbsp;ADC0_S9 are supposed to be only available through the port B and not port A?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 12:46:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Some-Adc-channels-always-returning-0/m-p/1904359#M37441</guid>
      <dc:creator>AnthonyPinard</dc:creator>
      <dc:date>2024-07-09T12:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Some Adc channels always returning 0</title>
      <link>https://community.nxp.com/t5/S32K/Some-Adc-channels-always-returning-0/m-p/1905189#M37491</link>
      <description>&lt;P&gt;No. This may caused by the bug of RTD: &lt;A href="https://community.nxp.com/t5/S32K/S32K344-ADC-HAS-ADC-INTERLEAVE-problem/m-p/1548855" target="_blank"&gt;https://community.nxp.com/t5/S32K/S32K344-ADC-HAS-ADC-INTERLEAVE-problem/m-p/1548855&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2024 08:52:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Some-Adc-channels-always-returning-0/m-p/1905189#M37491</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2024-07-10T08:52:24Z</dc:date>
    </item>
  </channel>
</rss>

