ethernet communication whith ENC28j60 module

cancel
Showing results for 
Search instead for 
Did you mean: 

ethernet communication whith ENC28j60 module

1,698 Views
geison_mancuzo
Contributor II

hi, i need develop a product with ethernet communication and was using ENC28j60 module for interface. I wonder if there is a lib for this module or sugestion for my problem.

I'm using the MK04Z8VWJ4 for one project and MK22FX512AVLH12 (64pin) for other project.

tks

Labels (1)
0 Kudos
5 Replies

709 Views
mjbcswitzerland
Specialist V

Hi

Although not the exact same Ethernet controller, the uTasker project has integrated support for the Microchip ENC424J600 on all Kinetis parts - for example there is a reference application at

http://www.utasker.com/kinetis/TEENSY_3.1.html (I have also run it on K22, K64 and several other chips, including KL devices).

The integrated TCP/IP stack allows this to be used with any processor or together with internal Ethernet (eg. on K64) for dual-homed networking, gateways, bridging etc.

It also allows the complete operation - Kinetis (including all peripherals, interrupts and DMA) and ENC424J600 to be simulated in approx. real-time so that complete applications/producs can be developed/debugged without the usualy HW debugging complications/restrictions; the simulation model communicates on the Ethernet network as if it were the real device and development times can usually be slashed in comparison to traditional techniques.

Regards

Mark

709 Views
xiangjunrong
Contributor IV

Hi, Geison,

I think it is okay to connect ENC28j60 to a Kinetis processor which does not have ethernet controller. As you know that some of Kinetis has on-chip  ethernet controller, which is a mac module, user has to use third party PHY. I have checked the ENC28j6 chip, it is a mac plus PHY.

If you use ENC28j60, the difficulty is software or ethernet stack. We have ported lwip ethernet stack for Kinetis family, we have rewritten the LWIP low level driver so that it matches with hardware  Kinetis ethernet controller. If you use ENC28j60, you have to rewrite the LWIP stack, fortunately, the LWIP stack is third party stack, which is structural code, you just need to modify the file in the port directory based on the ENC28j60.

Hope it can help you.

BR

Xiangjun Rng

709 Views
geison_mancuzo
Contributor II

Xiangjun, good morning.

you know if there is a higher level option, or .lib this item?

0 Kudos

709 Views
xiangjunrong
Contributor IV

Hi, Geison,

Unfortunately, I do not know if there is any other ethernet stack besides LWIP. Maybe Mark Butcher can help you for the lwip driver based on ENC424J600.

BR

XiangJun rong

709 Views
geison_mancuzo
Contributor II

Hi,

very thank you for help.

Geison

0 Kudos