<?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のトピックERROR with ADC triggering by FTM and PDB modules</title>
    <link>https://community.nxp.com/t5/S32K/ERROR-with-ADC-triggering-by-FTM-and-PDB-modules/m-p/1190681#M9039</link>
    <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;Recently, I was debugging the issue of FTM triggering ADC sampling, using FTM3 to trigger ADC1 and PDB1. The current problem is that there is an output of FTM3, but neither PDB1 nor ADC1 is triggered.&lt;/P&gt;&lt;P&gt;The following are my configuration items：&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1090097669_0-1606718828081.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/131305i42941AB300948D60/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1090097669_0-1606718828081.png" alt="1090097669_0-1606718828081.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;1090097669_0-1606718828081.png&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1090097669_1-1606718846385.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/131306i5AF8D4952EC72E3F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1090097669_1-1606718846385.png" alt="1090097669_1-1606718846385.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;1090097669_1-1606718846385.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And&amp;nbsp;Where is the configuration problem or missing configuration items?&lt;/P&gt;</description>
    <pubDate>Mon, 30 Nov 2020 06:48:19 GMT</pubDate>
    <dc:creator>1090097669</dc:creator>
    <dc:date>2020-11-30T06:48:19Z</dc:date>
    <item>
      <title>ERROR with ADC triggering by FTM and PDB modules</title>
      <link>https://community.nxp.com/t5/S32K/ERROR-with-ADC-triggering-by-FTM-and-PDB-modules/m-p/1190681#M9039</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;Recently, I was debugging the issue of FTM triggering ADC sampling, using FTM3 to trigger ADC1 and PDB1. The current problem is that there is an output of FTM3, but neither PDB1 nor ADC1 is triggered.&lt;/P&gt;&lt;P&gt;The following are my configuration items：&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1090097669_0-1606718828081.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/131305i42941AB300948D60/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1090097669_0-1606718828081.png" alt="1090097669_0-1606718828081.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;1090097669_0-1606718828081.png&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1090097669_1-1606718846385.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/131306i5AF8D4952EC72E3F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1090097669_1-1606718846385.png" alt="1090097669_1-1606718846385.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;1090097669_1-1606718846385.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And&amp;nbsp;Where is the configuration problem or missing configuration items?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2020 06:48:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ERROR-with-ADC-triggering-by-FTM-and-PDB-modules/m-p/1190681#M9039</guid>
      <dc:creator>1090097669</dc:creator>
      <dc:date>2020-11-30T06:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR with ADC triggering by FTM and PDB modules</title>
      <link>https://community.nxp.com/t5/S32K/ERROR-with-ADC-triggering-by-FTM-and-PDB-modules/m-p/1190737#M9040</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you should also route FTM trigger (init_trig or ext_trig) into PDB1 input using TRGMUX. Use&amp;nbsp;&lt;/P&gt;
&lt;P&gt;TRGMUX-&amp;gt;TRGMUXn[TRGMUX_PDB1_INDEX] |= TRGMUX_TRGMUXn_SEL0(28); // use FTM3_INIT_TRIG as PDB1 HW trigger&lt;BR /&gt;&lt;BR /&gt;FTM output trigger should be also enable within&amp;nbsp;FTM External Trigger (EXTTRIG) register.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2020 08:08:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ERROR-with-ADC-triggering-by-FTM-and-PDB-modules/m-p/1190737#M9040</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2020-11-30T08:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR with ADC triggering by FTM and PDB modules</title>
      <link>https://community.nxp.com/t5/S32K/ERROR-with-ADC-triggering-by-FTM-and-PDB-modules/m-p/1190807#M9043</link>
      <description>&lt;P&gt;&lt;STRONG&gt;hello&amp;nbsp;PetrS,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;It has been able to trigger the sampling interrupt of ADC, but the period of entering the interrupt is different from what I expected, which is much smaller than the expected period&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;/* SW=3, TRGMUX initialization to route FTM Init trigger signal into PDB0 trigger input */&lt;BR /&gt;void TRGMUX_Init()&lt;BR /&gt;{&lt;BR /&gt;//PCC-&amp;gt;PCCn[PCC_TRGMUX_INDEX] = PCC_PCCn_CGC_MASK; // Enable clock for TRGMUX module&lt;BR /&gt;TRGMUX-&amp;gt;TRGMUXn[TRGMUX_PDB1_INDEX] = TRGMUX_TRGMUXn_SEL0(0x1D); // Set FTM3 as a trigger source for PDB0&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2020 09:09:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ERROR-with-ADC-triggering-by-FTM-and-PDB-modules/m-p/1190807#M9043</guid>
      <dc:creator>1090097669</dc:creator>
      <dc:date>2020-11-30T09:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR with ADC triggering by FTM and PDB modules</title>
      <link>https://community.nxp.com/t5/S32K/ERROR-with-ADC-triggering-by-FTM-and-PDB-modules/m-p/1190944#M9048</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;what is an expected period and the one you have?&lt;BR /&gt;Do you read ADC Data result register within ADC interrupt so COCO flag is cleared?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2020 13:20:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ERROR-with-ADC-triggering-by-FTM-and-PDB-modules/m-p/1190944#M9048</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2020-11-30T13:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR with ADC triggering by FTM and PDB modules</title>
      <link>https://community.nxp.com/t5/S32K/ERROR-with-ADC-triggering-by-FTM-and-PDB-modules/m-p/1191148#M9055</link>
      <description>&lt;P&gt;Morning,&lt;/P&gt;&lt;P&gt;The interrupt cycle of my PDB is correct, which is 80kHz. Theoretically, my ADC interrupt cycle should also be 80kHZ, but according to the current test data, the ADC interrupt cycle is 400kHZ. In addition, I read the data register in the ADC interrupt&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2020 00:40:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ERROR-with-ADC-triggering-by-FTM-and-PDB-modules/m-p/1191148#M9055</guid>
      <dc:creator>1090097669</dc:creator>
      <dc:date>2020-12-01T00:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR with ADC triggering by FTM and PDB modules</title>
      <link>https://community.nxp.com/t5/S32K/ERROR-with-ADC-triggering-by-FTM-and-PDB-modules/m-p/1192122#M9076</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;try to refer to simple S32DS "S32K144_Project_PDB" example. It configures PDB for continuous mode SW triggered, but you can test if ADC interrupt is correctly entered with configured period.&lt;/P&gt;
&lt;P&gt;Or share your code, so we can test it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 08:06:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ERROR-with-ADC-triggering-by-FTM-and-PDB-modules/m-p/1192122#M9076</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2020-12-02T08:06:49Z</dc:date>
    </item>
  </channel>
</rss>

