Hi, I am using W5300 as TCP server, i could send data from W5300 to my laptop running labview client application successfully. I am also able to send data from PC to TCP server(W5300) only when no of bytes from PC is even number…if i send odd no of bytes the Sn_RX_RSR register does not get updated.
one way communication is perfect (Chip to PC) while for another side(PC to chip) is working only for even no of bytes and not for odd no of bytes.
I call my Receive Sn RX FIFOR register after contineous polling Sn RX RSR register and if the Sn RX RSR reg value is not zero then read the Sn RX FIFOR0 and then Sn RX FIFO1 in pair.
i also make provision for reading one extra byte if the Sn RX RSR reg. has odd number value but still Sn SRS does not get upated for odd number of bytes sent from PC.
Can any body help to solve/fix up the problem.
I am using the 8 bit interface with Silab MCU C8051F340 and using the mcu’s GPIO as external bus to interface with W5300.