Skip to content

Commit 0a52308

Browse files
committed
docs: add performance show
Signed-off-by: sakumisu <[email protected]>
1 parent 9d06a94 commit 0a52308

16 files changed

+77
-21
lines changed

docs/source/index.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,12 @@ CherryUSB 是一个小而美的、可移植性高的、用于嵌入式系统的
143143

144144
version
145145

146+
.. toctree::
147+
:maxdepth: 1
148+
:caption: 性能展示
149+
150+
show/index
151+
146152
.. toctree::
147153
:maxdepth: 1
148154
:caption: 商业支持

docs/source/show/img/usbdev_msc.png

40.1 KB
Loading
182 KB
Loading
60.4 KB
Loading
409 KB
Loading
977 KB
Loading
288 KB
Loading
143 KB
Loading

docs/source/show/img/usbhost_msc.png

12.7 KB
Loading
39.2 KB
Loading
162 KB
Loading
125 KB
Loading

docs/source/show/img/usbhost_uvc.gif

8.17 MB
Loading

docs/source/show/img/usbhost_wifi.png

99.3 KB
Loading

docs/source/show/index.rst

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
性能展示
2+
==============================
3+
4+
以下演示了 CherryUSB 在不同应用中的性能表现。主要演示高速模式,全速看不出什么性能差异。
5+
6+
CDC 通信
7+
----------------
8+
9+
可以达到硬件极限性能,当然需要硬件理论支持到这速度,CherryUSB 就支持到这速度,举例如下:
10+
11+
- HPM 系列(从机可以到 42MB/S, 主机 44MB/S, 已经达到硬件极限)
12+
- BL 系列(从机 32MB/S, 主机 25MB/S, 已经达到硬件极限)
13+
- STM32F4 全速(从机 900KB/S, 主机 1.12MB/S, 已经达到硬件极限)
14+
15+
从机测速demo: cdc_acm_template.c 并且关闭 log,脚本使用 `tools/test_srcipts/test_cdc_speed.py`
16+
主机测速demo: usb_host.c 中 TEST_USBH_CDC_SPEED=1
17+
18+
19+
USB Device MSC
20+
-----------------
21+
22+
演示 USB Device MSC 使用 SDXC3.0 + EMMC 测试。
23+
24+
.. figure:: img/usbdev_msc.png
25+
26+
USB Device RNDIS
27+
-----------------------
28+
29+
.. note:: 默认 rndis 仅支持单包,因此下面速度为最低速度。多包支持需要联系作者。
30+
31+
演示 USB Device RNDIS 局域网下搭配 lwip 的速度。
32+
33+
.. figure:: img/usbdev_rndis_lwip.png
34+
.. figure:: img/usbdev_rndis_lwip2.png
35+
36+
演示 USB Device RNDIS + WIFI 透传测试。
37+
38+
.. figure:: img/usbdev_rndis_wifi.png
39+
.. figure:: img/usbdev_rndis_wifi2.png
40+
41+
演示 USB Device RNDIS + 百兆以太网透传测试。
42+
43+
.. figure:: img/usbdev_rndis_win.png
44+
.. figure:: img/usbdev_rndis_linux.png
45+
46+
47+
USB Host MSC
48+
-----------------------
49+
50+
演示 USB Host MSC 在 USB2.0 和 USB3.0 下的速度,U盘推荐使用固态测试。
51+
52+
.. figure:: img/usbhost_msc.png
53+
.. figure:: img/usbhost_msc_xhci.png
54+
55+
USB Host UVC
56+
-----------------------
57+
58+
演示 USB Host UVC 驱动 648 * 480 YUV 摄像头。FPS 30。
59+
60+
.. figure:: img/usbhost_uvc.gif
61+
62+
USB Host WIFI
63+
-----------------------
64+
65+
演示 USB Host UVC 驱动 BL616 USB WIFI。
66+
67+
.. figure:: img/usbhost_wifi.png

docs/source/usbdev.svg

Lines changed: 4 additions & 21 deletions
Loading

0 commit comments

Comments
 (0)