W5200 problem with writing data

#1

Hello, I have a problem with wiznet w5200. Before the start of implementing the functionality I wanted to test communications by SPI. When I reading values from registers, the data are correct - such as a default data, but unfortunetly when I try to write something, the values in registers do not change - still are the same as default data.
I tried to save the RTR (0x0017), RCR (0x0019), SIPR (0x000F).
Can someone tell me what else i should to do to write data. Maybe is something what i should to do to approve write opperation ?

Thanks

#2

Hi,
For testing to interface with W5200,

  1. Check the interfacing singals connection, timing and integrity.
  2. Check the reset timing. (refer to datasheet)
  3. Verify Read operation
    3.1. Read VERSIONR resister(it’s value Should be “0x03”)
    3.2. Read the regsiter to be reset non-zero value such as (RTR(0x07D0), RCR(0x08), and etc).
  4. Verify Write operation
    4.1. Write SHAR (check the read value to be equal to written value)
    4.2. Write SIPR (check the read value to be equal to written value)
    4.3. Write SUBR (check the read value to be equal to written value)
    4.3. Write GAR (check the read value to be equal to written value)
  5. Check the ethernet to be on-link
  6. Test ping to SIPR value.

Thank you.