summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZixun LI <[email protected]>2026-05-27 14:38:53 +0200
committerZixun LI <[email protected]>2026-05-27 14:53:08 +0200
commitda038673936cefdff0e4aacfd2602c665b9f114d (patch)
treeec80610db9b3d5c995dc775649d41e398f542614
parent939c2f91c200db2bf9874c2e6c50b3530f8a6725 (diff)
Add data loss warning to CH32 USBFS/USBHS
According to WCH FAE transfer complete interrupt is not queued, later completed EP will overwrite INT_ST and RX_LEN. Which means to guarantee data integrity when multiples EPs are enabled: - USB IRQ must have highest priority - IRQ processing time must be less than ZLP duration (~600ns), which is absurd for a 144MHz CPU (85 cycles) Signed-off-by: Zixun LI <[email protected]>
-rw-r--r--README.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.rst b/README.rst
index 04998abaa..e1e73c3ad 100644
--- a/README.rst
+++ b/README.rst
@@ -262,11 +262,11 @@ Supported CPUs
+--------------+-----------------------------+--------+------+-----------+------------------------+--------------------+
| ValentyUSB | eptri | ✔ | ✖ | ✖ | eptri | |
+--------------+-----------------------------+--------+------+-----------+------------------------+--------------------+
-| WCH | CH32F20x | ✔ | | ✔ | ch32_usbhs | |
+| WCH | CH32F20x | ⚠ | | ✔ | ch32_usbhs | Data loss possible |
| +-----------------------------+--------+------+-----------+------------------------+--------------------+
-| | CH32V20x | ✔ | | ✖ | stm32_fsdev/ch32_usbfs | |
+| | CH32V20x | ⚠ | | ✖ | stm32_fsdev/ch32_usbfs | Data loss possible |
| +-----------------------------+--------+------+-----------+------------------------+--------------------+
-| | CH32V305, CH32V307 | ✔ | | ✔ | ch32_usbfs/hs | |
+| | CH32V305, CH32V307 | ⚠ | | ✔ | ch32_usbfs/hs | Data loss possible |
+--------------+-----------------------------+--------+------+-----------+------------------------+--------------------+
Table Legend