<?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: S32K118 ADC fail in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K118-ADC-fail/m-p/1202485#M9341</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Can you please share a test project with this issue so that we can test it?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
    <pubDate>Mon, 21 Dec 2020 12:29:34 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2020-12-21T12:29:34Z</dc:date>
    <item>
      <title>S32K118 ADC fail</title>
      <link>https://community.nxp.com/t5/S32K/S32K118-ADC-fail/m-p/1201634#M9309</link>
      <description>&lt;P&gt;Hi I'm trying to configure ADC driver using SDK RTM v4.0.1&lt;/P&gt;&lt;P&gt;and I'm using ADC, PDB Driver.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. ADC is OK&lt;/P&gt;&lt;P&gt;&amp;nbsp;- 1ms_Loop Operation :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;ADC_DRV_GetChanResult(INST_ADC_CONFIG_1, 0U, (uint16_t *)&amp;amp;adcRawValue0);&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;PDB_DRV_SoftTriggerCmd(INST_PDB_0);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. ADC is fail&lt;/P&gt;&lt;P&gt;&amp;nbsp;- 1ms_Loop Operation :&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;PDB_DRV_SoftTriggerCmd(INST_PDB_0);&lt;/P&gt;&lt;P&gt;- 5ms_Loop Operation :&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;ADC_DRV_GetChanResult(INST_ADC_CONFIG_1, 0U, (uint16_t *)&amp;amp;adcRawValue0);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't understand why one is OK but Another is not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 07:12:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K118-ADC-fail/m-p/1201634#M9309</guid>
      <dc:creator>종찬박</dc:creator>
      <dc:date>2020-12-18T07:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: S32K118 ADC fail</title>
      <link>https://community.nxp.com/t5/S32K/S32K118-ADC-fail/m-p/1202485#M9341</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Can you please share a test project with this issue so that we can test it?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 12:29:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K118-ADC-fail/m-p/1202485#M9341</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2020-12-21T12:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: S32K118 ADC fail</title>
      <link>https://community.nxp.com/t5/S32K/S32K118-ADC-fail/m-p/1202697#M9344</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If you can review my project, I want you to review final project.&lt;/P&gt;&lt;P&gt;I wanna use peripheral ADC, TRGMUX, PDB, PWM(FTM), Input Capture(FTM), Timer, CAN, UART.&lt;/P&gt;&lt;P&gt;But I have a proplem at Input Capture Interrupt.&lt;/P&gt;&lt;P&gt;So I was looking for the reason program was not able to quit FTM1_Ch0_7_IRQHandler Interrupt loop.&lt;/P&gt;&lt;P&gt;first, C2SC_CHF is not clear. That is why program stay to FTM1_Ch0_7_IRQHandler Interrupt loop.&lt;/P&gt;&lt;P&gt;In reference manual, C2SC_CHF is clear by reading CnSC register while CHF is set.&lt;/P&gt;&lt;P&gt;but, variable ftmStatePtr[1].ftmMode value is 50. I think this is API or my configuraion error.&lt;/P&gt;&lt;P&gt;I'm attaching my project and waiting for yout reply.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Best regards, Jongchan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2020 02:35:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K118-ADC-fail/m-p/1202697#M9344</guid>
      <dc:creator>종찬박</dc:creator>
      <dc:date>2020-12-22T02:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: S32K118 ADC fail</title>
      <link>https://community.nxp.com/t5/S32K/S32K118-ADC-fail/m-p/1203937#M9381</link>
      <description>&lt;P&gt;Can I request another problem?&lt;/P&gt;&lt;P&gt;I resolved input capture interrupt. That's because the ftm_state_t variable declared as local variable.&lt;/P&gt;&lt;P&gt;I changed variable to global variable.&lt;/P&gt;&lt;P&gt;But, I have another problem.&lt;/P&gt;&lt;P&gt;Attached project doesn't work ADC peripheral.&lt;/P&gt;&lt;P&gt;if Input capture interrupt is ever generated, ADC Complete interrupt would not work, and API ADC_DRV_GetChanResult would not work.&lt;/P&gt;&lt;P&gt;I can't understand why this project ADC doesn't work.&lt;/P&gt;&lt;P&gt;Could you explain why? and Could I ask you to send project that works well?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards, Jongchan&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Dec 2020 04:20:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K118-ADC-fail/m-p/1203937#M9381</guid>
      <dc:creator>종찬박</dc:creator>
      <dc:date>2020-12-24T04:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: S32K118 ADC fail</title>
      <link>https://community.nxp.com/t5/S32K/S32K118-ADC-fail/m-p/1204584#M9403</link>
      <description>&lt;P&gt;Hello Jongchan,&lt;/P&gt;
&lt;P&gt;Sorry for the delay, I'm out of office and I will be back on Jan, 4th.&lt;/P&gt;
&lt;P&gt;Have you tried using a higher ADC interrupt priority?&lt;/P&gt;
&lt;P&gt;Is the ADC interrupt pending? You can see it in the NVIC registers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Mon, 28 Dec 2020 16:06:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K118-ADC-fail/m-p/1204584#M9403</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2020-12-28T16:06:10Z</dc:date>
    </item>
  </channel>
</rss>

