<?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: S32K342 ADC module in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K342-ADC-module/m-p/1580542#M19955</link>
    <description>&lt;P&gt;Can i use both instance as interrupt ADC0 and ADC1?&lt;BR /&gt;For that what i want to do? Its possible to connect on teams we both for this configuration?&lt;BR /&gt;&lt;BR /&gt;If i configured ADC0 as Interrupt and ADC1 as DMA ,&amp;nbsp; after completing the ADC0 the bstatus is moved from true to false condition.So the second instance cant able to run.&lt;/P&gt;</description>
    <pubDate>Wed, 11 Jan 2023 05:59:43 GMT</pubDate>
    <dc:creator>Venu_M</dc:creator>
    <dc:date>2023-01-11T05:59:43Z</dc:date>
    <item>
      <title>S32K342 ADC module</title>
      <link>https://community.nxp.com/t5/S32K/S32K342-ADC-module/m-p/1578595#M19882</link>
      <description>&lt;P&gt;I have configured ADC0 as interrupt and ADC1 as DMA transfer type at the same time.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For interrupt i can be able to get the converted result in register. But i can't get the value for DMA transfer type.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;What is the reason for I'm not getting result over using DMA.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2023 14:00:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K342-ADC-module/m-p/1578595#M19882</guid>
      <dc:creator>Venu_M</dc:creator>
      <dc:date>2023-01-06T14:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: S32K342 ADC module</title>
      <link>https://community.nxp.com/t5/S32K/S32K342-ADC-module/m-p/1579304#M19917</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;What is the reason for I'm not getting result over using DMA.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;First you should check if the channel was converted and at the end of the conversion flag is set. (CEOCFRx)&lt;/P&gt;
&lt;P&gt;Then configure DMA Request Enable For xxx Inputs (DMARx) for selected channel&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="petervlna_0-1673267050876.png" style="width: 511px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/206512i1C8D385C2EBE37F5/image-dimensions/511x82?v=v2" width="511" height="82" role="button" title="petervlna_0-1673267050876.png" alt="petervlna_0-1673267050876.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once this is done all you need is to have configured DMA and DMAMUX for processing a trigger signal from ADC.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="petervlna_1-1673267098935.png" style="width: 548px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/206513i14ED7C8D9B43B76C/image-dimensions/548x222?v=v2" width="548" height="222" role="button" title="petervlna_1-1673267098935.png" alt="petervlna_1-1673267098935.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2023 12:25:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K342-ADC-module/m-p/1579304#M19917</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2023-01-09T12:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: S32K342 ADC module</title>
      <link>https://community.nxp.com/t5/S32K/S32K342-ADC-module/m-p/1579326#M19919</link>
      <description>I have tried with ADC1 as DMA seperately without configuring ADC0.&lt;BR /&gt;But i have modified the main.c file like DMA function first work and interrupt function will process next.&lt;BR /&gt;&lt;BR /&gt;So the first function is working whether it is DMA or Interrupt.&lt;BR /&gt;second function is not converting.&lt;BR /&gt;&lt;BR /&gt;What should i do?&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Jan 2023 12:59:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K342-ADC-module/m-p/1579326#M19919</guid>
      <dc:creator>Venu_M</dc:creator>
      <dc:date>2023-01-09T12:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: S32K342 ADC module</title>
      <link>https://community.nxp.com/t5/S32K/S32K342-ADC-module/m-p/1579913#M19933</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;If you have correctly configured DMARx register for ADC1 then there is no interaction with any interrupts.&lt;/P&gt;
&lt;P&gt;Your ADC-&amp;gt;DMA will skip core intervention and dirrectly copy data from ADC to destination address set in DMA.&lt;/P&gt;
&lt;P&gt;Those are 2 separated processes and will not interfere.&lt;/P&gt;
&lt;P&gt;There must be some issue in the functions and how they handle resources. From HW point of view I see no issue performing this operation.&lt;/P&gt;
&lt;P&gt;I suggest you you to closer debug your functions to see where it get stuck.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jan 2023 09:17:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K342-ADC-module/m-p/1579913#M19933</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2023-01-10T09:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: S32K342 ADC module</title>
      <link>https://community.nxp.com/t5/S32K/S32K342-ADC-module/m-p/1580542#M19955</link>
      <description>&lt;P&gt;Can i use both instance as interrupt ADC0 and ADC1?&lt;BR /&gt;For that what i want to do? Its possible to connect on teams we both for this configuration?&lt;BR /&gt;&lt;BR /&gt;If i configured ADC0 as Interrupt and ADC1 as DMA ,&amp;nbsp; after completing the ADC0 the bstatus is moved from true to false condition.So the second instance cant able to run.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 05:59:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K342-ADC-module/m-p/1580542#M19955</guid>
      <dc:creator>Venu_M</dc:creator>
      <dc:date>2023-01-11T05:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: S32K342 ADC module</title>
      <link>https://community.nxp.com/t5/S32K/S32K342-ADC-module/m-p/1581681#M19983</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Can i use both instance as interrupt ADC0 and ADC1?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Sure, just mind the priorities, or read both ADCs in same interrupt. This all is application specific.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR /&gt;For that what i want to do? Its possible to connect on teams we both for this configuration?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Not directly, if you want direct NXP support, please get in touch with NXP FAE / sales or distributor. They are able to setup meetings.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;If i configured ADC0 as Interrupt and ADC1 as DMA , after completing the ADC0 the bstatus is moved from true to false condition.So the second instance cant able to run.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;How do you start ADC1?&lt;/P&gt;
&lt;P&gt;It should be simple. Just configure ADC1 and write NCR [ NSTART] bit. You can do it from debugger to check if its converting data. Please follow reference manual in order to setup and start conversion of ADC1.&lt;/P&gt;
&lt;P&gt;59.3.4 Normal trigger&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="petervlna_0-1673520382121.png" style="width: 578px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/207087i82FF07026687E67D/image-dimensions/578x117?v=v2" width="578" height="117" role="button" title="petervlna_0-1673520382121.png" alt="petervlna_0-1673520382121.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2023 10:47:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K342-ADC-module/m-p/1581681#M19983</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2023-01-12T10:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: S32K342 ADC module</title>
      <link>https://community.nxp.com/t5/S32K/S32K342-ADC-module/m-p/1584354#M20082</link>
      <description>&lt;P&gt;I have configured ADC0 and ADC1 as&lt;STRONG&gt; interrupt transfer&lt;/STRONG&gt; method.&lt;BR /&gt;In platform i have selected interrupt IRQ for both ADC0 and ADC1.&lt;BR /&gt;Next what i have to do in configuration and code part.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got result in register, &lt;STRONG&gt;how to check&lt;/STRONG&gt; whether it is using interrupt transfer&amp;nbsp;method is working.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MCR,MSR,ISR,CEOCFRn,NCMRn,PCDRn,ICDRn,IMR register also updating. Apart from this which register need to update.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Can you tell me by using Adc_example_S32K342. what i have to do for both ADC0 and ADC1.&lt;/P&gt;&lt;P&gt;It's very much necessary for me please give me a &lt;STRONG&gt;detailed solution&lt;/STRONG&gt; on this.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 06:11:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K342-ADC-module/m-p/1584354#M20082</guid>
      <dc:creator>Venu_M</dc:creator>
      <dc:date>2023-01-19T06:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: S32K342 ADC module</title>
      <link>https://community.nxp.com/t5/S32K/S32K342-ADC-module/m-p/1585322#M20122</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;I got result in register, &lt;STRONG&gt;how to check&lt;/STRONG&gt; whether it is using interrupt transfer&amp;nbsp;method is working.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Ok, simply set breakpoint on your ISR function where you read the results. If the function is called and there is correct result you can assume that it is working.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Can you tell me by using Adc_example_S32K342. what i have to do for both ADC0 and ADC1.&lt;/P&gt;
&lt;P&gt;It's very much necessary for me please give me a &lt;STRONG&gt;detailed solution&lt;/STRONG&gt; on this.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Unfortunately I do not have any Adc_example_S32K342. Is this a part of some NXP SW package?&lt;/P&gt;
&lt;P&gt;Furthermore if you need application support please contact NXP FAE/sales assigned to your company or distributor, they are able to set up application support channel.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 09:51:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K342-ADC-module/m-p/1585322#M20122</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2023-01-19T09:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: S32K342 ADC module</title>
      <link>https://community.nxp.com/t5/S32K/S32K342-ADC-module/m-p/1585325#M20123</link>
      <description>MCR,MSR,ISR,CEOCFRn,NCMRn,PCDRn,ICDRn,IMR register also updating. Apart from this which register need to update.</description>
      <pubDate>Thu, 19 Jan 2023 09:53:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K342-ADC-module/m-p/1585325#M20123</guid>
      <dc:creator>Venu_M</dc:creator>
      <dc:date>2023-01-19T09:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: S32K342 ADC module</title>
      <link>https://community.nxp.com/t5/S32K/S32K342-ADC-module/m-p/1585426#M20128</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am a bit confused here.&lt;/P&gt;
&lt;P&gt;Could you closer specify the question?&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 12:17:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K342-ADC-module/m-p/1585426#M20128</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2023-01-19T12:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: S32K342 ADC module</title>
      <link>https://community.nxp.com/t5/S32K/S32K342-ADC-module/m-p/1585428#M20129</link>
      <description>&lt;P&gt;Actually its converting and updating in the particular register.&lt;BR /&gt;If I'm using interrupt type which register need to update(ISR and IMR) or any other&amp;nbsp;register.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 12:22:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K342-ADC-module/m-p/1585428#M20129</guid>
      <dc:creator>Venu_M</dc:creator>
      <dc:date>2023-01-19T12:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: S32K342 ADC module</title>
      <link>https://community.nxp.com/t5/S32K/S32K342-ADC-module/m-p/1587032#M20194</link>
      <description>&lt;P&gt;Its working fine ADC0 and ADC1.But for &lt;STRONG&gt;ADC0 - Precision channel 6&amp;nbsp;&lt;/STRONG&gt;and &lt;STRONG&gt;ADC1 - Standard channel 23&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't get the value in the register. But its updating the value randomly if I change the input value also its not getting correct value in the register.&lt;BR /&gt;I have checked in the configuration and voltage level in the particular pin also.&lt;BR /&gt;I have configured like a group in that group except these two channels remaining channels are converting.&lt;BR /&gt;For this what i have to check and do?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 10:16:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K342-ADC-module/m-p/1587032#M20194</guid>
      <dc:creator>Venu_M</dc:creator>
      <dc:date>2023-01-24T10:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: S32K342 ADC module</title>
      <link>https://community.nxp.com/t5/S32K/S32K342-ADC-module/m-p/1592123#M20374</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;How do you trigger the conversions?&lt;/P&gt;&lt;P&gt;Do you have them synchronized from some timer, so you will prevent asynchronous triggering?&lt;/P&gt;&lt;P&gt;From what you express, it looks like there is no fix timing for your conversions, hence the interrupts will be executed in random order.&lt;/P&gt;&lt;P&gt;Correct me if I am wrong please&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2023 08:19:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K342-ADC-module/m-p/1592123#M20374</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2023-02-02T08:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: S32K342 ADC module</title>
      <link>https://community.nxp.com/t5/S32K/S32K342-ADC-module/m-p/1592194#M20378</link>
      <description>After conversion done the interrupt will set the flag on ISR and IMR register.</description>
      <pubDate>Thu, 02 Feb 2023 09:21:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K342-ADC-module/m-p/1592194#M20378</guid>
      <dc:creator>Venu_M</dc:creator>
      <dc:date>2023-02-02T09:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: S32K342 ADC module</title>
      <link>https://community.nxp.com/t5/S32K/S32K342-ADC-module/m-p/1593892#M20464</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I see you have 2 ADC interlaces with 2 interrupts.&lt;/P&gt;
&lt;P&gt;How do you secure that these 2 interrupts will not interfere?&lt;/P&gt;
&lt;P&gt;Do you have one timer which synchronize the conversions and reads?&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2023 10:27:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K342-ADC-module/m-p/1593892#M20464</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2023-02-06T10:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: S32K342 ADC module</title>
      <link>https://community.nxp.com/t5/S32K/S32K342-ADC-module/m-p/1593925#M20468</link>
      <description>Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/13836"&gt;@petervlna&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;Do you have one timer which synchronize the conversions and reads?&lt;BR /&gt;&lt;BR /&gt;For interrupt, I configured Interrupt handler and interrupt request.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Feb 2023 11:42:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K342-ADC-module/m-p/1593925#M20468</guid>
      <dc:creator>Venu_M</dc:creator>
      <dc:date>2023-02-06T11:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: S32K342 ADC module</title>
      <link>https://community.nxp.com/t5/S32K/S32K342-ADC-module/m-p/1594487#M20477</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Ok, I will try to explain it one more time.&lt;/P&gt;
&lt;P&gt;1. You have 1 interrupt processing unit&lt;/P&gt;
&lt;P&gt;2. you have 2 ADC modules which triggers 2 interrupts in unknown time.&lt;/P&gt;
&lt;P&gt;Those 2 interrupts will interfere when triggered at same time (as only 1 is processed) and therefore you will see inconsistent data in your result registers.&lt;/P&gt;
&lt;P&gt;So my questions is how do you time ADC conversions to prevent this situation to happen?&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2023 07:41:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K342-ADC-module/m-p/1594487#M20477</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2023-02-07T07:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: S32K342 ADC module</title>
      <link>https://community.nxp.com/t5/S32K/S32K342-ADC-module/m-p/1595526#M20506</link>
      <description>&lt;P&gt;&lt;SPAN&gt;1. You have 1 interrupt processing unit?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have configured 2 interrupt Api for ADC0 and ADC1.&lt;/P&gt;&lt;P&gt;ISR(Adc_Sar_0_Isr) and&amp;nbsp;ISR(Adc_Sar_1_Isr).&lt;/P&gt;&lt;P&gt;So how it will interfere&amp;nbsp;with each other?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2023 10:42:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K342-ADC-module/m-p/1595526#M20506</guid>
      <dc:creator>Venu_M</dc:creator>
      <dc:date>2023-02-08T10:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: S32K342 ADC module</title>
      <link>https://community.nxp.com/t5/S32K/S32K342-ADC-module/m-p/1597149#M20565</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;You realize that API is SW functions and you can have infinite number of whatever in it,&lt;/P&gt;
&lt;P&gt;but HW is only 1?&lt;/P&gt;
&lt;P&gt;Your limitation is always HW.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2023 08:28:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K342-ADC-module/m-p/1597149#M20565</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2023-02-10T08:28:44Z</dc:date>
    </item>
  </channel>
</rss>

