<?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: s32k144 PDB ad ping-pong sampling  in S32K</title>
    <link>https://community.nxp.com/t5/S32K/s32k144-PDB-ad-ping-pong-sampling/m-p/692862#M1231</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;I haved tried this Demo, I do change some codes as follow :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Adc Initiation: (uncommon codes)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ADC_DRV_ConfigChan(ADC_INSTANCE, 0UL, &amp;amp;adConv1_ChnConfig0);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ADC_DRV_ConfigChan(ADC_INSTANCE, 1UL, &amp;amp;adConv1_ChnConfig0);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ADC_DRV_ConfigChan(ADC_INSTANCE, 2UL, &amp;amp;adConv1_ChnConfig0);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ADC_DRV_ConfigChan(ADC_INSTANCE, 3UL, &amp;amp;adConv1_ChnConfig0);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In PDB Initiation:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;PDB_DRV_ConfigAdcPreTrigger(PDB_INSTANCE, 0, &amp;amp;pdly1_AdcTrigInitConfig0);&lt;/P&gt;&lt;P&gt;PDB_DRV_ConfigAdcPreTrigger(PDB_INSTANCE, 0, &amp;amp;pdly1_AdcTrigInitConfig1);&lt;/P&gt;&lt;P&gt;PDB_DRV_ConfigAdcPreTrigger(PDB_INSTANCE, 0, &amp;amp;pdly1_AdcTrigInitConfig2);&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;PDB_DRV_ConfigAdcPreTrigger(PDB_INSTANCE, 0, &amp;amp;pdly1_AdcTrigInitConfig3);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In ADC_IRQHandler:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ADC_DRV_GetChanResult(ADC_INSTANCE, 0U, (uint16_t *)&amp;amp;adcRawValue);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ADC_DRV_GetChanResult(ADC_INSTANCE, 1U, (uint16_t *)&amp;amp;adcRawValue1);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ADC_DRV_GetChanResult(ADC_INSTANCE, 2U, (uint16_t *)&amp;amp;adcRawValue2);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ADC_DRV_GetChanResult(ADC_INSTANCE, 3U, (uint16_t *)&amp;amp;adcRawValue3);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am confised why &lt;STRONG&gt;adcRawValue&lt;/STRONG&gt; is less than other convertion results like&amp;nbsp;&lt;STRONG&gt;adcRawValue1/adcRawValue2/adcRawValue3 &amp;nbsp;?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Above all.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I do want a demo which uses ADC0, PDB0, ADC1, PDB1 to build a ring&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;so that in my applications, except understanding the principle of this ring, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I do only configure Channals.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="捕获.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/67279i01AD5C2F84DB15CB/image-size/large?v=v2&amp;amp;px=999" role="button" title="捕获.PNG" alt="捕获.PNG" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Aug 2018 02:55:33 GMT</pubDate>
    <dc:creator>gumpforrest</dc:creator>
    <dc:date>2018-08-21T02:55:33Z</dc:date>
    <item>
      <title>s32k144 PDB ad ping-pong sampling</title>
      <link>https://community.nxp.com/t5/S32K/s32k144-PDB-ad-ping-pong-sampling/m-p/692856#M1225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i used pdb to ty ad ping-pong sampling but not ok, someone use PE to test Ad ping-pong ok ? can you give me a example used PE,i&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2017 09:53:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k144-PDB-ad-ping-pong-sampling/m-p/692856#M1225</guid>
      <dc:creator>jiangbolwj</dc:creator>
      <dc:date>2017-08-03T09:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 PDB ad ping-pong sampling</title>
      <link>https://community.nxp.com/t5/S32K/s32k144-PDB-ad-ping-pong-sampling/m-p/692857#M1226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, the S32 SDK contains examples including PDB triggering of adc. One such example is under examples\S32K144\driver_examples\analog\adc_hwtrigger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2017 14:53:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k144-PDB-ad-ping-pong-sampling/m-p/692857#M1226</guid>
      <dc:creator>ovidiualexandru</dc:creator>
      <dc:date>2017-08-03T14:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 PDB ad ping-pong sampling</title>
      <link>https://community.nxp.com/t5/S32K/s32k144-PDB-ad-ping-pong-sampling/m-p/692858#M1227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="" style="color: #333333; background-color: #ffffff; font-size: 16px; margin: 10px 0px;"&gt;i use this example but only can sample one AD channel ,i did not know where is wrong could you help me looking 
thank you 
job&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Aug 2017 10:23:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k144-PDB-ad-ping-pong-sampling/m-p/692858#M1227</guid>
      <dc:creator>jiangbolwj</dc:creator>
      <dc:date>2017-08-04T10:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 PDB ad ping-pong sampling</title>
      <link>https://community.nxp.com/t5/S32K/s32k144-PDB-ad-ping-pong-sampling/m-p/692859#M1228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems that are a few issues with PDB configuration in the application:&lt;/P&gt;&lt;P&gt;&amp;nbsp;- for the first PDB pretrigger (channel 0, pretrigger 0) should not have Back to Back enabled (preTriggerBackToBackEnable should be false in pdly1_AdcTrigInitConfig0).&lt;/P&gt;&lt;P&gt;&amp;nbsp;- there is only one PDB pretrigger configured. There should be as many PDB pretriggers configures as ADC control channels (in this case, 2)&lt;/P&gt;&lt;P&gt;&amp;nbsp;- configuring PDB modulus and pretrigger delay is not necessary for Back to Back operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will follow up with an updated application if needed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2017 10:51:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k144-PDB-ad-ping-pong-sampling/m-p/692859#M1228</guid>
      <dc:creator>ovidiualexandru</dc:creator>
      <dc:date>2017-08-07T10:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 PDB ad ping-pong sampling</title>
      <link>https://community.nxp.com/t5/S32K/s32k144-PDB-ad-ping-pong-sampling/m-p/692860#M1229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok,could you give me a updated application, first using pdb,i not very clear at this ,thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 02:19:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k144-PDB-ad-ping-pong-sampling/m-p/692860#M1229</guid>
      <dc:creator>jiangbolwj</dc:creator>
      <dc:date>2017-08-08T02:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 PDB ad ping-pong sampling</title>
      <link>https://community.nxp.com/t5/S32K/s32k144-PDB-ad-ping-pong-sampling/m-p/692861#M1230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have updated your code a bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You had ADC set to continuous conversion and pdb channel 0 set to back to back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell me if this fixes your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dragos.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Aug 2017 09:18:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k144-PDB-ad-ping-pong-sampling/m-p/692861#M1230</guid>
      <dc:creator>dragos-ionutgal</dc:creator>
      <dc:date>2017-08-18T09:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 PDB ad ping-pong sampling</title>
      <link>https://community.nxp.com/t5/S32K/s32k144-PDB-ad-ping-pong-sampling/m-p/692862#M1231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;I haved tried this Demo, I do change some codes as follow :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Adc Initiation: (uncommon codes)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ADC_DRV_ConfigChan(ADC_INSTANCE, 0UL, &amp;amp;adConv1_ChnConfig0);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ADC_DRV_ConfigChan(ADC_INSTANCE, 1UL, &amp;amp;adConv1_ChnConfig0);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ADC_DRV_ConfigChan(ADC_INSTANCE, 2UL, &amp;amp;adConv1_ChnConfig0);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ADC_DRV_ConfigChan(ADC_INSTANCE, 3UL, &amp;amp;adConv1_ChnConfig0);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In PDB Initiation:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;PDB_DRV_ConfigAdcPreTrigger(PDB_INSTANCE, 0, &amp;amp;pdly1_AdcTrigInitConfig0);&lt;/P&gt;&lt;P&gt;PDB_DRV_ConfigAdcPreTrigger(PDB_INSTANCE, 0, &amp;amp;pdly1_AdcTrigInitConfig1);&lt;/P&gt;&lt;P&gt;PDB_DRV_ConfigAdcPreTrigger(PDB_INSTANCE, 0, &amp;amp;pdly1_AdcTrigInitConfig2);&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;PDB_DRV_ConfigAdcPreTrigger(PDB_INSTANCE, 0, &amp;amp;pdly1_AdcTrigInitConfig3);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In ADC_IRQHandler:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ADC_DRV_GetChanResult(ADC_INSTANCE, 0U, (uint16_t *)&amp;amp;adcRawValue);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ADC_DRV_GetChanResult(ADC_INSTANCE, 1U, (uint16_t *)&amp;amp;adcRawValue1);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ADC_DRV_GetChanResult(ADC_INSTANCE, 2U, (uint16_t *)&amp;amp;adcRawValue2);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ADC_DRV_GetChanResult(ADC_INSTANCE, 3U, (uint16_t *)&amp;amp;adcRawValue3);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am confised why &lt;STRONG&gt;adcRawValue&lt;/STRONG&gt; is less than other convertion results like&amp;nbsp;&lt;STRONG&gt;adcRawValue1/adcRawValue2/adcRawValue3 &amp;nbsp;?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Above all.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I do want a demo which uses ADC0, PDB0, ADC1, PDB1 to build a ring&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;so that in my applications, except understanding the principle of this ring, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I do only configure Channals.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="捕获.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/67279i01AD5C2F84DB15CB/image-size/large?v=v2&amp;amp;px=999" role="button" title="捕获.PNG" alt="捕获.PNG" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2018 02:55:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k144-PDB-ad-ping-pong-sampling/m-p/692862#M1231</guid>
      <dc:creator>gumpforrest</dc:creator>
      <dc:date>2018-08-21T02:55:33Z</dc:date>
    </item>
  </channel>
</rss>

