<?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>LPC Microcontrollers中的主题 Re: LPC1778 MAC Address</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1778-MAC-Address/m-p/619167#M24222</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="213424" data-username="jeremyzhou" href="https://community.nxp.com/people/jeremyzhou" style="color: #5e89c1; background-color: #ffffff; border: 0px; font-weight: 200; font-size: 1.286rem;"&gt;jeremyzhou&lt;/A&gt;&lt;SPAN style="color: #5e89c1; background-color: #ffffff; font-weight: 500;"&gt; &lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="&amp;amp;#1057;&amp;amp;#1086;&amp;amp;#1090;&amp;amp;#1088;&amp;amp;#1091;&amp;amp;#1076;&amp;amp;#1085;&amp;amp;#1080;&amp;amp;#1082;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122834i6D01CA3555CEB087/image-size/large?v=v2&amp;amp;px=999" role="button" title="&amp;amp;#1057;&amp;amp;#1086;&amp;amp;#1090;&amp;amp;#1088;&amp;amp;#1091;&amp;amp;#1076;&amp;amp;#1085;&amp;amp;#1080;&amp;amp;#1082;" alt="&amp;amp;#1057;&amp;amp;#1086;&amp;amp;#1090;&amp;amp;#1088;&amp;amp;#1091;&amp;amp;#1076;&amp;amp;#1085;&amp;amp;#1080;&amp;amp;#1082;" /&gt;&lt;/span&gt;,&lt;/P&gt;&lt;P&gt;sorry for the long answer, I had problems with loging in my account.&lt;/P&gt;&lt;P&gt;So, I use TNKernel RTOS in my project.&lt;/P&gt;&lt;P&gt;I do not think that the sharing the whole project is a good idea, but I guess that the sharing of the ENET-driver part is quite enough.&lt;/P&gt;&lt;P&gt;It is quite complicated to check the problem on real device, because it is needed to have PCB with specified hardware, e.g. LAN8720 PHY level.&lt;/P&gt;&lt;P&gt;You can download the TNNet sources here:&amp;nbsp;&lt;A class="link-titled" href="http://www.tnkernel.com/tn_net_1.html" title="http://www.tnkernel.com/tn_net_1.html"&gt;TNKernel real-time system&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a part of the my project responsible for processing and functionality of ENET (Ethernet).&lt;/P&gt;&lt;P&gt;Please, follow 'tn_net\cpu_lpc23xx' directory inside the ZIP-archive (tn-net-0-9-src.zip, accessible by the link above).&lt;/P&gt;&lt;P&gt;And open 'lpc23xx_mac.c' source file.&lt;/P&gt;&lt;P&gt;The ENET of&amp;nbsp;&lt;SPAN&gt;lpc23xx and lpc17xx works similary, there for this sources works fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Please, refer to 'int init_mac(TN_NETINFO * tneti)' function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, you can refer to 'lpc23xx_net.c' to find out how the MAC-address is loaded to ni-&amp;gt;hw_addr&lt;/P&gt;&lt;P&gt;In example, MAC-address is 10:0C:CC:22:33:44.&lt;/P&gt;&lt;P&gt;So, Ethernet frame addressed to the device begins with the following bytes:&lt;/P&gt;&lt;P&gt;0000: [10 0C CC 22 33 44 ] [ Source MAC address ] [ Ethernet frame type ]&lt;/P&gt;&lt;P&gt;Octet 1 - 0x10, octet 2 - 0x0C, and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following code is responsible for loading the Station Addres into hardware:&lt;/P&gt;&lt;P&gt;rMAC_SA0 = (ni-&amp;gt;hw_addr[0] &amp;lt;&amp;lt; 8) | ni-&amp;gt;hw_addr[1];&lt;BR /&gt; rMAC_SA1 = (ni-&amp;gt;hw_addr[2] &amp;lt;&amp;lt; 8) | ni-&amp;gt;hw_addr[3];&lt;BR /&gt; rMAC_SA2 = (ni-&amp;gt;hw_addr[4] &amp;lt;&amp;lt; 8) | ni-&amp;gt;hw_addr[5];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code is corresponds to the current actual User Manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My testing steps was:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 1.&lt;/P&gt;&lt;P&gt;1) SA2..SA0 is loaded in accordance with the documentation (rev 4.0);&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;rMAC_SA0 = (ni-&amp;gt;hw_addr[0] &amp;lt;&amp;lt; 8) | ni-&amp;gt;hw_addr[1];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rMAC_SA1 = (ni-&amp;gt;hw_addr[2] &amp;lt;&amp;lt; 8) | ni-&amp;gt;hw_addr[3];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rMAC_SA2 = (ni-&amp;gt;hw_addr[4] &amp;lt;&amp;lt; 8) | ni-&amp;gt;hw_addr[5];&lt;/SPAN&gt;&lt;BR /&gt;2) Bit AUE is set;&lt;BR /&gt;rMAC_RXFILTERCTRL = 1 | //-- Bit 0 AcceptUnicastEn&lt;BR /&gt;&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; (1&amp;lt;&amp;lt;1)| //-- Bit 1 AcceptBroadcastEn&lt;BR /&gt;&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; (1&amp;lt;&amp;lt;2)| //-- Bit 2 AcceptMulticastEn dif&lt;BR /&gt;&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; (1&amp;lt;&amp;lt;5); //-- Bit 5 AcceptPerfectEn&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Device works, it receives a unicast frames addressed to my MAC-address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 2.&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;1) SA2..SA0 is loaded in accordance with the documentation (rev 4.0);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;rMAC_SA0 = (ni-&amp;gt;hw_addr[0] &amp;lt;&amp;lt; 8) | ni-&amp;gt;hw_addr[1];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rMAC_SA1 = (ni-&amp;gt;hw_addr[2] &amp;lt;&amp;lt; 8) | ni-&amp;gt;hw_addr[3];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rMAC_SA2 = (ni-&amp;gt;hw_addr[4] &amp;lt;&amp;lt; 8) | ni-&amp;gt;hw_addr[5];&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;2) Bit AUE is cleared;&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #3d3d3d;"&gt;rMAC_RXFILTERCTRL = 0&amp;nbsp;| //-- Bit 0 AcceptUnicastEn&lt;/SPAN&gt;&lt;BR style="color: #3d3d3d;" /&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&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; (1&amp;lt;&amp;lt;1)| //-- Bit 1 AcceptBroadcastEn&lt;/SPAN&gt;&lt;BR style="color: #3d3d3d;" /&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&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; (1&amp;lt;&amp;lt;2)| //-- Bit 2 AcceptMulticastEn dif&lt;/SPAN&gt;&lt;BR style="color: #3d3d3d;" /&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&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; (1&amp;lt;&amp;lt;5); //-- Bit 5 AcceptPerfectEn&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Device does not work. No packets received.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 3.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;1) SA2..SA0 is loaded in accordance with the documentation (rev 2.1), reverse order;&lt;BR /&gt;&lt;SPAN style="color: #3d3d3d;"&gt;rMAC_SA0 = (ni-&amp;gt;hw_addr[5] &amp;lt;&amp;lt; 8) | ni-&amp;gt;hw_addr[4];&lt;/SPAN&gt;&lt;BR style="color: #3d3d3d;" /&gt;&lt;SPAN style="color: #3d3d3d;"&gt;rMAC_SA1 = (ni-&amp;gt;hw_addr[3] &amp;lt;&amp;lt; 8) | ni-&amp;gt;hw_addr[2];&lt;/SPAN&gt;&lt;BR style="color: #3d3d3d;" /&gt;&lt;SPAN style="color: #3d3d3d;"&gt;rMAC_SA2 = (ni-&amp;gt;hw_addr[1] &amp;lt;&amp;lt; 8) | ni-&amp;gt;hw_addr[0];&lt;/SPAN&gt;&lt;BR /&gt;2) Bit AUE is cleared;&lt;BR /&gt;&lt;SPAN style="color: #3d3d3d;"&gt;rMAC_RXFILTERCTRL = 0&amp;nbsp;| //-- Bit 0 AcceptUnicastEn&lt;/SPAN&gt;&lt;BR style="color: #3d3d3d;" /&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&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; (1&amp;lt;&amp;lt;1)| //-- Bit 1 AcceptBroadcastEn&lt;/SPAN&gt;&lt;BR style="color: #3d3d3d;" /&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&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; (1&amp;lt;&amp;lt;2)| //-- Bit 2 AcceptMulticastEn dif&lt;/SPAN&gt;&lt;BR style="color: #3d3d3d;" /&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&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; (1&amp;lt;&amp;lt;5); //-- Bit 5 AcceptPerfectEn&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Device works&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;, it receives a unicast frames addressed to&amp;nbsp;my MAC-address.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Step 4.&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;1) SA2..SA0 is loaded in accordance with the documentation (rev 2.1), reverse order;&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="color: #3d3d3d;"&gt;rMAC_SA0 = (ni-&amp;gt;hw_addr[5] &amp;lt;&amp;lt; 8) | ni-&amp;gt;hw_addr[4];&lt;/SPAN&gt;&lt;BR style="color: #3d3d3d;" /&gt;&lt;SPAN style="color: #3d3d3d;"&gt;rMAC_SA1 = (ni-&amp;gt;hw_addr[3] &amp;lt;&amp;lt; 8) | ni-&amp;gt;hw_addr[2];&lt;/SPAN&gt;&lt;BR style="color: #3d3d3d;" /&gt;&lt;SPAN style="color: #3d3d3d;"&gt;rMAC_SA2 = (ni-&amp;gt;hw_addr[1] &amp;lt;&amp;lt; 8) | ni-&amp;gt;hw_addr[0];&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;2) Bit AUE is set;&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="color: #3d3d3d;"&gt;rMAC_RXFILTERCTRL = 1&amp;nbsp;| //-- Bit 0 AcceptUnicastEn&lt;/SPAN&gt;&lt;BR style="color: #3d3d3d;" /&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&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; (1&amp;lt;&amp;lt;1)| //-- Bit 1 AcceptBroadcastEn&lt;/SPAN&gt;&lt;BR style="color: #3d3d3d;" /&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&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; (1&amp;lt;&amp;lt;2)| //-- Bit 2 AcceptMulticastEn dif&lt;/SPAN&gt;&lt;BR style="color: #3d3d3d;" /&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&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; (1&amp;lt;&amp;lt;5); //-- Bit 5 AcceptPerfectEn&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Device works&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;, it receives a unicast frames addressed to &lt;SPAN&gt;my MAC-address.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;&lt;SPAN&gt;If you need the other proofs, I will try to create testing project and upload it, but I think the provided data is enough.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;In general, the device does not receive Unicast frames address to it's MAC-address if the AUE bit is cleared.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;But if the order of octet is reversed, the device works properly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Feb 2017 07:13:47 GMT</pubDate>
    <dc:creator>alexanders</dc:creator>
    <dc:date>2017-02-16T07:13:47Z</dc:date>
    <item>
      <title>LPC1778 MAC Address</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1778-MAC-Address/m-p/619165#M24220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello! I use LPC1778 Ethernet and noticed a bit strange behaviour.&lt;BR /&gt;Excuse me please for the long introduction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;During initialisation the ENET the Station Address registers SA0..SA2 must be loaded with the Ethernet MAC-address.&lt;BR /&gt;As User Manual UM10470 tells, the station address must be loaded into registers corresponding way, shown on the figure 22 in user manual. In particular, chapter 10, "10.10.1.15 Station Address 0 Register", references to figure 22: "For the ordering of the octets in the packet please refer to Figure 22." (C). Therefore, it is obviously from context that the numbers (octet1, octet2, etc.) of SA0..SA2 octets is the same as at Figure 22.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have noticed that the order of bytes on Firgure 22 was changed since 2013 year (rev 2.1), and in current version (rev 4.0 from December 2016) it changed to reverse order. This fact is described on document revision history.&lt;/P&gt;&lt;P&gt;So, I load MAC address in accordance with the documentation (rev 4.0).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Besides the MAC-address, the Receive Filter register RXFILTERCTRL must be configured during the initialisation procedures. In accordance with the documentation, Bit 0 AUE, AcceptUnicastEn, is responsible for receiving all unicast frames, including the frames addressed to this local station. Bit 5 APE, AcceptPerfectEn, is responsible for receiving an unicast frames addressed to this local station only, by matching the hardware address (SA2..SA0) and destination address inside Ethernet-frame.&lt;/P&gt;&lt;P&gt;So, I do not set bit 0, but set bit 5, due to I need receive the unicast frames addressed to my device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And... it does not work! I do not receive any frames.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I found out that setting the bit 0 (AUE) allows device to work, but the device have to process all unicast frames, that reduces the performance, so I'm not able to use such work-around method. Frankly saying, it is logically wrong way.&lt;/P&gt;&lt;P&gt;I had began to searching an answer and I found out that the changing the octets order during loading the registers SA2..SA0 to reverse order fixes my problem!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If I load the registers SA2..SA0 accordance with the documentation (rev 2.1) with reverse octet order, the device works without setting AUE bit, that indicates, in my opinion, the first variant of octet order was right.&lt;/P&gt;&lt;P&gt;In summary, I suspect that the current revision of User Manual (4.0) contatins an error, that was be made by changing the correct octets order in Figure 22 to the reverse wrong order. This fact is confirmed by my tests, represented below.&lt;BR /&gt;Or even if to leave the octets order on Figure 22 as is, it is required to not reference to Figure 22, because the octets order in Ethernet-frame (Figure 22) and octets order in SA2..SA0 does not match.&lt;/P&gt;&lt;P&gt;-------&lt;/P&gt;&lt;P&gt;Let's show more specifics: e.g. my MAC-address is 00-AA-BB-CC-DD-EE. So, octet 1 is 00, octet 2 is AA, and etc. &lt;BR /&gt;In Ethernet-frame the octets follows the same way, see ICMP packet as an example below.&lt;/P&gt;&lt;P&gt;Ethernet frame:&lt;BR /&gt;| 0000 | 00 AA BB CC DD EE 1c af f7 6b 97 6e 08 00 45 00&lt;BR /&gt;| 0010 | 00 3c 25 6c 00 00 80 01 94 01 c0 a8 00 01 c0 a8&lt;BR /&gt;| 0020 | 00 02 08 00 32 74 00 01 1a e7 61 62 63 64 65 66&lt;BR /&gt;| 0030 | 67 68 69 6a 6b 6c 6d 6e 6f 70 71 72 73 74 75 76&lt;BR /&gt;| 0040 | 77 61 62 63 64 65 66 67 68 69&lt;/P&gt;&lt;P&gt;Ok, during tests I clear bits ABE (AcceptBroadcastEn) and AME (AcceptMulticastEn) in RXFILTERCTRL register to disable receiving any broadcast and multicast packets.&lt;BR /&gt;I tested the device by sending ICMP packets by PING and sending RAW Ethernet frames by special software (ethPack).&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Test 1:&lt;BR /&gt;1) SA2..SA0 is loaded in accordance with the documentation (rev 4.0);&lt;BR /&gt; SA0 = 0x000000AA&lt;BR /&gt; SA1 = 0x0000BBCC&lt;BR /&gt; SA2 = 0x0000DDEE&lt;BR /&gt;2) Bit AUE is set;&lt;BR /&gt; RXFILTERCTRL = 0x00000021 (AUE | APE)&lt;/P&gt;&lt;P&gt;Device works, it receives a unicast frames addressed to 00-AA-BB-CC-DD-EE.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Test 2:&lt;BR /&gt;1) SA2..SA0 is loaded in accordance with the documentation (rev 4.0);&lt;BR /&gt; SA0 = 0x000000AA&lt;BR /&gt; SA1 = 0x0000BBCC&lt;BR /&gt; SA2 = 0x0000DDEE&lt;BR /&gt;2) Bit AUE is cleared;&lt;BR /&gt; RXFILTERCTRL = 0x00000020 (APE)&lt;BR /&gt; &lt;BR /&gt; Device does not work. No packets received.&lt;BR /&gt; Using special software ethPack I generated user-defined frame with the destination MAC-address EE-DD-CC-BB-AA-00 and sent it.&lt;BR /&gt; And device received it!&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Test 3:&lt;BR /&gt;1) SA2..SA0 is loaded in accordance with the documentation (rev 2.1), reverse order;&lt;BR /&gt; SA0 = 0x0000EEDD&lt;BR /&gt; SA1 = 0x0000CCBB&lt;BR /&gt; SA2 = 0x0000AA00&lt;BR /&gt;2) Bit AUE is cleared;&lt;BR /&gt; RXFILTERCTRL = 0x00000020 (APE)&lt;/P&gt;&lt;P&gt;Device works&lt;SPAN&gt;, it receives a unicast frames addressed to 00-AA-BB-CC-DD-EE.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Test 4:&lt;BR /&gt;1) SA2..SA0 is loaded in accordance with the documentation (rev 2.1), reverse order;&lt;BR /&gt; SA0 = 0x0000EEDD&lt;BR /&gt; SA1 = 0x0000CCBB&lt;BR /&gt; SA2 = 0x0000AA00&lt;BR /&gt;2) Bit AUE is set;&lt;BR /&gt; RXFILTERCTRL = 0x00000020 (APE)&lt;BR /&gt; &lt;BR /&gt; Device works&lt;SPAN&gt;, it receives a unicast frames addressed to 00-AA-BB-CC-DD-EE.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;So, As you can see, the order of octets shown in the actual user manual does not correspond to the real octets order in the hardware, or it is required to note the fact of the order reversing in description of SA2...SA0 registers.&lt;BR /&gt; &lt;BR /&gt; Please, anyone, give me a piece of advice, whether I'm right or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Feb 2017 10:58:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1778-MAC-Address/m-p/619165#M24220</guid>
      <dc:creator>alexanders</dc:creator>
      <dc:date>2017-02-09T10:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1778 MAC Address</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1778-MAC-Address/m-p/619166#M24221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" class="" data-content-finding="Community" data-userid="294295" data-username="alexanders" href="https://community.nxp.com/people/alexanders"&gt;Alexander&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products to serve you.&lt;/P&gt;&lt;P&gt;After have a look through the description above, I really appreciate your reporting very much.&lt;/P&gt;&lt;P&gt;Next, I was wondering if you can share the testing demo and introduce the testing steps to replicate the issue in details.&lt;/P&gt;&lt;P&gt;And I'll contact with the AE team for checking if I confirm the issue.&lt;/P&gt;&lt;P&gt;I'm looking forward to your reply.&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ping&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 03:14:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1778-MAC-Address/m-p/619166#M24221</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2017-02-15T03:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1778 MAC Address</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1778-MAC-Address/m-p/619167#M24222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="213424" data-username="jeremyzhou" href="https://community.nxp.com/people/jeremyzhou" style="color: #5e89c1; background-color: #ffffff; border: 0px; font-weight: 200; font-size: 1.286rem;"&gt;jeremyzhou&lt;/A&gt;&lt;SPAN style="color: #5e89c1; background-color: #ffffff; font-weight: 500;"&gt; &lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="&amp;amp;#1057;&amp;amp;#1086;&amp;amp;#1090;&amp;amp;#1088;&amp;amp;#1091;&amp;amp;#1076;&amp;amp;#1085;&amp;amp;#1080;&amp;amp;#1082;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122834i6D01CA3555CEB087/image-size/large?v=v2&amp;amp;px=999" role="button" title="&amp;amp;#1057;&amp;amp;#1086;&amp;amp;#1090;&amp;amp;#1088;&amp;amp;#1091;&amp;amp;#1076;&amp;amp;#1085;&amp;amp;#1080;&amp;amp;#1082;" alt="&amp;amp;#1057;&amp;amp;#1086;&amp;amp;#1090;&amp;amp;#1088;&amp;amp;#1091;&amp;amp;#1076;&amp;amp;#1085;&amp;amp;#1080;&amp;amp;#1082;" /&gt;&lt;/span&gt;,&lt;/P&gt;&lt;P&gt;sorry for the long answer, I had problems with loging in my account.&lt;/P&gt;&lt;P&gt;So, I use TNKernel RTOS in my project.&lt;/P&gt;&lt;P&gt;I do not think that the sharing the whole project is a good idea, but I guess that the sharing of the ENET-driver part is quite enough.&lt;/P&gt;&lt;P&gt;It is quite complicated to check the problem on real device, because it is needed to have PCB with specified hardware, e.g. LAN8720 PHY level.&lt;/P&gt;&lt;P&gt;You can download the TNNet sources here:&amp;nbsp;&lt;A class="link-titled" href="http://www.tnkernel.com/tn_net_1.html" title="http://www.tnkernel.com/tn_net_1.html"&gt;TNKernel real-time system&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a part of the my project responsible for processing and functionality of ENET (Ethernet).&lt;/P&gt;&lt;P&gt;Please, follow 'tn_net\cpu_lpc23xx' directory inside the ZIP-archive (tn-net-0-9-src.zip, accessible by the link above).&lt;/P&gt;&lt;P&gt;And open 'lpc23xx_mac.c' source file.&lt;/P&gt;&lt;P&gt;The ENET of&amp;nbsp;&lt;SPAN&gt;lpc23xx and lpc17xx works similary, there for this sources works fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Please, refer to 'int init_mac(TN_NETINFO * tneti)' function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, you can refer to 'lpc23xx_net.c' to find out how the MAC-address is loaded to ni-&amp;gt;hw_addr&lt;/P&gt;&lt;P&gt;In example, MAC-address is 10:0C:CC:22:33:44.&lt;/P&gt;&lt;P&gt;So, Ethernet frame addressed to the device begins with the following bytes:&lt;/P&gt;&lt;P&gt;0000: [10 0C CC 22 33 44 ] [ Source MAC address ] [ Ethernet frame type ]&lt;/P&gt;&lt;P&gt;Octet 1 - 0x10, octet 2 - 0x0C, and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following code is responsible for loading the Station Addres into hardware:&lt;/P&gt;&lt;P&gt;rMAC_SA0 = (ni-&amp;gt;hw_addr[0] &amp;lt;&amp;lt; 8) | ni-&amp;gt;hw_addr[1];&lt;BR /&gt; rMAC_SA1 = (ni-&amp;gt;hw_addr[2] &amp;lt;&amp;lt; 8) | ni-&amp;gt;hw_addr[3];&lt;BR /&gt; rMAC_SA2 = (ni-&amp;gt;hw_addr[4] &amp;lt;&amp;lt; 8) | ni-&amp;gt;hw_addr[5];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code is corresponds to the current actual User Manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My testing steps was:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 1.&lt;/P&gt;&lt;P&gt;1) SA2..SA0 is loaded in accordance with the documentation (rev 4.0);&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;rMAC_SA0 = (ni-&amp;gt;hw_addr[0] &amp;lt;&amp;lt; 8) | ni-&amp;gt;hw_addr[1];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rMAC_SA1 = (ni-&amp;gt;hw_addr[2] &amp;lt;&amp;lt; 8) | ni-&amp;gt;hw_addr[3];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rMAC_SA2 = (ni-&amp;gt;hw_addr[4] &amp;lt;&amp;lt; 8) | ni-&amp;gt;hw_addr[5];&lt;/SPAN&gt;&lt;BR /&gt;2) Bit AUE is set;&lt;BR /&gt;rMAC_RXFILTERCTRL = 1 | //-- Bit 0 AcceptUnicastEn&lt;BR /&gt;&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; (1&amp;lt;&amp;lt;1)| //-- Bit 1 AcceptBroadcastEn&lt;BR /&gt;&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; (1&amp;lt;&amp;lt;2)| //-- Bit 2 AcceptMulticastEn dif&lt;BR /&gt;&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; (1&amp;lt;&amp;lt;5); //-- Bit 5 AcceptPerfectEn&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Device works, it receives a unicast frames addressed to my MAC-address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 2.&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;1) SA2..SA0 is loaded in accordance with the documentation (rev 4.0);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;rMAC_SA0 = (ni-&amp;gt;hw_addr[0] &amp;lt;&amp;lt; 8) | ni-&amp;gt;hw_addr[1];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rMAC_SA1 = (ni-&amp;gt;hw_addr[2] &amp;lt;&amp;lt; 8) | ni-&amp;gt;hw_addr[3];&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;rMAC_SA2 = (ni-&amp;gt;hw_addr[4] &amp;lt;&amp;lt; 8) | ni-&amp;gt;hw_addr[5];&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;2) Bit AUE is cleared;&lt;/SPAN&gt;&lt;BR style="color: #51626f; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #3d3d3d;"&gt;rMAC_RXFILTERCTRL = 0&amp;nbsp;| //-- Bit 0 AcceptUnicastEn&lt;/SPAN&gt;&lt;BR style="color: #3d3d3d;" /&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&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; (1&amp;lt;&amp;lt;1)| //-- Bit 1 AcceptBroadcastEn&lt;/SPAN&gt;&lt;BR style="color: #3d3d3d;" /&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&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; (1&amp;lt;&amp;lt;2)| //-- Bit 2 AcceptMulticastEn dif&lt;/SPAN&gt;&lt;BR style="color: #3d3d3d;" /&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&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; (1&amp;lt;&amp;lt;5); //-- Bit 5 AcceptPerfectEn&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Device does not work. No packets received.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 3.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;1) SA2..SA0 is loaded in accordance with the documentation (rev 2.1), reverse order;&lt;BR /&gt;&lt;SPAN style="color: #3d3d3d;"&gt;rMAC_SA0 = (ni-&amp;gt;hw_addr[5] &amp;lt;&amp;lt; 8) | ni-&amp;gt;hw_addr[4];&lt;/SPAN&gt;&lt;BR style="color: #3d3d3d;" /&gt;&lt;SPAN style="color: #3d3d3d;"&gt;rMAC_SA1 = (ni-&amp;gt;hw_addr[3] &amp;lt;&amp;lt; 8) | ni-&amp;gt;hw_addr[2];&lt;/SPAN&gt;&lt;BR style="color: #3d3d3d;" /&gt;&lt;SPAN style="color: #3d3d3d;"&gt;rMAC_SA2 = (ni-&amp;gt;hw_addr[1] &amp;lt;&amp;lt; 8) | ni-&amp;gt;hw_addr[0];&lt;/SPAN&gt;&lt;BR /&gt;2) Bit AUE is cleared;&lt;BR /&gt;&lt;SPAN style="color: #3d3d3d;"&gt;rMAC_RXFILTERCTRL = 0&amp;nbsp;| //-- Bit 0 AcceptUnicastEn&lt;/SPAN&gt;&lt;BR style="color: #3d3d3d;" /&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&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; (1&amp;lt;&amp;lt;1)| //-- Bit 1 AcceptBroadcastEn&lt;/SPAN&gt;&lt;BR style="color: #3d3d3d;" /&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&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; (1&amp;lt;&amp;lt;2)| //-- Bit 2 AcceptMulticastEn dif&lt;/SPAN&gt;&lt;BR style="color: #3d3d3d;" /&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&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; (1&amp;lt;&amp;lt;5); //-- Bit 5 AcceptPerfectEn&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Device works&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;, it receives a unicast frames addressed to&amp;nbsp;my MAC-address.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Step 4.&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;1) SA2..SA0 is loaded in accordance with the documentation (rev 2.1), reverse order;&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="color: #3d3d3d;"&gt;rMAC_SA0 = (ni-&amp;gt;hw_addr[5] &amp;lt;&amp;lt; 8) | ni-&amp;gt;hw_addr[4];&lt;/SPAN&gt;&lt;BR style="color: #3d3d3d;" /&gt;&lt;SPAN style="color: #3d3d3d;"&gt;rMAC_SA1 = (ni-&amp;gt;hw_addr[3] &amp;lt;&amp;lt; 8) | ni-&amp;gt;hw_addr[2];&lt;/SPAN&gt;&lt;BR style="color: #3d3d3d;" /&gt;&lt;SPAN style="color: #3d3d3d;"&gt;rMAC_SA2 = (ni-&amp;gt;hw_addr[1] &amp;lt;&amp;lt; 8) | ni-&amp;gt;hw_addr[0];&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;2) Bit AUE is set;&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="color: #3d3d3d;"&gt;rMAC_RXFILTERCTRL = 1&amp;nbsp;| //-- Bit 0 AcceptUnicastEn&lt;/SPAN&gt;&lt;BR style="color: #3d3d3d;" /&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&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; (1&amp;lt;&amp;lt;1)| //-- Bit 1 AcceptBroadcastEn&lt;/SPAN&gt;&lt;BR style="color: #3d3d3d;" /&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&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; (1&amp;lt;&amp;lt;2)| //-- Bit 2 AcceptMulticastEn dif&lt;/SPAN&gt;&lt;BR style="color: #3d3d3d;" /&gt;&lt;SPAN style="color: #3d3d3d;"&gt;&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; (1&amp;lt;&amp;lt;5); //-- Bit 5 AcceptPerfectEn&lt;/SPAN&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;BR style="background-color: #ffffff;" /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Device works&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff; border: 0px;"&gt;, it receives a unicast frames addressed to &lt;SPAN&gt;my MAC-address.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;&lt;SPAN&gt;If you need the other proofs, I will try to create testing project and upload it, but I think the provided data is enough.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;In general, the device does not receive Unicast frames address to it's MAC-address if the AUE bit is cleared.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;But if the order of octet is reversed, the device works properly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2017 07:13:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1778-MAC-Address/m-p/619167#M24222</guid>
      <dc:creator>alexanders</dc:creator>
      <dc:date>2017-02-16T07:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1778 MAC Address</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1778-MAC-Address/m-p/619168#M24223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-content-finding="Community" data-objectid="294295" data-objecttype="3" href="https://community.nxp.com/people/alexanders" rel="nofollow noopener noreferrer" target="_blank"&gt;Alexander&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;Yes, you are right, and I've also found that the Chip_ENET_SetADD function load the SA0~SA2 in the &lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;reverse order&lt;/SPAN&gt;.&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;/**
 * @brief&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Sets the address of the interface
 * @param&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pENET&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;: The base of ENET peripheral on the chip
 * @param&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;macAddr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;: Pointer to the 6 bytes used for the MAC address
 * @return&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Nothing
 */&lt;/SPAN&gt;
STATIC INLINE &lt;SPAN class="keyword token"&gt;void&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;Chip_ENET_SetADDR&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;LPC_ENET_T &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt;pENET&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;const&lt;/SPAN&gt; uint8_t &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt;macAddr&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN class="comment token"&gt;/* Save MAC address */&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pENET&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;MAC&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SA&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;uint32_t&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; macAddr&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;5&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;8&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;uint32_t&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; macAddr&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;4&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pENET&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;MAC&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SA&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;uint32_t&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; macAddr&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;3&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;8&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;uint32_t&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; macAddr&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;2&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pENET&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;MAC&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SA&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;2&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;uint32_t&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; macAddr&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;8&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;uint32_t&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; macAddr&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;And I was wondering if you can share the Rev 2.1 document, and I think I need to contact with the AE team for checking.&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ping&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2017 08:57:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1778-MAC-Address/m-p/619168#M24223</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2017-02-17T08:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1778 MAC Address</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1778-MAC-Address/m-p/619169#M24224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="213424" data-username="jeremyzhou" href="https://community.nxp.com/people/jeremyzhou" style="color: #5e89c1; background-color: #ffffff; border: 0px; font-weight: 200; font-size: 1.286rem;"&gt;jeremyzhou&lt;/A&gt;&lt;SPAN style="color: #5e89c1; background-color: #ffffff; font-weight: 500;"&gt; &lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="&amp;amp;#1057;&amp;amp;#1086;&amp;amp;#1090;&amp;amp;#1088;&amp;amp;#1091;&amp;amp;#1076;&amp;amp;#1085;&amp;amp;#1080;&amp;amp;#1082;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122835i5AF77E861B533C65/image-size/large?v=v2&amp;amp;px=999" role="button" title="&amp;amp;#1057;&amp;amp;#1086;&amp;amp;#1090;&amp;amp;#1088;&amp;amp;#1091;&amp;amp;#1076;&amp;amp;#1085;&amp;amp;#1080;&amp;amp;#1082;" alt="&amp;amp;#1057;&amp;amp;#1086;&amp;amp;#1090;&amp;amp;#1088;&amp;amp;#1091;&amp;amp;#1076;&amp;amp;#1085;&amp;amp;#1080;&amp;amp;#1082;" /&gt;&lt;/span&gt;!&lt;/P&gt;&lt;P&gt;yes, LPCOpen loads the registers this way, that actually confirms that the order should be reversed.&lt;/P&gt;&lt;P&gt;Of course, I shared the &lt;A href="http://dropmefiles.com/307167"&gt;User Manual rev 2.1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This link refers to dropmefiles service and is available for 14 days since today.&lt;/P&gt;&lt;P&gt;Please, if you can't download it, try another browser, because my Google Chrome does not downloads this file, but Firefox does. Please, notify, if you will have problems with downloading.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day,&lt;/P&gt;&lt;P&gt;Alexander.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2017 04:36:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1778-MAC-Address/m-p/619169#M24224</guid>
      <dc:creator>alexanders</dc:creator>
      <dc:date>2017-02-20T04:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1778 MAC Address</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1778-MAC-Address/m-p/619170#M24225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-content-finding="Community" data-objectid="294295" data-objecttype="3" href="https://community.nxp.com/people/alexanders"&gt;Alexander&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thanks for sharing, I've already downloaded the file now.\(^o^)/&lt;BR /&gt;Have a great day,&lt;BR /&gt;Ping&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2017 10:06:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1778-MAC-Address/m-p/619170#M24225</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2017-02-20T10:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1778 MAC Address</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1778-MAC-Address/m-p/619171#M24226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, If you find out anything new, please, notify me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Thank you very much,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; padding: 0px;"&gt;Have a nice day,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px; padding: 0px;"&gt;Alexander.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2017 11:19:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1778-MAC-Address/m-p/619171#M24226</guid>
      <dc:creator>alexanders</dc:creator>
      <dc:date>2017-02-20T11:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1778 MAC Address</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1778-MAC-Address/m-p/619172#M24227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="213424" data-username="jeremyzhou" href="https://community.nxp.com/people/jeremyzhou" style="color: #5e89c1; background-color: #ffffff; border: 0px; font-weight: 200; font-size: 1.286rem;"&gt;jeremyzhou&lt;/A&gt;&lt;SPAN style="color: #5e89c1; background-color: #ffffff; font-weight: 500;"&gt; &lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="&amp;amp;#1057;&amp;amp;#1086;&amp;amp;#1090;&amp;amp;#1088;&amp;amp;#1091;&amp;amp;#1076;&amp;amp;#1085;&amp;amp;#1080;&amp;amp;#1082;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/122836i60D1269A9AD59EC3/image-size/large?v=v2&amp;amp;px=999" role="button" title="&amp;amp;#1057;&amp;amp;#1086;&amp;amp;#1090;&amp;amp;#1088;&amp;amp;#1091;&amp;amp;#1076;&amp;amp;#1085;&amp;amp;#1080;&amp;amp;#1082;" alt="&amp;amp;#1057;&amp;amp;#1086;&amp;amp;#1090;&amp;amp;#1088;&amp;amp;#1091;&amp;amp;#1076;&amp;amp;#1085;&amp;amp;#1080;&amp;amp;#1082;" /&gt;&lt;/span&gt;!&lt;BR /&gt;Is there any news about my issue?&lt;/P&gt;&lt;P&gt;When I can download new revision of UserManual?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 07:35:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1778-MAC-Address/m-p/619172#M24227</guid>
      <dc:creator>alexanders</dc:creator>
      <dc:date>2017-03-09T07:35:38Z</dc:date>
    </item>
  </channel>
</rss>

