diff --git a/litex/soc/integration/soc.py b/litex/soc/integration/soc.py index 6afba18d1..85b0360c3 100644 --- a/litex/soc/integration/soc.py +++ b/litex/soc/integration/soc.py @@ -1973,6 +1973,8 @@ class LiteXSoC(SoC): self.check_if_exists(f"{name}") + spi_clk_freq = int(spi_clk_freq) + if pads is None: pads = self.platform.request(name)