Porting ioLibrary

What files from the ioLibrary do I need for porting the ioLIbrary to a new MCU?

What functions do I need to modify?

I have looked at the ioLibrary source code and wonder what mode WIZCHIP_IO_MODE_BUS is?

It looks like there is no use of WIZCHIP_IO_MODE_BUS in the source code?

And is there any support of DHCP in ioLibrary, i don’t find any support?

ioLibrary will be integrated with another chips such as W5100, W5200 and W5300

BUS mode is used in W5100 & W5300

You will refer to [url]https://github.com/Wiznet/ioLibrary_Driver[/url]

Thank you.

Hi, Eerik.
I’m employee of Wiznet.
If you want use spi mode ic(such as W5100, W5500), you have to connect your mcu specific spi code and iolibrary.
In this case, at least 4 spi functions registered. Chip select,deselect functions and spi byte read/write byte.

Ex)

  1. There are some functions named “Your_MCU_SPI_Read_Byte()” and “Your_MCU_SPI_Write_Byte()”
  2. You have to register your functions using “reg_wizchip_spi_cbfunc()” function in “wizchip_conf.c” like followings.
    reg_wizchip_spi_cbfunc(Your_MCU_SPI_Read_Byte, Your_MCU_SPI_Write_Byte);
  3. Initialize IC and Happy to use!

And WIZCHIP_IO_MODE_BUS is for bus mode ic(such as W5300).

There are many examples and you can download them.
[url]https://github.com/Wiznet[/url]

Thanks.