E15 — USBFS on a direct PC port
| ID | E15 |
| Date | 2026-12-02 |
| Status | done |
| Decisions | D92 (DECISIONS.md) |
| Board | #1 (rev A, 12 MHz crystals), J2 on a direct PC USB port |
| Firmware + results | fw/tests/2026-12-02-11-usbfs-direct (sources, binaries, results.txt) |
| Scripts | usbfs.py |
Summary: J2 on a direct PC port: OUT 775 → 1020 kB/s (the hub limited OUT); IN stays ≈ 840–880 kB/s, set by the host (device re-arms in 1.25 µs, next packet comes 75 µs later).
What
E9/E14 follow-up: is the remaining USB full-speed limit the dock hub, the device or the host? J2 moved to a direct port; device-side timestamps around each EP3 IN packet; EP3 IN made ping-pong.
Results
| behind dock hub (E14) | direct port | |
|---|---|---|
| OUT | 770–775 kB/s | 1011–1022 kB/s |
| IN | 874–887 kB/s | 830–881 kB/s |
- Device re-arms EP3 2.47 µs after a completion (single buffer), 1.25 µs with ping-pong: no throughput change.
- The next IN completion comes 74–76 µs after the re-arm (never < 32 µs; ≈ 52 µs is wire time): the host sets the IN rate.
Lesson
Timestamp both sides of a handshake on the device, then halve the device’s share: no change means it is not the device.
Chip facts and numbers: fw/LEARNINGS.md. All experiments: index.