From 428b7966080780c99c8577b16681b73c9d53a926 Mon Sep 17 00:00:00 2001 From: Jean THOMAS Date: Wed, 11 Sep 2024 15:05:35 +0200 Subject: [PATCH] gateware.usb.usb2.device: Enable HS transfer with custom UTMI Removes Full Speed limitation when using custom UTMI PHY. Bump the associated clock to 60 MHz (required for achieving 480Mbps throughput). Fixes #276 --- luna/gateware/usb/usb2/device.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/luna/gateware/usb/usb2/device.py b/luna/gateware/usb/usb2/device.py index 086917bb..04fc547d 100644 --- a/luna/gateware/usb/usb2/device.py +++ b/luna/gateware/usb/usb2/device.py @@ -119,8 +119,8 @@ def __init__(self, *, bus, handle_clocking=True): self.utmi = bus self.bus_busy = Const(0) self.translator = None - self.always_fs = True - self.data_clock = 12e6 + self.always_fs = False + self.data_clock = 60e6 # # I/O port