forked from M-Labs/artiq
kc705.clock: add all spi buses
This commit is contained in:
parent
669fbaa4f1
commit
7ff0c89d51
|
@ -264,7 +264,7 @@ class NIST_CLOCK(_NIST_Ions):
|
||||||
rtio_channels.append(rtio.Channel.from_phy(
|
rtio_channels.append(rtio.Channel.from_phy(
|
||||||
phy, ofifo_depth=4, ififo_depth=4))
|
phy, ofifo_depth=4, ififo_depth=4))
|
||||||
|
|
||||||
for i in range(1): # spi1 and spi2 collide in pinout with ttl
|
for i in range(3):
|
||||||
phy = spi.SPIMaster(self.platform.request("spi", i))
|
phy = spi.SPIMaster(self.platform.request("spi", i))
|
||||||
self.submodules += phy
|
self.submodules += phy
|
||||||
rtio_channels.append(rtio.Channel.from_phy(
|
rtio_channels.append(rtio.Channel.from_phy(
|
||||||
|
|
Loading…
Reference in New Issue