Hello and good day, I have made the change of module from the model wiz812mj to wiz810smj to improve the transfer speed but without reaching what was expected.
The hardware is an x86, the module works under the bus mode because the processor does not support the spi protocol, the firmware made for wiz812mj works perfectly for the wiz810smj model without any changes by performing the following operations:
- Reset Module
- Get IP from DHCP
- Set mode Server
- Diagnosis for send and receive data.
When the test of sending data from the module to the host is done, a speed of 90,000 bytes per second is reached, this happens in both the wiz812mj and the wiz810smj without modifying the firmware.
The code to switch the wiz810smj from 25mhz to 100mhz has been added to the firmware and the same speed is obtained: 90,000 bytes per second. why?
The following steps have been done to change the clock from 25mhz to 100mhz:
- Unlock Register CLKLCKR (Writting 0xCE to 0x0070 address)
- Config MR2 (Writting 0x40 to 0x0030 address)
- Unlock Register PHYLCKR (Writting 0x53 to 0x0072 address)
- Config PHYCR1 (Writting 0x01 to 0x0047 address)
… and nothing more.
we still get the same speed of 90,000 bytes per second.
Is there any way to check that it has really changed from external clock to internal 100mhz?
After adding the clock change, the affected registers have been read obtaining the following values:
MR2=0x40
PHYCR1=0x00
Thanks for you Help.