diff options
| author | alt-0191 <[email protected]> | 2026-03-13 22:57:18 +0800 |
|---|---|---|
| committer | alt-0191 <[email protected]> | 2026-03-18 15:23:28 +0800 |
| commit | 56f94bbb46bebf88e9be0332ebb9db03b30d1cb1 (patch) | |
| tree | 9efdc27d60d2989994ec582ae6eec3a39c48c36c /docs/reference | |
| parent | a2ea022e96ac2c9d4b945f30081d195002fb88d9 (diff) | |
dcd_ch58x: fix toggle, SETUP race, and bus reset handling
- Switch from AUTO_TOG to manual toggle for all endpoints to fix toggle mismatch after clear-stall causing bus resets
- Fix SETUP race condition: track ep0_completion_pending and setup_pending to avoid arming stale EP0 transfers
- Defer Set Address to ISR after status ZLP is ACK'd
- Improve bus reset: reset all EPs, clear pending state
- Fix EP4 DMA macro to correctly map to EP0 base (0x10)
- Move CH58X_UIS_TOG_OK to common section (used by both DCD/HCD)
- Add #ifndef guards for BOARD_TUD/TUH_RHPORT in board.h
- Track isochronous per direction: isochronous[ep][dir]
- NAK EP0 OUT on completion to prevent premature data acceptance
Diffstat (limited to 'docs/reference')
0 files changed, 0 insertions, 0 deletions
