Help me ragrding w5500


#1

I am using wiznet w500 io module purchased from ebay . I am interfacing with arduiono atmega2560 . WHEN I CONNECT THE MODULE windows xp show connected and both led are ok and also one of led start blinking but stop blinking after some time it stop blinking . ping is not working is module is damged or some thing esle as arduiono code show sever at 0.0.0.0 i am using latestes arduion libary.
my connection as follwo
MISO -> MISO
MOSI ->MOSI
CS > LOW TIED TO GROUND
RESTET LEFT ALONE
SCK -> SCK
WHAT IS PROBLEM


#2

Hi

Sorry to late your answer

you checking the W5500 datasheet.

And I need you code.

you using arduino example code?

there is 3 fact.

First, module broken. -> This problem is probably not

Second, you connected LAN port ? and you check link LED blink?

third, SPI signal matching is wrong. check to below code. below code is SPI each signal part matching code

// CLK pin enable
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP; // External clock

//MISO pin enable
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IN_FLOATING; // Master in Slave out -> Floating = high Impedence

//MOSI pin enable
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP; // Master Out Slave in (Slave is external)

//CS pin enable
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP; // GPIO_Mode_Out_OD - open drain (open collect) -> It's want Pull up resistor

//RESET pin enable
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP; // M3 (Master) -> W5500 (Slave)

//INT pin enable
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IPU; // internal Pull up

Thank you