<?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 Ethernet Rx interrupt handling in FNET Stack in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Ethernet-Rx-interrupt-handling-in-FNET-Stack/m-p/213677#M10674</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using FNET Stack for MCF52259 based application.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some information is required to optimize my application, I need to clarify following.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.)&amp;nbsp;Multiple Ethernet RX buffer and Tx Buffer are used. Why it is required and its benefit?&lt;/P&gt;&lt;P&gt;2.) After doing some brief study of FNET stack,it appears that after receiving the Ethernet Frame some software interrupt is generated for ARP and IP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please know me&amp;nbsp;,&amp;nbsp;How software interrupt is executing while Vector number of SW interrupts&amp;nbsp;are &amp;nbsp;out of Vector table&amp;nbsp; or &amp;nbsp;there is other mechanism used&amp;nbsp;&amp;nbsp;to &amp;nbsp;slice f Ethernet Receive frame interrupt.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Jun 2011 15:36:07 GMT</pubDate>
    <dc:creator>Neerajjaini</dc:creator>
    <dc:date>2011-06-09T15:36:07Z</dc:date>
    <item>
      <title>Ethernet Rx interrupt handling in FNET Stack</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Ethernet-Rx-interrupt-handling-in-FNET-Stack/m-p/213677#M10674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using FNET Stack for MCF52259 based application.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some information is required to optimize my application, I need to clarify following.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.)&amp;nbsp;Multiple Ethernet RX buffer and Tx Buffer are used. Why it is required and its benefit?&lt;/P&gt;&lt;P&gt;2.) After doing some brief study of FNET stack,it appears that after receiving the Ethernet Frame some software interrupt is generated for ARP and IP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please know me&amp;nbsp;,&amp;nbsp;How software interrupt is executing while Vector number of SW interrupts&amp;nbsp;are &amp;nbsp;out of Vector table&amp;nbsp; or &amp;nbsp;there is other mechanism used&amp;nbsp;&amp;nbsp;to &amp;nbsp;slice f Ethernet Receive frame interrupt.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2011 15:36:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Ethernet-Rx-interrupt-handling-in-FNET-Stack/m-p/213677#M10674</guid>
      <dc:creator>Neerajjaini</dc:creator>
      <dc:date>2011-06-09T15:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: Ethernet Rx interrupt handling in FNET Stack</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Ethernet-Rx-interrupt-handling-in-FNET-Stack/m-p/213678#M10675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neerajjaini,&lt;/P&gt;&lt;P class="MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;EM&gt;&amp;gt;&amp;gt;&lt;/EM&gt;&lt;SPAN&gt;&lt;EM&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: #51626f;"&gt;Multiple Ethernet RX buffer and Tx Buffer are used. Why it is required and its benefit?&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;EM&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: #51626f;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;It is enough to have two TX buffers (defined by &lt;SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: #51626f;"&gt;FNET_CFG_CPU_ETH_TX_BUFS_MAX)&lt;/SPAN&gt;&lt;/SPAN&gt;. While FEC sends frame from one buffer, the FEC driver may fill the second one.&lt;/P&gt;&lt;P class="MsoNormal"&gt;On practice, two RX buffers can be enough (defined by &lt;SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: #51626f;"&gt;FNET_CFG_CPU_ETH_RX_BUFS_MAX)&lt;/SPAN&gt;&lt;/SPAN&gt;, but you can set it to bigger value to avoid dropping of received frames if an application is not so fast to handle them on time.&lt;/P&gt;&lt;P class="MsoNormal"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;EM&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: #51626f;"&gt;&amp;gt;&amp;gt;2.) after receiving the Ethernet Frame some software interrupt is generated for ARP and IP.&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;EM&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: #51626f;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: #51626f;"&gt;These “SW interrupts” are not &amp;nbsp;"real" interrupts. They are functions that use functionality of the FNET Interrupt Scheduler and critical code blocking mechanism.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: #51626f;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;EM&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: #51626f;"&gt;&amp;gt;&amp;gt;How software interrupt is executing while Vector number of SW interrupts&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;EM&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: #51626f;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: #51626f;"&gt;They are not registered in CPU vector table (as they are not connected to HW), they are called by SW.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: #51626f;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: #51626f;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: #51626f;"&gt;BTW: You can send any FNET improvements/fixes (if any) directly to &lt;A href="mailto:Andrey.Butok@freescale.com" rel="nofollow" target="_blank"&gt;Andrey.Butok@freescale.com&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;FONT face="Arial, sans-serif"&gt;&lt;SPAN style="line-height: 14px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: #51626f;"&gt;Thank you,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal"&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: #51626f;"&gt;Andrey Butok&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2011 17:32:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Ethernet-Rx-interrupt-handling-in-FNET-Stack/m-p/213678#M10675</guid>
      <dc:creator>butok</dc:creator>
      <dc:date>2011-06-13T17:32:11Z</dc:date>
    </item>
  </channel>
</rss>

