mirror of
https://github.com/hathach/tinyusb.git
synced 2026-08-18 11:02:16 +00:00
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 <admin@hifiphile.com>
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user