<?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>MPC5xxxのトピックMPC5777C EQADC configuration using processor expert</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5777C-EQADC-configuration-using-processor-expert/m-p/1370933#M19600</link>
    <description>&lt;P&gt;I'm using S32 SDK to configure for the MPC5777C chip.&lt;/P&gt;&lt;P&gt;Before I have setup a FreeRTOS with 2 ms and 10 ms tasks, as well as an EMIOS_PWM output channel, to toggle three external LEDs, it works fine.&lt;/P&gt;&lt;P&gt;Now I try to add an EQADC input channel, then I use the same PE configuration as in the Example project adc_pal_eqadc_mpc5777c, but change the channel to ANB23 related to our hardware,&amp;nbsp; and add the initialize function into main.c as below. However, the software seems to halt during&amp;nbsp;ADC_Init() function. I try to debug step by step, but can't figure it out.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;status = ADC_Init(&amp;amp;adc_pal1_instance, &amp;amp;adc_pal1_InitConfig0);&lt;BR /&gt;DEV_ASSERT(status == STATUS_SUCCESS);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need help to solve this issue. Enclosed the project files I'm using. Thanks for your reply in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lync&lt;/P&gt;</description>
    <pubDate>Mon, 15 Nov 2021 13:07:26 GMT</pubDate>
    <dc:creator>LyncLin</dc:creator>
    <dc:date>2021-11-15T13:07:26Z</dc:date>
    <item>
      <title>MPC5777C EQADC configuration using processor expert</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5777C-EQADC-configuration-using-processor-expert/m-p/1370933#M19600</link>
      <description>&lt;P&gt;I'm using S32 SDK to configure for the MPC5777C chip.&lt;/P&gt;&lt;P&gt;Before I have setup a FreeRTOS with 2 ms and 10 ms tasks, as well as an EMIOS_PWM output channel, to toggle three external LEDs, it works fine.&lt;/P&gt;&lt;P&gt;Now I try to add an EQADC input channel, then I use the same PE configuration as in the Example project adc_pal_eqadc_mpc5777c, but change the channel to ANB23 related to our hardware,&amp;nbsp; and add the initialize function into main.c as below. However, the software seems to halt during&amp;nbsp;ADC_Init() function. I try to debug step by step, but can't figure it out.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;status = ADC_Init(&amp;amp;adc_pal1_instance, &amp;amp;adc_pal1_InitConfig0);&lt;BR /&gt;DEV_ASSERT(status == STATUS_SUCCESS);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need help to solve this issue. Enclosed the project files I'm using. Thanks for your reply in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lync&lt;/P&gt;</description>
      <pubDate>Mon, 15 Nov 2021 13:07:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5777C-EQADC-configuration-using-processor-expert/m-p/1370933#M19600</guid>
      <dc:creator>LyncLin</dc:creator>
      <dc:date>2021-11-15T13:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5777C EQADC configuration using processor expert</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5777C-EQADC-configuration-using-processor-expert/m-p/1371348#M19612</link>
      <description>&lt;P&gt;It seems inside the&amp;nbsp;&lt;SPAN&gt;ADC_Init(), &lt;/SPAN&gt;OSIF_TimeDelay() will be called. However, I put&amp;nbsp;&lt;SPAN&gt;ADC_Init() before&amp;nbsp;vTaskStartScheduler(), so there is no tick for&amp;nbsp;OSIF_TimeDelay to count, which will block the software. Then I try to put&amp;nbsp;ADC_Init() in 2 ms Task, however, it still doesn't work, it will stop where&amp;nbsp;ADC_Init() is called. It looks like some functions inside OSIF component that&amp;nbsp;ADC_Init() is using by default has a confilict with freeRTOS that added after.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I hope someone can help on this.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Nov 2021 13:04:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5777C-EQADC-configuration-using-processor-expert/m-p/1371348#M19612</guid>
      <dc:creator>LyncLin</dc:creator>
      <dc:date>2021-11-15T13:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5777C EQADC configuration using processor expert</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5777C-EQADC-configuration-using-processor-expert/m-p/1372092#M19625</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;try to add ADC init into 10ms task, which has higher priority. Does it pass ADC init in that case?&lt;/P&gt;
&lt;P&gt;BR, Petr&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Nov 2021 14:55:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5777C-EQADC-configuration-using-processor-expert/m-p/1372092#M19625</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2021-11-16T14:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5777C EQADC configuration using processor expert</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5777C-EQADC-configuration-using-processor-expert/m-p/1375623#M19686</link>
      <description>&lt;P&gt;No, it didn't work. I tried to creat only one task for ADC init, but not work as well.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2021 12:34:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5777C-EQADC-configuration-using-processor-expert/m-p/1375623#M19686</guid>
      <dc:creator>LyncLin</dc:creator>
      <dc:date>2021-11-23T12:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5777C EQADC configuration using processor expert</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5777C-EQADC-configuration-using-processor-expert/m-p/1377545#M19725</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;seems you make it finally running by increasing heap of init task, as you mentioned in&amp;nbsp;&lt;A href="https://community.nxp.com/t5/MPC5xxx/Is-there-an-example-project-to-configure-ADC-PAL-with-freertos/td-p/1376108" target="_blank"&gt;https://community.nxp.com/t5/MPC5xxx/Is-there-an-example-project-to-configure-ADC-PAL-with-freertos/td-p/1376108&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Fri, 26 Nov 2021 09:26:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5777C-EQADC-configuration-using-processor-expert/m-p/1377545#M19725</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2021-11-26T09:26:57Z</dc:date>
    </item>
  </channel>
</rss>

