forked from M-Labs/artiq
1
0
Fork 0

sayma_rtm: hook up DAC SPI

This commit is contained in:
Sebastien Bourdeauducq 2017-08-31 11:48:54 +08:00
parent f765dc50de
commit ad0a940e2d
1 changed files with 4 additions and 1 deletions

View File

@ -93,7 +93,10 @@ class SaymaRTM(Module):
platform.request("ad9154_txen", 1).eq(0b11) platform.request("ad9154_txen", 1).eq(0b11)
] ]
self.submodules.converter_spi = spi.SPIMaster(platform.request("hmc_spi")) self.submodules.converter_spi = spi.SPIMaster([
platform.request("hmc_spi"),
platform.request("ad9154_spi", 0),
platform.request("ad9154_spi", 1)])
csr_devices.append("converter_spi") csr_devices.append("converter_spi")
self.comb += platform.request("hmc7043_reset").eq(0) self.comb += platform.request("hmc7043_reset").eq(0)