<?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 ADC_Pal2, HW triggered Group conversion for 2 different groups having different channels in S32K</title>
    <link>https://community.nxp.com/t5/S32K/ADC-Pal2-HW-triggered-Group-conversion-for-2-different-groups/m-p/1068862#M7314</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 am using adc_pal2&amp;nbsp;for the HW triggered group conversion there are 2 different groups having 2-2 ADC channels,&lt;/P&gt;&lt;P&gt;As per the use case these groups should be triggered at different time time intervals.&lt;/P&gt;&lt;P&gt;For triggering the ADC Conversion for these groups I am using trigmux, LPIT channel0 at 250uSec and LPIT channel 1 at 1000uSec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am facing issue that only one group gives the data but the other group never gives the data, Please help to under stand why is it happening.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I am having doubt,that&amp;nbsp;&amp;nbsp;In trigmux configuration how we use&amp;nbsp;Adc1AdhwtTla0, Adc1AdhwtTla2 if there are 2 groups&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am adding the basic process which i am following at the time of Initialization ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CLOCK_SYS_Init(g_clockManConfigsArr, CLOCK_MANAGER_CONFIG_CNT,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; g_clockManCallbacksArr, CLOCK_MANAGER_CALLBACK_CNT);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; CLOCK_SYS_UpdateConfiguration(0U, CLOCK_MANAGER_POLICY_AGREEMENT);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/* Initialize pins&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; * - See PinSettings component for more info&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; */&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; PINS_DRV_Init(NUM_OF_CONFIGURED_PINS, g_pin_mux_InitConfigArr);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ADC_Init(&amp;amp;adc_pal2_instance, &amp;amp;adc_pal2_InitConfig0);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LPIT_DRV_Init(INST_LPIT1, &amp;amp;lpit1_InitConfig); //HWTRIG&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; /* Initialize LPIT channel 0 and 1,configure it as a periodic counter&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; * which is used to generate an interrupt.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; */&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; LPIT_DRV_InitChannel(INST_LPIT1, 0, &amp;amp;lpit1_ChnConfig0); //HWTRIG&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; LPIT_DRV_InitChannel(INST_LPIT1, 1, &amp;amp;lpit1_ChnConfig1); //HWTRIG&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/* Install LPIT_ISR as LPIT interrupt handler */&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; INT_SYS_InstallHandler(LPIT0_Ch0_IRQn, &amp;amp;LPIT_ISR, (isr_t *)0); //HWTRIG&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; /* Install LPIT_ISR as LPIT interrupt handler */&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; INT_SYS_InstallHandler(LPIT0_Ch1_IRQn, &amp;amp;LPIT_ISR_1, (isr_t *)0); //HWTRIG&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TRGMUX_DRV_Init(INST_TRGMUX1, &amp;amp;trgmux1_InitConfig0);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ADC_EnableHardwareTrigger(&amp;amp;adc_pal2_instance, 0U); //HW&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ADC_EnableHardwareTrigger(&amp;amp;adc_pal2_instance, 1U);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After init, i am trying to read the value in the result buffer but only group 1 is showing the ADC value,&lt;/P&gt;&lt;P&gt;what more changes do I need to do to get the values in both buffers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 10 May 2020 11:01:59 GMT</pubDate>
    <dc:creator>shubhendu_shukl</dc:creator>
    <dc:date>2020-05-10T11:01:59Z</dc:date>
    <item>
      <title>ADC_Pal2, HW triggered Group conversion for 2 different groups having different channels</title>
      <link>https://community.nxp.com/t5/S32K/ADC-Pal2-HW-triggered-Group-conversion-for-2-different-groups/m-p/1068862#M7314</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 am using adc_pal2&amp;nbsp;for the HW triggered group conversion there are 2 different groups having 2-2 ADC channels,&lt;/P&gt;&lt;P&gt;As per the use case these groups should be triggered at different time time intervals.&lt;/P&gt;&lt;P&gt;For triggering the ADC Conversion for these groups I am using trigmux, LPIT channel0 at 250uSec and LPIT channel 1 at 1000uSec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am facing issue that only one group gives the data but the other group never gives the data, Please help to under stand why is it happening.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I am having doubt,that&amp;nbsp;&amp;nbsp;In trigmux configuration how we use&amp;nbsp;Adc1AdhwtTla0, Adc1AdhwtTla2 if there are 2 groups&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am adding the basic process which i am following at the time of Initialization ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CLOCK_SYS_Init(g_clockManConfigsArr, CLOCK_MANAGER_CONFIG_CNT,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; g_clockManCallbacksArr, CLOCK_MANAGER_CALLBACK_CNT);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; CLOCK_SYS_UpdateConfiguration(0U, CLOCK_MANAGER_POLICY_AGREEMENT);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/* Initialize pins&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; * - See PinSettings component for more info&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; */&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; PINS_DRV_Init(NUM_OF_CONFIGURED_PINS, g_pin_mux_InitConfigArr);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ADC_Init(&amp;amp;adc_pal2_instance, &amp;amp;adc_pal2_InitConfig0);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LPIT_DRV_Init(INST_LPIT1, &amp;amp;lpit1_InitConfig); //HWTRIG&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; /* Initialize LPIT channel 0 and 1,configure it as a periodic counter&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; * which is used to generate an interrupt.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; */&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; LPIT_DRV_InitChannel(INST_LPIT1, 0, &amp;amp;lpit1_ChnConfig0); //HWTRIG&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; LPIT_DRV_InitChannel(INST_LPIT1, 1, &amp;amp;lpit1_ChnConfig1); //HWTRIG&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;/* Install LPIT_ISR as LPIT interrupt handler */&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; INT_SYS_InstallHandler(LPIT0_Ch0_IRQn, &amp;amp;LPIT_ISR, (isr_t *)0); //HWTRIG&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; /* Install LPIT_ISR as LPIT interrupt handler */&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; INT_SYS_InstallHandler(LPIT0_Ch1_IRQn, &amp;amp;LPIT_ISR_1, (isr_t *)0); //HWTRIG&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TRGMUX_DRV_Init(INST_TRGMUX1, &amp;amp;trgmux1_InitConfig0);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ADC_EnableHardwareTrigger(&amp;amp;adc_pal2_instance, 0U); //HW&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ADC_EnableHardwareTrigger(&amp;amp;adc_pal2_instance, 1U);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After init, i am trying to read the value in the result buffer but only group 1 is showing the ADC value,&lt;/P&gt;&lt;P&gt;what more changes do I need to do to get the values in both buffers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 May 2020 11:01:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-Pal2-HW-triggered-Group-conversion-for-2-different-groups/m-p/1068862#M7314</guid>
      <dc:creator>shubhendu_shukl</dc:creator>
      <dc:date>2020-05-10T11:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: ADC_Pal2, HW triggered Group conversion for 2 different groups having different channels</title>
      <link>https://community.nxp.com/t5/S32K/ADC-Pal2-HW-triggered-Group-conversion-for-2-different-groups/m-p/1068863#M7315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/shubhendu.shukla@exicom.in"&gt;shubhendu.shukla@exicom.in&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;It seems like you have only one adc_pal component in the project and both channel groups are on one ADCn instance.&lt;/P&gt;&lt;P&gt;If so, both groups are triggered at the same time, can you move one group&amp;nbsp;to the other ADC module?&lt;/P&gt;&lt;P&gt;Could you perhaps share the whole project so that I can test it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2020 14:52:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-Pal2-HW-triggered-Group-conversion-for-2-different-groups/m-p/1068863#M7315</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2020-05-12T14:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: ADC_Pal2, HW triggered Group conversion for 2 different groups having different channels</title>
      <link>https://community.nxp.com/t5/S32K/ADC-Pal2-HW-triggered-Group-conversion-for-2-different-groups/m-p/1068864#M7316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/danielmartynek"&gt;danielmartynek&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am attaching the project.&lt;/P&gt;&lt;P&gt;In this project :&lt;/P&gt;&lt;P&gt;adc_pal,Lpit and trigmux is being used.&lt;/P&gt;&lt;P&gt;As per our use case we need 25usec Hw trigger for group 1 and 1000usec HW for group 2.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2020 05:04:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-Pal2-HW-triggered-Group-conversion-for-2-different-groups/m-p/1068864#M7316</guid>
      <dc:creator>shubhendu_shukl</dc:creator>
      <dc:date>2020-05-13T05:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: ADC_Pal2, HW triggered Group conversion for 2 different groups having different channels</title>
      <link>https://community.nxp.com/t5/S32K/ADC-Pal2-HW-triggered-Group-conversion-for-2-different-groups/m-p/1068865#M7317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/shubhendu.shukla@exicom.in"&gt;shubhendu.shukla@exicom.in&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thanks for the project.&lt;/P&gt;&lt;P&gt;Please move one group from ADC1 to ADC0.&lt;/P&gt;&lt;P&gt;You need another adc_pal component in the project.&lt;/P&gt;&lt;P&gt;With this current setup, both groups are triggered at the same time which cannot work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2020 15:19:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-Pal2-HW-triggered-Group-conversion-for-2-different-groups/m-p/1068865#M7317</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2020-05-13T15:19:31Z</dc:date>
    </item>
  </channel>
</rss>

