ENC28J60 Controller...
 
Notifications
Clear all

ENC28J60 Controller Questions

11 Posts
5 Users
0 Reactions
4,563 Views
Posts: 6728
Topic starter
(@p-short)
Illustrious Member
Joined: 20 years ago
[#55412]

I'm playing around with designing a wired-Ethernet controller using the ENC28J60. It's a 2.5cm x 5cm through-hole board intended to fit inside 1" PVC tubing. Please refrain from asking why it's not surface-mount, or why I'm not going with a wiznet board.

At the moment the PCB does not include a controller, instead having a 2-row, 8-pin connector (like those for the nRF24L01 or 8266 ESP-01 boards). Right now the pinout of that connector is the same as that of the nRF24L01 board, replacing the CE signal with Reset). Are there other connectors (or pinouts) that might be more useful?

Currently the board has a ground plane that covers the entire area of the board. Would it be better to split the ground plane, with just a narrow trace between the logic portion of the board and the LAN connector of the board? Bear in mind that I'm not going for any sort of standards conformance, just for a board that is reasonably clean for EMI/EMC purposes.


10 Replies
MartinMueller2003
Posts: 7615
(@martinmueller2003)
Illustrious Member
Joined: 14 years ago

look at the esp32 rmii interface.


Reply
Posts: 6728
Topic starter
(@p-short)
Illustrious Member
Joined: 20 years ago
MartinMueller2003 wrote:look at the esp32 rmii interface.

I'm not sure what you're suggesting, since the ENC28J60 doesn't have an exposed MII interface.

Just as a side note, about 13 years ago I designed a 10BT Ethernet widget using a Xilinx XC2S15 FPGA, an Intel LXT905 PHY and a 23Z467 transformer. I might even have the vhdl files somewhere or other, which I used to implement a rudimentary IP stack (Ethernet MAC, IP, some ICMP, ARP and a dedicated UDP application). That was all a long time ago, and the world has changed (the FPGA and PHY parts are either hard or impossible to find).


Reply
Posts: 1420
(@1pet2-9)
Noble Member
Joined: 6 years ago

Hey, I've got a couple Xilinx FPGA starter boards (a pynq and zynq), but couldn't think of a Christmas application that could use that kind of horsepower. Is there one?


Reply
Barnabybear
Posts: 1583
(@barnabybear)
Noble Member
Joined: 15 years ago

Hi, I had a play with the ENC28J60 and a Arduino Nano. It worked well outputting DMX and WS281x Pixel I've linked my ramblings below, the first 27 post relate to W5100 but on post 28 it swaps to the ENC.

https://diychristmas.org/vb5/node/8467


Reply
Posts: 6728
Topic starter
(@p-short)
Illustrious Member
Joined: 20 years ago
Barnabybear wrote:Hi, I had a play with the ENC28J60 and a Arduino Nano. It worked well outputting DMX and WS281x Pixel I've linked my ramblings below, the first 27 post relate to W5100 but on post 28 it swaps to the ENC.

https://diychristmas.org/vb5/node/8467

What Ethernet controller is that?


Reply
Barnabybear
Posts: 1583
(@barnabybear)
Noble Member
Joined: 15 years ago
Reply
A Marchini
Posts: 426
(@a-marchini)
Reputable Member
Joined: 19 years ago
P. Short wrote:. Would it be better to split the ground plane, with just a narrow trace between the logic portion of the board and the LAN connector of the board? Bear in mind that I'm not going for any sort of standards conformance, just for a board that is reasonably clean for EMI/EMC purposes.

Maybe try out their design check service, see if they have any suggestions? https://www.microchip.com/en-us/support/design-help/design-check-services
P.S. I am a little surprised they don't have a layout guidance document. Maybe at these speeds , it just doesn't matter.


Reply
Posts: 6728
Topic starter
(@p-short)
Illustrious Member
Joined: 20 years ago

Considering how inexpensive those Ethernet shields are, there is no point in my continuing with my design. For what I want it would be better just to design a processor board to the nano pinout.


Reply
Barnabybear
Posts: 1583
(@barnabybear)
Noble Member
Joined: 15 years ago

Hi Phil, if you get chance to share your findings on the initial setup of the control registers and Ethernet buffer of the ENC28J60 I would appreciate it. It was my intention to look deeper into the data sheet to find out how these worked to best utilise the buffer but finding a working library and running short on time meant this never happened.


Reply
Page 1 / 2
Share: