ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • W7500 TCP Network Speed Test using WIZwiki-W7500ECO
    IT 개발/기타 2015.10.08 15:13

    W7500 TCP Network Speed Test using WIZwiki-W7500ECO

    WIZwiki-W7500ECO

    WIZnet WIZwiki Platform based on WIZnet’s MCU. WIZnet WIZwiki-W7500eco is a WIZwiki platform board based on W7500. The IOP4IoT W7500 chip is one-chip solution which integrates an ARM Cortex-M0, 128KB Flash and hardwired TCP/IP core for various embedded application platform especially internet of things. If you use WIZwiki-W7500eco, you will be able to easily develop a prototype.

    wizwiki-w7500eco3dtop

    Test Scenario

    • WIZwiki-W7500ECO

      • Run TCP Echo Server which receive data and then send to tcp client.
    • PC

      • Run TCP client using my test tool.
      • It can be used for simple tcp test and check tcp speed.

    To check TCP speed of WIZwiki-W7500, I upload TCP echo server binary to WIZwiki-W7500ECO.
    I send data which is 1Mbytes to WIZwiki-W7500ECO using my test tool and then test tool will receive data from WIZwiki-W7500ECO for checking TCP communication speed.

    20150826_220148

    Test Result

    Test Condition 1

    There are change points for this test.

    • Change System Clock ( 20MHz, 48MHz )
    • Change RAM buffer ( 2048, 4096, 8192 )

    20150826_184249

    Comment about Test Condition 1

    WIZwiki-W7500ECO TCP Speed depended upon it’s system clock. After test, I got result as below.

    • Buffer size of variable in the code didn’t make much difference to the speed.
    • When using 20MHz of WIZwiki-W7500ECO’s system clock, average speed is 4.7Mbps.
    • When using 48MHz of WIZwiki-W7500ECO’s system clock, average speed is 8.5Mbps.

    Test Condition 2

    W7500 has one 16KB TX memory for Socket n TX Buffer Blocks and one 16KB RX memory for Socket n RX buffer Blocks.

    16KB TX memory is initially allocated in 2KB size for each Socket TX Buffer Block (2KB X 8 = 16KB). The initial allocated 2KB size of Socket n TX Buffer can be re-allocated by using ‘Socket n TX Buffer Size Register (Sn_TXBUF_SIZE)’. Once all Sn_TXBUF_SIZE registers have been configured, Socket TX Buffer is allocated with the configured size of 16KB TX Memory and is assigned sequentially from Socket 0 to Socket 7. Its physical memory address is automatically determined in 16KB TX memory. Therefore, the total sum of Sn_TXBUF_SIZE should not exceed 16 in case of error in data transmission.

    wztoe_memory_map

    There are chage point for second test.

    • Change Socket RX/TX Buffer of W7500 ( 2048, 8192, 16,384 )

    20150827_083215

    Comment about Test Condition 2

    • Socket TX/RX buffer size didn’t make much difference to the speed.
    • When using 2Kbytes of Socket buffer, average speed is 8.116Mbps
    • When using 8Kbytes of Socket buffer, average speed is 9.099Mbps
    • When using 16Bytes of Socket buffer, average speed is 9.142Mbps


    댓글 2

    • 이청열 2017.01.23 15:35

      좋은 글 감사합니다.

      혹 PC에서 실행한 Test Toll을 어디서 구할 수 없나요?

      • 안녕하세요.^^
        아래 주소에 가시면 실행파일을 다운로드 하실 수 있습니다.
        https://github.com/kaizen8501/IPV6_TestTool/blob/master/Release/S2E_TestTool(20150828).exe

        코드가 필요하시다면 아래 주소를 참고 하시기 바랍니다.
        https://github.com/kaizen8501/IPV6_TestTool

        출처: http://kaizen8501.tistory.com/108#comment11622035 [카이젠의 임베디드 DIY 공작소]

Designed by Tistory.