SUPPORT

  •  

Home > Technical > Q&A

Q&A

SUBJECT wiznet810mj module socket opening
NAME Revanth DATE 2013-09-26 HIT 10741

Hi,

I am using Wiznet 810MJ module for data communication using UDP socket programming through SPI. As I tried by creating a socket of UDP, there is no changes in Status Register (Sn_SR) it is always be in the sate of SOCK_CLOSE but not in SOCK_UDP. My program is being in continuos state of creating a socket but not opening. Though i send appropriate commands for opening a socket there is no changing in the status of Socket Register.

below im providing a code that written for creating using spi.

S0_MR = MR_UDP

S0_PORT = 0x00

S0_CR = CR_OPEN

if(S0_SR != SOCK_UDP)

S0_CR = CR_CLOSE

while(S0_SR != SOCK_UDP)

Could any one help me on creating the UDP Socket throgh SPI .


Thank You

W5200 LEDs blinking at startup 2013-09-26
W5100 2013-09-25
modify DELETE LIST

Name
REPLE

 

 

 

QUICK MENU

 

WIZnet
Museum

 

WizWiki

 

Forum

 

Online Store