<?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 SJA1105TEL TX Data Problem in Other NXP Products</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/SJA1105TEL-TX-Data-Problem/m-p/1812887#M21283</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Summary: &lt;/STRONG&gt;&lt;EM&gt;I am using&amp;nbsp;&lt;SPAN class=""&gt;#&lt;/SPAN&gt;SJA1105TEL switch with&amp;nbsp;&lt;SPAN class=""&gt;#&lt;/SPAN&gt;88E1512 PHY. I am developing the basic Ethernet switch device. I have successfully connected the PHY and switch module and I can see the data on Rx side of switch (Read&amp;nbsp;N_RX_BYTES register for diagnose) But somehow I cannot see any Tx data on&amp;nbsp;N_TX_BYTES diagnostic register.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My configuration: 1GBit, RGMII. I have used the script(s) which I attached for static configuration. (I have tried many different configuration scripts to be sure the problem is not caused by my config file)&lt;/P&gt;&lt;P&gt;Then I also &lt;U&gt;configured&lt;/U&gt; the Clock Generation Unit (CGU) and Auxiliary configuration Unit (ACU) as following:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mcagriaksoy_0-1708525853333.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/264304i4E0551AFC09E6E5E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mcagriaksoy_0-1708525853333.png" alt="mcagriaksoy_0-1708525853333.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So, the ACU and CGU is also valid! Then, I connected the devices on ports and start testing.&lt;/P&gt;&lt;P&gt;After device connection on various ethernet ports, the link is UP, and data exchange start but,&lt;/P&gt;&lt;P&gt;when I read the diagnostic registers like&amp;nbsp;"N_RX_BYTES", "N_TX_BYTES" I can see the&amp;nbsp;N_RX_BYTES returns incrementing values as expected. But&amp;nbsp;N_TX_BYTES is always zero or some constant value.&lt;/P&gt;&lt;P&gt;I also read the error diagnose values like, "N_RUNT", "N_SOFERR", "N_ALIGNERR", "N_MIIERR" but I these are zero, so the switch cannot catch any error on link.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Tests I made:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- Check the clock(s) (with Oscilloscope) have observed 125Mhz on both side (mac &amp;lt;--&amp;gt; phy)&amp;nbsp;&lt;STRONG&gt;&lt;FONT color="#00FF00"&gt;PASS!&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- Check the confirm register () that informs, the static confirmation is valid! &lt;STRONG&gt;&lt;FONT color="#00FF00"&gt;PASS!&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- Check the status registers like speed, device mode, link status are valid!&amp;nbsp;&lt;STRONG&gt;&lt;FONT color="#00FF00"&gt;PASS!&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#00FF00"&gt;&lt;FONT color="#000000"&gt;- Check the&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;N_RX_BYTES that increase?&amp;nbsp;&lt;STRONG&gt;&lt;FONT color="#00FF00"&gt;PASS!&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#00FF00"&gt;&lt;FONT color="#000000"&gt;- Check the&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;N_TX_BYTES that increase?&lt;STRONG&gt;&amp;nbsp;&lt;FONT color="#FF0000"&gt;FAIL!&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- Check error diagnose registers is clear?&amp;nbsp;&lt;STRONG&gt;&lt;FONT color="#00FF00"&gt;PASS!&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Which things can be problematic?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have no host in my configuration. I am implementing the basic switch and I do not have the host_port defined. I just want to pass data between ethernet ports. So, I guess my static config file should be quite simple &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question 1? Should I really use the HOST_PORT option, is it really required in my case?&lt;/P&gt;&lt;P&gt;Question 2? Why I cannot see and data on TX side of switch?&lt;/P&gt;&lt;P&gt;Question 3? I am not sure is it really caused by Phy or Switch but Switch RX register has some data and Tx has nothing. I seems to me, the data is eliminated. Do we know why It happens?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it caused by wrong configuration file inclues wrong MAC_FLTRES and&amp;nbsp;MAC_FLT values? &lt;EM&gt;(To be sure, I tried many different MAC possibilities including multicast addresses and so on.)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your response and time..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Feb 2024 14:53:40 GMT</pubDate>
    <dc:creator>mcagriaksoy</dc:creator>
    <dc:date>2024-02-21T14:53:40Z</dc:date>
    <item>
      <title>SJA1105TEL TX Data Problem</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/SJA1105TEL-TX-Data-Problem/m-p/1812887#M21283</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Summary: &lt;/STRONG&gt;&lt;EM&gt;I am using&amp;nbsp;&lt;SPAN class=""&gt;#&lt;/SPAN&gt;SJA1105TEL switch with&amp;nbsp;&lt;SPAN class=""&gt;#&lt;/SPAN&gt;88E1512 PHY. I am developing the basic Ethernet switch device. I have successfully connected the PHY and switch module and I can see the data on Rx side of switch (Read&amp;nbsp;N_RX_BYTES register for diagnose) But somehow I cannot see any Tx data on&amp;nbsp;N_TX_BYTES diagnostic register.&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My configuration: 1GBit, RGMII. I have used the script(s) which I attached for static configuration. (I have tried many different configuration scripts to be sure the problem is not caused by my config file)&lt;/P&gt;&lt;P&gt;Then I also &lt;U&gt;configured&lt;/U&gt; the Clock Generation Unit (CGU) and Auxiliary configuration Unit (ACU) as following:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mcagriaksoy_0-1708525853333.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/264304i4E0551AFC09E6E5E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mcagriaksoy_0-1708525853333.png" alt="mcagriaksoy_0-1708525853333.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So, the ACU and CGU is also valid! Then, I connected the devices on ports and start testing.&lt;/P&gt;&lt;P&gt;After device connection on various ethernet ports, the link is UP, and data exchange start but,&lt;/P&gt;&lt;P&gt;when I read the diagnostic registers like&amp;nbsp;"N_RX_BYTES", "N_TX_BYTES" I can see the&amp;nbsp;N_RX_BYTES returns incrementing values as expected. But&amp;nbsp;N_TX_BYTES is always zero or some constant value.&lt;/P&gt;&lt;P&gt;I also read the error diagnose values like, "N_RUNT", "N_SOFERR", "N_ALIGNERR", "N_MIIERR" but I these are zero, so the switch cannot catch any error on link.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Tests I made:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- Check the clock(s) (with Oscilloscope) have observed 125Mhz on both side (mac &amp;lt;--&amp;gt; phy)&amp;nbsp;&lt;STRONG&gt;&lt;FONT color="#00FF00"&gt;PASS!&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- Check the confirm register () that informs, the static confirmation is valid! &lt;STRONG&gt;&lt;FONT color="#00FF00"&gt;PASS!&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- Check the status registers like speed, device mode, link status are valid!&amp;nbsp;&lt;STRONG&gt;&lt;FONT color="#00FF00"&gt;PASS!&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#00FF00"&gt;&lt;FONT color="#000000"&gt;- Check the&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;N_RX_BYTES that increase?&amp;nbsp;&lt;STRONG&gt;&lt;FONT color="#00FF00"&gt;PASS!&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#00FF00"&gt;&lt;FONT color="#000000"&gt;- Check the&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;N_TX_BYTES that increase?&lt;STRONG&gt;&amp;nbsp;&lt;FONT color="#FF0000"&gt;FAIL!&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;- Check error diagnose registers is clear?&amp;nbsp;&lt;STRONG&gt;&lt;FONT color="#00FF00"&gt;PASS!&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Which things can be problematic?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have no host in my configuration. I am implementing the basic switch and I do not have the host_port defined. I just want to pass data between ethernet ports. So, I guess my static config file should be quite simple &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question 1? Should I really use the HOST_PORT option, is it really required in my case?&lt;/P&gt;&lt;P&gt;Question 2? Why I cannot see and data on TX side of switch?&lt;/P&gt;&lt;P&gt;Question 3? I am not sure is it really caused by Phy or Switch but Switch RX register has some data and Tx has nothing. I seems to me, the data is eliminated. Do we know why It happens?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it caused by wrong configuration file inclues wrong MAC_FLTRES and&amp;nbsp;MAC_FLT values? &lt;EM&gt;(To be sure, I tried many different MAC possibilities including multicast addresses and so on.)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your response and time..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 14:53:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/SJA1105TEL-TX-Data-Problem/m-p/1812887#M21283</guid>
      <dc:creator>mcagriaksoy</dc:creator>
      <dc:date>2024-02-21T14:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: SJA1105TEL TX Data Problem</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/SJA1105TEL-TX-Data-Problem/m-p/1813897#M21313</link>
      <description>&lt;P&gt;I resolved that problem. It caused by the missing reset in beginning. Before the uploading static config I have called the "Reset Generation Unit (RGU)"&amp;nbsp; RGU register with cold reset mode and my problem is resolved.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mcagriaksoy_0-1708615074686.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/264581i7EEFEE280083CE12/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mcagriaksoy_0-1708615074686.png" alt="mcagriaksoy_0-1708615074686.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 15:18:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/SJA1105TEL-TX-Data-Problem/m-p/1813897#M21313</guid>
      <dc:creator>mcagriaksoy</dc:creator>
      <dc:date>2024-02-22T15:18:01Z</dc:date>
    </item>
  </channel>
</rss>

