<?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: MDC frequency generation issues in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MDC-frequency-generation-issues/m-p/1534529#M21952</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Pls try to use different MII_SPEED value and test the MDC clock frequency until it is 2.5MHz.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Oct 2022 02:05:31 GMT</pubDate>
    <dc:creator>xiangjun_rong</dc:creator>
    <dc:date>2022-10-10T02:05:31Z</dc:date>
    <item>
      <title>MDC frequency generation issues</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MDC-frequency-generation-issues/m-p/1534134#M21922</link>
      <description>&lt;P&gt;In the iMXRT spec, it states that if 50Mhz is used for the reference clock then placing a value of x9 in the MSCR register should provide the 2.5mhz MDC clock to the ethernet phy.&amp;nbsp; Unfortunately, when I do that, I get a higher frequency around 7mhz.&amp;nbsp; I measured the ref_clock and it was at 50mhz.&amp;nbsp; Are there other dividers somewhere which affect this, or do I have some clocking mis-selected.&amp;nbsp; I have to place a value of around 0x40 in the MSCR register to get the proper frequency.&lt;/P&gt;</description>
      <pubDate>Sat, 08 Oct 2022 01:07:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MDC-frequency-generation-issues/m-p/1534134#M21922</guid>
      <dc:creator>jautry</dc:creator>
      <dc:date>2022-10-08T01:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: MDC frequency generation issues</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MDC-frequency-generation-issues/m-p/1534464#M21944</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;As the following pic, you can write the&lt;/P&gt;
&lt;P&gt;ENET-&amp;gt;MSCR&amp;amp;=~(0x3F&amp;lt;&amp;lt;1);&lt;/P&gt;
&lt;P&gt;ENET-&amp;gt;MSCR|=0x09&amp;lt;&amp;lt;1;&lt;/P&gt;
&lt;P&gt;BTW, for your code, in the debugger, pls check the ENET-&amp;gt;MSCR register and check if the MII_SPEED bits is 0x09.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1665307931919.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/196184i3F13E908644357F8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1665307931919.png" alt="xiangjun_rong_0-1665307931919.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Oct 2022 09:37:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MDC-frequency-generation-issues/m-p/1534464#M21944</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2022-10-09T09:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: MDC frequency generation issues</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MDC-frequency-generation-issues/m-p/1534509#M21951</link>
      <description>&lt;P&gt;Ok if I set MSCR register to 0x112, I get .14us clock or about 7mhz.&amp;nbsp; The ref_clk is measured at .02us or 50mhz (measured with a scope).&amp;nbsp; I would expect to get 2.5mhz out.&amp;nbsp; I have to set MSCR to 0x140 in order to get the 2.5mhz.&lt;/P&gt;</description>
      <pubDate>Sun, 09 Oct 2022 23:09:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MDC-frequency-generation-issues/m-p/1534509#M21951</guid>
      <dc:creator>jautry</dc:creator>
      <dc:date>2022-10-09T23:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: MDC frequency generation issues</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MDC-frequency-generation-issues/m-p/1534529#M21952</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Pls try to use different MII_SPEED value and test the MDC clock frequency until it is 2.5MHz.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 02:05:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MDC-frequency-generation-issues/m-p/1534529#M21952</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2022-10-10T02:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: MDC frequency generation issues</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MDC-frequency-generation-issues/m-p/1535059#M21966</link>
      <description>&lt;P&gt;??? That is what I did per my last entry.&amp;nbsp; I had to put a value of 0x140 into the MSCR to get to 2.5mhz.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 18:14:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MDC-frequency-generation-issues/m-p/1535059#M21966</guid>
      <dc:creator>jautry</dc:creator>
      <dc:date>2022-10-10T18:14:25Z</dc:date>
    </item>
  </channel>
</rss>

