<?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のトピックRe: S32K118EVB external ADC</title>
    <link>https://community.nxp.com/t5/S32K/S32K118EVB-external-ADC/m-p/2084490#M47984</link>
    <description>&lt;P&gt;Hello Senlent&lt;/P&gt;&lt;P&gt;I was able to successfully read external ADC values using PDB hardware trigger.&lt;/P&gt;&lt;P&gt;I appreciate your help, thank you very much.&lt;/P&gt;</description>
    <pubDate>Tue, 22 Apr 2025 09:15:54 GMT</pubDate>
    <dc:creator>Pohsuan</dc:creator>
    <dc:date>2025-04-22T09:15:54Z</dc:date>
    <item>
      <title>S32K118EVB external ADC</title>
      <link>https://community.nxp.com/t5/S32K/S32K118EVB-external-ADC/m-p/2082878#M47902</link>
      <description>&lt;P&gt;Hello NXP team&lt;/P&gt;&lt;P&gt;I'm using&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;PTA7 on the S32K118EVB&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;as the external ADC channel with&amp;nbsp;&lt;STRONG&gt;ADC_pdb_IP_example_S32K118&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I’m able to retrieve ADC values using&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;software trigger&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;with the function below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pohsuan_0-1744937142301.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/333781i79D1D7E3E9AB1A90/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Pohsuan_0-1744937142301.png" alt="Pohsuan_0-1744937142301.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when using the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;hardware trigger&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;part from the sample code, the program gets stuck in the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;while loop&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pohsuan_1-1744937142225.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/333782iC167649EA20AFA53/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Pohsuan_1-1744937142225.png" alt="Pohsuan_1-1744937142225.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please give me same advice Or is there any&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;hardware-triggered ADC&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;sample I can refer to?&lt;/P&gt;&lt;P&gt;The attached archive contains the source code I’m currently using. Please refer to it.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 18 Apr 2025 00:49:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K118EVB-external-ADC/m-p/2082878#M47902</guid>
      <dc:creator>Pohsuan</dc:creator>
      <dc:date>2025-04-18T00:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: S32K118EVB external ADC</title>
      <link>https://community.nxp.com/t5/S32K/S32K118EVB-external-ADC/m-p/2083198#M47916</link>
      <description>&lt;P&gt;Hi@&lt;SPAN&gt;Pohsuan&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;The project you provided is actually our demo code in S32 DS.&lt;/P&gt;
&lt;P&gt;I don't understand your question.&lt;/P&gt;
&lt;P&gt;Do you want ADC to be hardware triggered or PDB to be hardware triggered?&lt;/P&gt;
&lt;P&gt;If it is an ADC hardware triggered demo project, then this routine is it, because PDB is used here to trigger ADC sampling.&lt;/P&gt;
&lt;P&gt;If you mean PDB is hardware triggered, then you need to add TRGMUX module to set the trigger source of PDB.&lt;/P&gt;
&lt;P&gt;Please correct me if I understand your question wrongly, or tell me your specific requirements, I can spend some time to help you create a routine&lt;/P&gt;</description>
      <pubDate>Fri, 18 Apr 2025 08:33:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K118EVB-external-ADC/m-p/2083198#M47916</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2025-04-18T08:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: S32K118EVB external ADC</title>
      <link>https://community.nxp.com/t5/S32K/S32K118EVB-external-ADC/m-p/2083562#M47939</link>
      <description>&lt;P&gt;Hello Senlent&lt;/P&gt;&lt;P&gt;Thanks for your reply&lt;/P&gt;&lt;P&gt;I want to trigger the ADC using PDB.&lt;/P&gt;&lt;P&gt;In my case, I'm using PTA7, which is configured as ADC channel SE3_ADCH3.&lt;/P&gt;&lt;P&gt;However, when the code reaches &lt;STRONG&gt;Pdb_Adc_Ip_SwTrigger(PDBHWUNIT_0_INSTANCE);&lt;/STRONG&gt;, it gets stuck waiting for &lt;STRONG&gt;notif_triggered&lt;/STRONG&gt; to become true.&lt;BR /&gt;It seems that the &lt;STRONG&gt;AdcConversionCompleteNotif&lt;/STRONG&gt; function is not being called to update &lt;STRONG&gt;notif_triggered&lt;/STRONG&gt;.&amp;nbsp;I can' see the LED toggling&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pohsuan_0-1745203180353.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/333989i347EBA4C828E427B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Pohsuan_0-1745203180353.png" alt="Pohsuan_0-1745203180353.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P class=""&gt;Is there anything I need to configure additionally for the PDB?&lt;BR /&gt;Below is my current PDB configuration.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pohsuan_1-1745202782343.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/333988iF1C968B7D2A3D90F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Pohsuan_1-1745202782343.png" alt="Pohsuan_1-1745202782343.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Apr 2025 02:40:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K118EVB-external-ADC/m-p/2083562#M47939</guid>
      <dc:creator>Pohsuan</dc:creator>
      <dc:date>2025-04-21T02:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: S32K118EVB external ADC</title>
      <link>https://community.nxp.com/t5/S32K/S32K118EVB-external-ADC/m-p/2083566#M47940</link>
      <description>&lt;P&gt;&lt;A href="mailto:Hi@Pohsuan" target="_blank"&gt;Hi@Pohsuan&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;For the picture your have provided, i didn't see you have configurated any channel to Trigger ADC.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Senlent_0-1745203727431.png" style="width: 528px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/333990iF1E1691D1EBDE007/image-dimensions/528x190?v=v2" width="528" height="190" role="button" title="Senlent_0-1745203727431.png" alt="Senlent_0-1745203727431.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Apr 2025 02:50:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K118EVB-external-ADC/m-p/2083566#M47940</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2025-04-21T02:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: S32K118EVB external ADC</title>
      <link>https://community.nxp.com/t5/S32K/S32K118EVB-external-ADC/m-p/2083572#M47941</link>
      <description>&lt;P&gt;Hello Senlent&lt;/P&gt;&lt;P&gt;If I want to trigger&amp;nbsp;&lt;STRONG&gt;SE3_ADCH3,&amp;nbsp;&lt;/STRONG&gt;Which PDB channel I should configure?&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Apr 2025 02:56:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K118EVB-external-ADC/m-p/2083572#M47941</guid>
      <dc:creator>Pohsuan</dc:creator>
      <dc:date>2025-04-21T02:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: S32K118EVB external ADC</title>
      <link>https://community.nxp.com/t5/S32K/S32K118EVB-external-ADC/m-p/2083590#M47942</link>
      <description>&lt;P&gt;Hi@&lt;SPAN&gt;Pohsuan&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Please refer to the routine in our S32 DS.&lt;/P&gt;
&lt;P&gt;Any channel can be used to tigger SE3-ADCH3.&lt;/P&gt;
&lt;P&gt;In the S32 DS configuration interface, the PDB channels correspond to the channel order in your ADC.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Apr 2025 03:32:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K118EVB-external-ADC/m-p/2083590#M47942</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2025-04-21T03:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: S32K118EVB external ADC</title>
      <link>https://community.nxp.com/t5/S32K/S32K118EVB-external-ADC/m-p/2084104#M47964</link>
      <description>&lt;P&gt;Hello Senlent&lt;/P&gt;&lt;P&gt;I've modified the PDB driver as shown in the attached screenshot, but I'm still unable to get the PDB to periodically trigger ADC conversions on PTA7 (ADC0_SE3).&lt;/P&gt;&lt;P&gt;My goal is to configure PDB0 to hardware trigger PTA7 (adc0_se3)&amp;nbsp;sampling external&amp;nbsp; ADC conversions periodically.&lt;/P&gt;&lt;P&gt;I referred to the &lt;STRONG&gt;Adc_Pdb_Ip_example_S32K118&lt;/STRONG&gt; project. The software-triggered ADC conversions in Part 1 work as expected, but I’m unable to get any ADC conversion results in Part 2 using the hardware trigger method.&lt;/P&gt;&lt;P&gt;Could you kindly take a look at my code (attached) and let me know what changes I need to make to allow PDB0 to periodically trigger external ADC conversions on PTA7?&lt;/P&gt;&lt;P&gt;Thank you so much!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pohsuan_0-1745283910954.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/334124i5F5F87E4953B772C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Pohsuan_0-1745283910954.png" alt="Pohsuan_0-1745283910954.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pohsuan_1-1745283931067.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/334125i144F2EF5BAD8F865/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Pohsuan_1-1745283931067.png" alt="Pohsuan_1-1745283931067.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2025 01:07:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K118EVB-external-ADC/m-p/2084104#M47964</guid>
      <dc:creator>Pohsuan</dc:creator>
      <dc:date>2025-04-22T01:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: S32K118EVB external ADC</title>
      <link>https://community.nxp.com/t5/S32K/S32K118EVB-external-ADC/m-p/2084170#M47969</link>
      <description>&lt;P&gt;Hi@&lt;SPAN&gt;Pohsuan&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please change settings like below shows.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Senlent_0-1745290313859.png" style="width: 580px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/334142i3F157967F8D38934/image-dimensions/580x329?v=v2" width="580" height="329" role="button" title="Senlent_0-1745290313859.png" alt="Senlent_0-1745290313859.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2025 02:52:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K118EVB-external-ADC/m-p/2084170#M47969</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2025-04-22T02:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: S32K118EVB external ADC</title>
      <link>https://community.nxp.com/t5/S32K/S32K118EVB-external-ADC/m-p/2084490#M47984</link>
      <description>&lt;P&gt;Hello Senlent&lt;/P&gt;&lt;P&gt;I was able to successfully read external ADC values using PDB hardware trigger.&lt;/P&gt;&lt;P&gt;I appreciate your help, thank you very much.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2025 09:15:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K118EVB-external-ADC/m-p/2084490#M47984</guid>
      <dc:creator>Pohsuan</dc:creator>
      <dc:date>2025-04-22T09:15:54Z</dc:date>
    </item>
  </channel>
</rss>

