WIZnet Developer Forum

Using W5500 with PIC18F and MPLABX XC8 Compiler

I cannot get the Microchip TCP/IP Lite Stack running on a PIC18F46K22 with a Wiznet W5500 module. I was taking the W5200 instructions for porting the existing library to use a W5500 instead of an ENC28J60.
I would like to implement MODBUS TCP server finally and a single socket connection is also okay. It is a commercial project and meant to be produced in thousands. We were originally using the PIC18F67J60. The design change is to offload the stack to Wiznet W5500 and gain some computing power to do other stuffs. Such as MODBUS RTU @9600 on the same chip.

If anybody have done this with a PIC18F I would be grateful for code examples or guide.

Best Regards

What does it exactly mean? What is the difference in relation to W5500 implementation between PIC18F67J60 and PIC18F46K22?

Hi Eugeny,

The PIC18F67J60 is a combination of MCU and PHY. It would be equivalent to PIC18F46K22 + ENC24J60 In both the cases the TCP/IP stack is in software unlike W5500 where it in hardware.

Microchip supported the W5200 way back in 2013 then they removed it from their stack.

Ok, so we are clear about differences, but what

Actually means? You can not compile? Did you do any troubleshooting what is wrong?

Yes lot of compile errors and seems my lack of knowledge on the Wiznet W5500. So I am looking forward to some running code examples that work with a PIC

Anybody with a working source code of W5500 with a PIC microcontroller (18F/24F/dsPIC) that can be run on MPLABX ??

Copyright © 2017 WIZnet Co., Ltd. All Rights Reserved.