-- MAC 0:4:25:1c:a0:2-- IP 192.168.0.2Link detected.-- IP 255.255.255.255-- IP 126.96.36.199======= IP 60 bytes, HEADER ========== IP Version = v.4 Header Length = 5 Type of service = 0x0 Total IP Length = 0x22 ID = 0x4B8E Header Checksum = 0x2E92 Protocol =UDP IP Src Address = 192:168:0:3 IP Dest Address = 255:255:255:255------------------------------------------ IP 255.255.255.255-- IP 188.8.131.52======= IP 60 bytes, HEADER ========== IP Version = v.4 Header Length = 5 Type of service = 0x0 Total IP Length = 0x2C ID = 0x4B91 Header Checksum = 0xAF94 Protocol =ICMP IP Src Address = 192:168:0:3 IP Dest Address = 255:255:255:255----------------------------------------...
-- MAC 0:4:25:1c:a0:2-- IP 192.168.0.2Link detected.
remember to include also the pin 69 (NRST)
Unfortunately the chip MUXs many signals and provides no optional pins
Do you know what frequencies I can expect on the EMAC signals?
See the attachment with the latest EMAC library (compiles OK but not working)
I just ported the Atmel Ethernet API to Arduino IDE. At least the 'EMAC_EMAC_EXAMPLE1' now called 'Arduino_Due_EMAC_Sample_1.ino' is compiling with no errors
Don't ask but even though DM9161 is obsolete, expensive and difficult to purchase it, it has been Atmel's workhorse for the SAM family all these years. No "TX underrun" messages under heavy loads with 100M link. I still believe is the best option for now.
better but more expensive option is to use a Micrel PHY, pretty much because, according to Atmel, it has better hardware integration and documentation.Indeed, it is in my list To-Do to purchase one of the series KSZ80.
I am working with a KSZ8051RNL which I had working on LPC1789 and want to port to the SAM3X8E.
I have been trying to modify the EMAC library to make the DP83848 work with the Taijiuino but only communication errors.
I got good Ethernet communication between my new Russian PHY board (AS-DM9161) with the SAM3X-EK board. I performed this with the purpose of verify the functionality of this PHY board because is slightly different from the one embedded in the SAM3X-EK.
The EMAC sample sketch compiles OK in the Arduino IDE but I believeI am overlooking something, specially in the Pio/pin configuration (in the variant files).
I added in the variant.cpp the EMAC pin definition (lines 291 to 301) and the initialization of the EMAC Pio configuration (lines 431 to 485). added in the variant.h the defines of the EMAC pins (lines 187 to 202).
There is no way to get any communication between them. I have double-checked the wiring, pull-up/down resistors, and I even ran a simple code that blinked all the Ethernet pins in the SAM3X8E
'Due to standardization, the connection between a MAC controller and a PHY is straightforward and simple. Even, any PHY can work with any MAC'