<?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: Transmission Problem in MPC 5777M FEC in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/Transmission-Problem-in-MPC-5777M-FEC/m-p/667268#M7597</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/PetrS"&gt;PetrS&lt;/A&gt;&amp;nbsp; , Thank you for the reply. I&amp;nbsp;have Disabled&amp;nbsp; the cache(Removed D_CACHE Flag from settings in the IDE) with single TxDesc and RxDesc , it is resending(Two times) the frames for a&amp;nbsp; udp/tcp/arp request messages. Currently I am modifying my code to two descriptors for both Txdesc and Rxdesc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have doubt in your example code that&amp;nbsp; why we need two rxbuffers and only one txbuf as you already using two descriptors both tx and rx.&lt;/P&gt;&lt;P&gt;uint8_t txBuf[1536] __attribute__ ((aligned (16))); &lt;BR /&gt;uint8_t &lt;STRONG&gt;rxBuf[2][1536]&lt;/STRONG&gt; __attribute__ ((aligned (16)));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me how to disable cache region only for those buffers instead of removing for whole ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Jun 2017 07:40:05 GMT</pubDate>
    <dc:creator>yalamandadosaky</dc:creator>
    <dc:date>2017-06-05T07:40:05Z</dc:date>
    <item>
      <title>Transmission Problem in MPC 5777M FEC</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Transmission-Problem-in-MPC-5777M-FEC/m-p/667266#M7595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, I am developing the Ethernet driver&amp;nbsp; for MPC 5777M, My driver (FEC) is not clearing the Ready bit ,when I call Eth_tx function shown below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void Eth_Tx(u16_t len)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; au32TxBDs[0U] = 0x8C000000U | len;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Reg32Write(FEC_TDAR, 0x01000000U);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; while(0x80000000U == (au32TxBDs[0U] &amp;amp; 0x80000000U));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; au32TxBDs[0] = 0x00000000U;&amp;nbsp; // Clear the Ready bit, the rest will be set later&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; au32TxBDs[1] = (u32_t)au8TxBuff;&amp;nbsp; //Data pointer&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; au32TxBDs[0] = 0x20000000U; // Set the Empty bit and the Wrap bit&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And my buffer descriptors are&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Buffer sizes and counts */&lt;BR /&gt;#define RX_BUFF_SIZE (1536u)&lt;BR /&gt;#define TX_BUF_SIZE (1536u)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Buffer descriptors: */&lt;BR /&gt;__attribute__(( aligned(16) ))&lt;BR /&gt;volatile u32_t au32RxBDs[2U]= {0u}; &lt;BR /&gt;__attribute__(( aligned(16) ))&lt;BR /&gt;volatile u32_t au32TxBDs[2U] = {0u};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* Buffers: */&lt;BR /&gt;__attribute__(( aligned(64) ))&lt;BR /&gt;u8_t au8RxBuffs[RX_BUFF_SIZE] = {0u};&lt;BR /&gt;__attribute__(( aligned(64) ))&lt;BR /&gt;u8_t au8TxBuff[TX_BUF_SIZE] = {0u};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me how to sort out this problem ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2017 07:21:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Transmission-Problem-in-MPC-5777M-FEC/m-p/667266#M7595</guid>
      <dc:creator>yalamandadosaky</dc:creator>
      <dc:date>2017-05-30T07:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: Transmission Problem in MPC 5777M FEC</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Transmission-Problem-in-MPC-5777M-FEC/m-p/667267#M7596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems you do not have Tx BD properly configured. I understand you have 1 Tx and 1 Rx BD defined.&lt;/P&gt;&lt;P&gt;However you should have at least 2 Tx BDs to ensure that there is always at least one TxBD with the R bit cleared in the Tx BD ring.&lt;/P&gt;&lt;P&gt;The last (here second) TxBD in a ring must have Wrap bit set. Once you will prepare BD for transmission you will swap between Tx BDs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;One example is posted for example here &lt;A _jive_internal="true" href="https://community.nxp.com/message/882044"&gt;https://community.nxp.com/message/882044 &lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;BR, Petr&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 09:35:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Transmission-Problem-in-MPC-5777M-FEC/m-p/667267#M7596</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2017-06-01T09:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Transmission Problem in MPC 5777M FEC</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Transmission-Problem-in-MPC-5777M-FEC/m-p/667268#M7597</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/PetrS"&gt;PetrS&lt;/A&gt;&amp;nbsp; , Thank you for the reply. I&amp;nbsp;have Disabled&amp;nbsp; the cache(Removed D_CACHE Flag from settings in the IDE) with single TxDesc and RxDesc , it is resending(Two times) the frames for a&amp;nbsp; udp/tcp/arp request messages. Currently I am modifying my code to two descriptors for both Txdesc and Rxdesc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have doubt in your example code that&amp;nbsp; why we need two rxbuffers and only one txbuf as you already using two descriptors both tx and rx.&lt;/P&gt;&lt;P&gt;uint8_t txBuf[1536] __attribute__ ((aligned (16))); &lt;BR /&gt;uint8_t &lt;STRONG&gt;rxBuf[2][1536]&lt;/STRONG&gt; __attribute__ ((aligned (16)));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me how to disable cache region only for those buffers instead of removing for whole ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2017 07:40:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Transmission-Problem-in-MPC-5777M-FEC/m-p/667268#M7597</guid>
      <dc:creator>yalamandadosaky</dc:creator>
      <dc:date>2017-06-05T07:40:05Z</dc:date>
    </item>
  </channel>
</rss>

