<?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: enet interrupt problem with k60fx512 + freertos + lwip in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/enet-interrupt-problem-with-k60fx512-freertos-lwip/m-p/797339#M48491</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chao:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is hard to know the root cause of your issue since I can't reproduce your issue on my side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From your description, it seems the interrupts is not enabled by FreeRTOS.&lt;/P&gt;&lt;P&gt;If you called FreeRTOS API, but not started the scheduler with function vTaskStartScheduler(), then the interrupts will be disabled. That is done deliberately to prevent interrupt service routines attempting to perform a context switch before the scheduler is running.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are many LwIP freeRTOS &amp;amp; Baremetal demos under KSDK installation folder, you can refer to it.&lt;/P&gt;&lt;P&gt;&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>Fri, 07 Sep 2018 05:25:23 GMT</pubDate>
    <dc:creator>danielchen</dc:creator>
    <dc:date>2018-09-07T05:25:23Z</dc:date>
    <item>
      <title>enet interrupt problem with k60fx512 + freertos + lwip</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/enet-interrupt-problem-with-k60fx512-freertos-lwip/m-p/797338#M48490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dear sir/man:&lt;/P&gt;&lt;P&gt;&amp;nbsp; I have a k60fx512 project that uses freerots, lwip, ksdk1.2.0. The enet register settings have been checked many times, but the k60fx512 network interrupt never triggers. I don't know if there is a problem, but I have another project that doesn't use freertos, it works fine.&lt;BR /&gt;tools:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Kds3.0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ksdk1.2.0&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Freertos: from the ksdk1.2.0 development library&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Lwip: from the ksdk1.2.0 development library&lt;BR /&gt;The attached picture is a screenshot of the enet register.&lt;BR /&gt;The library uses fsl_enet_hal.c and fsl_enet_drv.c&lt;BR /&gt;The ent receive interrupt is enabled, the receive buffer address is set, and the nvic receive interrupt and transmit interrupt are enabled.&lt;BR /&gt;Interrupt priority is set to 6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really want to get some help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2018 04:07:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/enet-interrupt-problem-with-k60fx512-freertos-lwip/m-p/797338#M48490</guid>
      <dc:creator>superlee1212</dc:creator>
      <dc:date>2018-08-17T04:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: enet interrupt problem with k60fx512 + freertos + lwip</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/enet-interrupt-problem-with-k60fx512-freertos-lwip/m-p/797339#M48491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chao:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is hard to know the root cause of your issue since I can't reproduce your issue on my side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From your description, it seems the interrupts is not enabled by FreeRTOS.&lt;/P&gt;&lt;P&gt;If you called FreeRTOS API, but not started the scheduler with function vTaskStartScheduler(), then the interrupts will be disabled. That is done deliberately to prevent interrupt service routines attempting to perform a context switch before the scheduler is running.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are many LwIP freeRTOS &amp;amp; Baremetal demos under KSDK installation folder, you can refer to it.&lt;/P&gt;&lt;P&gt;&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>Fri, 07 Sep 2018 05:25:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/enet-interrupt-problem-with-k60fx512-freertos-lwip/m-p/797339#M48491</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2018-09-07T05:25:23Z</dc:date>
    </item>
  </channel>
</rss>

