<?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 Restarting Ethernet connection on LPC54016 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Restarting-Ethernet-connection-on-LPC54016/m-p/1869761#M56114</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am working on an LPC54016 and I need to turnoff the ethernet connection on low battery and I need to restart it when the power is restored.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have inherited the source code in my organisation and it seems to set up an ethernet connection on power on but if I used the same api's to turn it back on it does not work. I guess this is due to reinitialising the module over again. Could you help me with the process of reinitialising the ethernet connection?&lt;/P&gt;&lt;P&gt;We are using the LPC core libraries of the LPC54016 controller to control PHY chip.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We use the&amp;nbsp;&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;netifapi_netif_add&lt;/STRONG&gt;&lt;/EM&gt;() function to initialise the ethernet which in turn call the &lt;EM&gt;&lt;STRONG&gt;ENET_Init&lt;/STRONG&gt;&lt;/EM&gt;() function. And in order to disable I use the &lt;STRONG&gt;&lt;EM&gt;ENET_Deinit&lt;/EM&gt;&lt;/STRONG&gt;() function to disable the clock when I need to turn it off. After doing this even if I call the same procedure or the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;ethernetif0_init&lt;/STRONG&gt;&lt;/EM&gt;() function it does not help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could you let me know how I can go about restarting the ethernet connection?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-Darpan&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 May 2024 12:31:38 GMT</pubDate>
    <dc:creator>darpan_chamberlain</dc:creator>
    <dc:date>2024-05-21T12:31:38Z</dc:date>
    <item>
      <title>Restarting Ethernet connection on LPC54016</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Restarting-Ethernet-connection-on-LPC54016/m-p/1869761#M56114</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am working on an LPC54016 and I need to turnoff the ethernet connection on low battery and I need to restart it when the power is restored.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have inherited the source code in my organisation and it seems to set up an ethernet connection on power on but if I used the same api's to turn it back on it does not work. I guess this is due to reinitialising the module over again. Could you help me with the process of reinitialising the ethernet connection?&lt;/P&gt;&lt;P&gt;We are using the LPC core libraries of the LPC54016 controller to control PHY chip.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We use the&amp;nbsp;&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;netifapi_netif_add&lt;/STRONG&gt;&lt;/EM&gt;() function to initialise the ethernet which in turn call the &lt;EM&gt;&lt;STRONG&gt;ENET_Init&lt;/STRONG&gt;&lt;/EM&gt;() function. And in order to disable I use the &lt;STRONG&gt;&lt;EM&gt;ENET_Deinit&lt;/EM&gt;&lt;/STRONG&gt;() function to disable the clock when I need to turn it off. After doing this even if I call the same procedure or the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;ethernetif0_init&lt;/STRONG&gt;&lt;/EM&gt;() function it does not help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could you let me know how I can go about restarting the ethernet connection?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-Darpan&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 12:31:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Restarting-Ethernet-connection-on-LPC54016/m-p/1869761#M56114</guid>
      <dc:creator>darpan_chamberlain</dc:creator>
      <dc:date>2024-05-21T12:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Restarting Ethernet connection on LPC54016</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Restarting-Ethernet-connection-on-LPC54016/m-p/1876726#M56162</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/233609"&gt;@darpan_chamberlain&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How about using&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;ENET_Init() to initialize again after restart?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Alice&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2024 03:00:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Restarting-Ethernet-connection-on-LPC54016/m-p/1876726#M56162</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2024-05-29T03:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Restarting Ethernet connection on LPC54016</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Restarting-Ethernet-connection-on-LPC54016/m-p/1880512#M56193</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/27788"&gt;@Alice_Yang&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you for your help. I am currently not working with this task as it is handled by someone else.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you again.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2024 09:48:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Restarting-Ethernet-connection-on-LPC54016/m-p/1880512#M56193</guid>
      <dc:creator>darpan_chamberlain</dc:creator>
      <dc:date>2024-06-04T09:48:01Z</dc:date>
    </item>
  </channel>
</rss>

