diff options
Diffstat (limited to 'embassy-net-adin1110')
| -rw-r--r-- | embassy-net-adin1110/README.md | 37 |
1 files changed, 35 insertions, 2 deletions
diff --git a/embassy-net-adin1110/README.md b/embassy-net-adin1110/README.md index 3c2804183..8ea10b714 100644 --- a/embassy-net-adin1110/README.md +++ b/embassy-net-adin1110/README.md | |||
| @@ -30,8 +30,8 @@ Currently only `Generic` SPI with or without CRC is supported. | |||
| 30 | 30 | ||
| 31 | ## Hardware | 31 | ## Hardware |
| 32 | 32 | ||
| 33 | - Tested on [`Analog Devices EVAL-ADIN1110EBZ`](https://www.analog.com/en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/eval-adin1110.html) with an `STM32L4S5QII3P`, see [`spe_adin1110_http_server`](../examples/stm32l4/src/bin/spe_adin1110_http_server.rs) dor an example. | 33 | - Tested on [`Analog Devices EVAL-ADIN1110EBZ`](https://www.analog.com/en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/eval-adin1110.html) with an `STM32L4S5QII3P`, see [`spe_adin1110_http_server`](../examples/stm32l4/src/bin/spe_adin1110_http_server.rs) for an example. |
| 34 | - [`SparkFun MicroMod Single Pair Ethernet Function Board`](https://www.sparkfun.com/products/19038) or [`SparkFun MicroMod Single Pair Ethernet Kit`](https://www.sparkfun.com/products/19628), supporting multiple microcontrollers. **Make sure to check if it's a microcontroller that is supported by Embassy!** | 34 | - [`SparkFun MicroMod Single Pair Ethernet Function Board`](https://www.sparkfun.com/products/19038) or [`SparkFun MicroMod Single Pair Ethernet Kit (End Of Life)`](https://www.sparkfun.com/products/19628), supporting multiple microcontrollers. **Make sure to check if it's a microcontroller that is supported by Embassy!** |
| 35 | 35 | ||
| 36 | ## Other SPE chips | 36 | ## Other SPE chips |
| 37 | 37 | ||
| @@ -44,6 +44,39 @@ ADIN1110 library can tested on the host with a mock SPI driver. | |||
| 44 | 44 | ||
| 45 | $ `cargo test --target x86_64-unknown-linux-gnu` | 45 | $ `cargo test --target x86_64-unknown-linux-gnu` |
| 46 | 46 | ||
| 47 | ## Benchmark | ||
| 48 | |||
| 49 | - Benchmarked on [`Analog Devices EVAL-ADIN1110EBZ`](https://www.analog.com/en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/eval-adin1110.html), with [`spe_adin1110_http_server`](../examples/stm32l4/src/bin/spe_adin1110_http_server.rs) example. | ||
| 50 | |||
| 51 | Basic `ping` benchmark | ||
| 52 | ```rust,ignore | ||
| 53 | # ping <IP> -c 60 | ||
| 54 | |||
| 55 | 60 packets transmitted, 60 received, 0% packet loss, time 59066ms | ||
| 56 | rtt min/avg/max/mdev = 1.089/1.161/1.237/0.018 ms | ||
| 57 | |||
| 58 | # ping <IP> -s 1472 -M do -c 60 | ||
| 59 | |||
| 60 | 60 packets transmitted, 60 received, 0% packet loss, time 59066ms | ||
| 61 | rtt min/avg/max/mdev = 5.122/5.162/6.177/0.133 ms | ||
| 62 | ``` | ||
| 63 | |||
| 64 | HTTP load generator benchmark with [`oha`](https://github.com/hatoo/oha) | ||
| 65 | ```rust,ignore | ||
| 66 | # oha -c 1 http://<IP> -z 60s | ||
| 67 | Summary: | ||
| 68 | Success rate: 50.00% | ||
| 69 | Total: 60.0005 secs | ||
| 70 | Slowest: 0.0055 secs | ||
| 71 | Fastest: 0.0033 secs | ||
| 72 | Average: 0.0034 secs | ||
| 73 | Requests/sec: 362.1971 | ||
| 74 | |||
| 75 | Total data: 2.99 MiB | ||
| 76 | Size/request: 289 B | ||
| 77 | Size/sec: 51.11 KiB | ||
| 78 | ``` | ||
| 79 | |||
| 47 | ## License | 80 | ## License |
| 48 | 81 | ||
| 49 | This work is licensed under either of | 82 | This work is licensed under either of |
