<?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: LPC1768 Unable to receive data from RTL8304MBI PHY in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Unable-to-receive-data-from-RTL8304MBI-PHY/m-p/1525950#M50222</link>
    <description>&lt;P&gt;Hi XiangJun,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, the connections you described are how we have the connections.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DaveRK_0-1663771647699.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/194508i904B5E4F60243B49/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DaveRK_0-1663771647699.png" alt="DaveRK_0-1663771647699.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Sep 2022 14:48:30 GMT</pubDate>
    <dc:creator>DaveRK</dc:creator>
    <dc:date>2022-09-21T14:48:30Z</dc:date>
    <item>
      <title>LPC1768 Unable to receive data from RTL8304MBI PHY</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Unable-to-receive-data-from-RTL8304MBI-PHY/m-p/1523138#M50168</link>
      <description>&lt;P&gt;Hello,&amp;nbsp; Hoping to get some advice on establishing a connection on the RMII interface between an LPC1768 and a RTL8304 PHY.&amp;nbsp; The PHY indicates it is sending data but the GMAC is not generating any interrupts.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The PHY has 2 network ports that are operating.&amp;nbsp;&amp;nbsp;I am able to retrieve data from the PHY on the MDIO interface, which indicates the network ports can link up and indicates the MAC is up.&amp;nbsp; The PHY statistics registers also indicate it is receiving data on the ports and transmitting data to the MCU.&lt;/P&gt;&lt;P&gt;I am currently using the following connections, which I was able to get to work on a different MCU and this PHY.&lt;/P&gt;&lt;TABLE width="480"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="261"&gt;&lt;P&gt;&lt;STRONG&gt;NXP LPC1768 &lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="91"&gt;&lt;P&gt;&lt;STRONG&gt;Realtek&amp;nbsp;PHY&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="261"&gt;&lt;P&gt;&lt;STRONG&gt;Pin&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="91"&gt;&lt;P&gt;&lt;STRONG&gt;RTL8304MBI&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;&lt;STRONG&gt;I/O&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="261"&gt;&lt;P&gt;P1_15 / ENET_REF_CLK&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;&lt;STRONG&gt;-&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="91"&gt;&lt;P&gt;REFCLK&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;O&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="261"&gt;&lt;P&gt;P1_8 / ENET_CRS&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;&lt;STRONG&gt;-&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="91"&gt;&lt;P&gt;TXEN&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;O&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="261"&gt;&lt;P&gt;P1_9 / ENET_RXD0&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;&lt;STRONG&gt;-&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="91"&gt;&lt;P&gt;TXD_0&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;O&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="261"&gt;&lt;P&gt;P1_10 / ENET_RXD1&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;&lt;STRONG&gt;-&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="91"&gt;&lt;P&gt;TXD_1&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;O&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="261"&gt;&lt;P&gt;P1_4 / ENET_TX_EN&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;&lt;STRONG&gt;-&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="91"&gt;&lt;P&gt;CRS_DV&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;I&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="261"&gt;&lt;P&gt;P1_0 / ENET_TXD0&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;&lt;STRONG&gt;-&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="91"&gt;&lt;P&gt;RXD_0&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;I&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="261"&gt;&lt;P&gt;P1_1 / ENET_TXD1&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;&lt;STRONG&gt;-&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="91"&gt;&lt;P&gt;RXD_1&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;I&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="261"&gt;&lt;P&gt;P1_16 / ENET_MDC&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;&lt;STRONG&gt;-&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="91"&gt;&lt;P&gt;MDC&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;I&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="261"&gt;&lt;P&gt;P1_17 / ENET_MDIO&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;&lt;STRONG&gt;-&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="91"&gt;&lt;P&gt;MDIO&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;I/O&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried the following connections, but the IAR debugger crashes as soon as the pins are initialized.&amp;nbsp; So I have returned to the above connections.&lt;/P&gt;&lt;TABLE width="480"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="261"&gt;&lt;P&gt;&lt;STRONG&gt;NXP LPC1768 &lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="91"&gt;&lt;P&gt;&lt;STRONG&gt;Realtek&amp;nbsp;PHY&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="261"&gt;&lt;P&gt;&lt;STRONG&gt;Pin&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="91"&gt;&lt;P&gt;&lt;STRONG&gt;RTL8304MBI&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;&lt;STRONG&gt;I/O&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="261"&gt;&lt;P&gt;P1_15 / ENET_REF_CLK&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;&lt;STRONG&gt;-&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="91"&gt;&lt;P&gt;REFCLK&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;O&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="261"&gt;&lt;P&gt;P1_4 / ENET_TX_EN&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;&lt;STRONG&gt;-&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="91"&gt;&lt;P&gt;TXEN&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;O&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="261"&gt;&lt;P&gt;P1_0 / ENET_TXD0&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;&lt;STRONG&gt;-&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="91"&gt;&lt;P&gt;TXD_0&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;O&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="261"&gt;&lt;P&gt;P1_1 / ENET_TXD1&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;&lt;STRONG&gt;-&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="91"&gt;&lt;P&gt;TXD_1&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;O&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="261"&gt;&lt;P&gt;P1_8 / ENET_CRS&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;&lt;STRONG&gt;-&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="91"&gt;&lt;P&gt;CRS_DV&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;I&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="261"&gt;&lt;P&gt;P1_9 / ENET_RXD0&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;&lt;STRONG&gt;-&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="91"&gt;&lt;P&gt;RXD_0&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;I&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="261"&gt;&lt;P&gt;P1_10 / ENET_RXD1&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;&lt;STRONG&gt;-&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="91"&gt;&lt;P&gt;RXD_1&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;I&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="261"&gt;&lt;P&gt;P1_16 / ENET_MDC&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;&lt;STRONG&gt;-&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="91"&gt;&lt;P&gt;MDC&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;I&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="261"&gt;&lt;P&gt;P1_17 / ENET_MDIO&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;&lt;STRONG&gt;-&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="91"&gt;&lt;P&gt;MDIO&lt;/P&gt;&lt;/TD&gt;&lt;TD width="64"&gt;&lt;P&gt;I/O&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have initialized the pins as follows:&lt;/P&gt;&lt;P&gt;PINSEL_ConfigPin_17xx(1, 0, 1); // P1.0 - ENET_TXD0&lt;BR /&gt;PINSEL_ConfigPin_17xx(1, 1, 1); // P1.1 - ENET_TXD1&lt;BR /&gt;PINSEL_ConfigPin_17xx(1, 4, 1); // P1.4 - ENET_TX_EN&lt;BR /&gt;PINSEL_ConfigPin_17xx(1, 8, 1); // P1.8 - ENET_CRS&lt;BR /&gt;PINSEL_ConfigPin_17xx(1, 9, 1); // P1.9 - ENET_RXD0&lt;BR /&gt;PINSEL_ConfigPin_17xx(1, 10, 1); // P1.10 - ENET_RXD1&lt;BR /&gt;PINSEL_ConfigPin_17xx(1, 14, 1); // P1.14 - ENET_RX_ER&lt;BR /&gt;PINSEL_ConfigPin_17xx(1, 15, 1); // P1.15 - ENET_REF_CLK&lt;BR /&gt;&lt;BR /&gt;// NXP LPC1768 MDIO pins&lt;BR /&gt;PINSEL_ConfigPin_17xx(1, 16, 1); // P1.16 - ENET_MDC&lt;BR /&gt;PINSEL_ConfigPin_17xx(1, 17, 1); // P1.17 - ENET_MDIO&lt;/P&gt;&lt;P&gt;Looking at the RMII interface with a scope I found the TX_EN, TXD1 and TXD0 are steady around 2V and the CRS, RXD0, RXD1 lines are at 0V.&amp;nbsp; And the REFCLK is at 50MHz.&lt;/P&gt;&lt;P&gt;For a test I removed the TX_EN, TXD0/1, CRS, RXD0/1 connections and with a scope on the PHY pins I see a repeating pattern about every 10ms which appears to auto negotiation pulses, TX_EN is high during a stream of pulses appearing on TXD0/1.&lt;/P&gt;&lt;P&gt;It appears to me that the PHY is working and attempting to send data to the MCU, but when the MCU is connected the signals are snubbed.&amp;nbsp; So I also tried changing the pins from mode 0 (default,&amp;nbsp;on-chip pull-up resistor enabled) to mode 2 (neither pull-up nor pull-down resistor enabled).&amp;nbsp; But still no luck.&lt;/P&gt;&lt;P&gt;Any thoughts or ideas greatly appreciated.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;9-16-2022 - Additional info added&lt;/P&gt;&lt;P&gt;Below are 2 scope captures on Power Up of the PHY TX_EN signal with the PHY receiving packets on one of its ports and transmitting to the MCU over RMII.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The 1st pic is with the PHY TX_EN&amp;nbsp;Connected to the NXP LPC1768 ENET_CRS, the 2nd one with TX_EN NOT Connected.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PHY TX_EN Connected to NXP1768" style="width: 407px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/193984iA74FE667A4C06218/image-dimensions/407x330?v=v2" width="407" height="330" role="button" title="scope_154.png" alt="PHY TX_EN Connected to NXP1768" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;PHY TX_EN Connected to NXP1768&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When the pin is connected to the MCU there is some very strange behavior then continuous pulses from 0-2.2V.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PHY TX_EN not connected to NXP1768" style="width: 411px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/193986i088A38B5A3CAFD82/image-dimensions/411x333?v=v2" width="411" height="333" role="button" title="scope_156.png" alt="PHY TX_EN not connected to NXP1768" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;PHY TX_EN not connected to NXP1768&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As you can see when not connected the signal contains repeating pulses from 0-3.3V&lt;/P&gt;&lt;P&gt;Any idea what is going on? or why the MCU pin connected is causing the signal to be reduced to 2.2V?&lt;/P&gt;&lt;P&gt;I also tried setting the pin functions to GPIO Inputs (function 0) and tested with all the resistor modes, pull-up / repeater / Neither pull-up nor pull-down / pull-down, but get the same results.&amp;nbsp; Also tested on 4 different boards.&lt;/P&gt;&lt;P&gt;I have other boards with a different MCU working with this PHY, and the same MCU working with other PHY chips using the same connections.&amp;nbsp; With this MCU the PHY indicates it is up and running and scope captures show it is transmitting, but a connected MCU corrupts the signals.&lt;/P&gt;&lt;P&gt;Again, any suggestions greatly appreciated.&amp;nbsp; We are starting to go out of our minds on this.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 19:32:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Unable-to-receive-data-from-RTL8304MBI-PHY/m-p/1523138#M50168</guid>
      <dc:creator>DaveRK</dc:creator>
      <dc:date>2022-09-16T19:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1768 Unable to receive data from RTL8304MBI PHY</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Unable-to-receive-data-from-RTL8304MBI-PHY/m-p/1524665#M50199</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I think the following connection of Ethernet interface is correct.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1663644582845.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/194209i82285C9A7AB53867/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1663644582845.png" alt="xiangjun_rong_0-1663644582845.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The following the ethernet signal timing I copied from data sheet of LPC546xx.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1663649708477.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/194220iB6A1BFAE0C932E43/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1663649708477.png" alt="xiangjun_rong_0-1663649708477.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The ENET_TX_EN is an output signal from the LPC17xx, regarding the 2.2V voltage, what is the&amp;nbsp;VDD(3V3) power supply voltage? the&amp;nbsp;VDD(3V3) voltage is the&amp;nbsp;power supply voltage for the I/O&lt;BR /&gt;ports.&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;</description>
      <pubDate>Tue, 20 Sep 2022 05:02:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Unable-to-receive-data-from-RTL8304MBI-PHY/m-p/1524665#M50199</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2022-09-20T05:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1768 Unable to receive data from RTL8304MBI PHY</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Unable-to-receive-data-from-RTL8304MBI-PHY/m-p/1524667#M50200</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I attach the schematics of LPCXpressoLPC1769 EVK board, pls refer to page three for the Ethernet PHY connection.&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;</description>
      <pubDate>Tue, 20 Sep 2022 05:09:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Unable-to-receive-data-from-RTL8304MBI-PHY/m-p/1524667#M50200</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2022-09-20T05:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1768 Unable to receive data from RTL8304MBI PHY</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Unable-to-receive-data-from-RTL8304MBI-PHY/m-p/1525238#M50207</link>
      <description>&lt;P&gt;Thanks for getting back to me&amp;nbsp;&lt;SPAN&gt;XiangJun Rong.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;VDD is 3V3.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I understand the connections for the&amp;nbsp;LPCXpressoLPC1769&amp;nbsp;are TX to TX and RX to RX, however, this connection is to the Microchip LAN8720, which specifies the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;TX pins as inputs and the &lt;/SPAN&gt;&lt;SPAN&gt;RX pins as outputs.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The chip we are using, the Realtek RTL8304 specifies TX pins as outputs and RX pins as inputs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Previously, f&lt;/SPAN&gt;or a test I connected the TX pins to TX (Outputs to Outputs) and RX to RX (Inputs to Inputs), but the MCU would stop operating in the IAR debugger exactly when the pins were configured as RMII pins.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Additionally, we were able to get the RTL8304 working on a different manufacturers MCU with&amp;nbsp; RTL8304 TX output connected to MCU RX input and RTL8304 RX input connected to MCU TX output.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But, we would like to get it working on the NXP LPC1768.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Unless the NXP LPC1768 RMII pins autodetect inputs/outputs?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there something than can explain the scope traces above?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 19:02:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Unable-to-receive-data-from-RTL8304MBI-PHY/m-p/1525238#M50207</guid>
      <dc:creator>DaveRK</dc:creator>
      <dc:date>2022-09-20T19:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1768 Unable to receive data from RTL8304MBI PHY</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Unable-to-receive-data-from-RTL8304MBI-PHY/m-p/1525540#M50210</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Based on the pic I copied from RTL4304, I think you should connect as following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1663738271999.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/194431i2E363EFA5F57D38C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1663738271999.png" alt="xiangjun_rong_0-1663738271999.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;LPC1768&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RTL8304MBI PHY&lt;/P&gt;
&lt;P&gt;P1.0-RMII_TXD0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RXD0&amp;nbsp;&amp;nbsp;&amp;nbsp; pin 22&lt;/P&gt;
&lt;P&gt;P1.1-RMII_TXD1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RXD1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pin23&lt;/P&gt;
&lt;P&gt;P1.4-RMII_TXEN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CRS_DV&amp;nbsp;&amp;nbsp; pin21&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;P1.9-RMII_RXD0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TXD0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pin 16&lt;BR /&gt;P1.10-RMII_RXD1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TXD1&amp;nbsp;&amp;nbsp;&amp;nbsp; pin15&lt;BR /&gt;P1.8-RMII_CRS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TXEN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pin17&lt;/P&gt;
&lt;P&gt;P1.15-RMII_CLK&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; REFCLK&amp;nbsp;&amp;nbsp; 20&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;P1.16-RMII_MCD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SCL/MDC&amp;nbsp; pin27&lt;BR /&gt;P1.17-RMII_MDIO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SDA/MDIO&amp;nbsp;&amp;nbsp; pin28&lt;/P&gt;
&lt;P&gt;Pls have a check.&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>Wed, 21 Sep 2022 05:58:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Unable-to-receive-data-from-RTL8304MBI-PHY/m-p/1525540#M50210</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2022-09-21T05:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1768 Unable to receive data from RTL8304MBI PHY</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Unable-to-receive-data-from-RTL8304MBI-PHY/m-p/1525950#M50222</link>
      <description>&lt;P&gt;Hi XiangJun,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, the connections you described are how we have the connections.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DaveRK_0-1663771647699.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/194508i904B5E4F60243B49/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DaveRK_0-1663771647699.png" alt="DaveRK_0-1663771647699.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 14:48:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Unable-to-receive-data-from-RTL8304MBI-PHY/m-p/1525950#M50222</guid>
      <dc:creator>DaveRK</dc:creator>
      <dc:date>2022-09-21T14:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1768 Unable to receive data from RTL8304MBI PHY</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Unable-to-receive-data-from-RTL8304MBI-PHY/m-p/1526236#M50225</link>
      <description>&lt;P&gt;Hello XiangJun,&lt;/P&gt;&lt;P&gt;We do have the connections as you suggested.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DaveRK_0-1663802499882.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/194544iD78BB853B8560FB9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DaveRK_0-1663802499882.png" alt="DaveRK_0-1663802499882.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;We verified the RTL8304 is sending data to the NXP LPC1768 MCU, but the MCU is not generating RX interrupts.&lt;/P&gt;&lt;P&gt;The Firmware is configured to send ARP packets at a rate of 1/s.&amp;nbsp; We do see 7us pulses on the MCU TX_EN pin at a rate of 1/s, but there is no activity on the ENET_TXD[1:0] pins.&amp;nbsp; EMAC TX interrupts do take place.&lt;/P&gt;&lt;P&gt;Is there anything I can look at to get more info?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 23:27:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Unable-to-receive-data-from-RTL8304MBI-PHY/m-p/1526236#M50225</guid>
      <dc:creator>DaveRK</dc:creator>
      <dc:date>2022-09-21T23:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1768 Unable to receive data from RTL8304MBI PHY</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Unable-to-receive-data-from-RTL8304MBI-PHY/m-p/1527400#M50254</link>
      <description>&lt;P&gt;We finally got it working.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using the pin connections we started with: (Outputs -&amp;gt; Inputs)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DaveRK_0-1663938619661.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/194777i576515EDB9543830/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DaveRK_0-1663938619661.png" alt="DaveRK_0-1663938619661.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;If anyone has dealt with Realtek then you know how secretive they are about their documentation.&amp;nbsp; They will not release documentation or the phy register set. We finally got the spec after signing NDA's.&amp;nbsp; But no register information.&lt;/P&gt;&lt;P&gt;Then when you finally get the spec after numerous requests you find it is so vague that you have tons of questions.&amp;nbsp; So you start the question process.&amp;nbsp; Ask 1 question and you will not get a response.&amp;nbsp; Ask 10 questions and you will get a single question in return.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The question from them was usually "what are the contents of register 'x'?"&lt;/P&gt;&lt;P&gt;So, after months of this I get "The contents of that register should be 'y', clear bit 14".&lt;/P&gt;&lt;P&gt;After clearing bit 14 of this register the phy now works.&lt;/P&gt;&lt;P&gt;I asked them what is the function of this bit and why does it need to be cleared.&amp;nbsp; We did not have to do this when using the phy with a different MCU.&lt;/P&gt;&lt;P&gt;I get in response "The reason should be some RMII pins share with some LED pins"&lt;/P&gt;&lt;P&gt;Sorry for the rant.&amp;nbsp; Just wanted to warn anyone who has the privilege to work with Realtek, and to let everyone know that has worked with them that I surely felt your pain.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Sep 2022 13:32:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Unable-to-receive-data-from-RTL8304MBI-PHY/m-p/1527400#M50254</guid>
      <dc:creator>DaveRK</dc:creator>
      <dc:date>2022-09-23T13:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1768 Unable to receive data from RTL8304MBI PHY</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Unable-to-receive-data-from-RTL8304MBI-PHY/m-p/2075688#M58022</link>
      <description>I have the same problem, which register is cleared bit 14?</description>
      <pubDate>Tue, 08 Apr 2025 03:37:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Unable-to-receive-data-from-RTL8304MBI-PHY/m-p/2075688#M58022</guid>
      <dc:creator>goddOnly</dc:creator>
      <dc:date>2025-04-08T03:37:36Z</dc:date>
    </item>
  </channel>
</rss>

