2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 03:08:27 +08:00

phaser: add AD9154 SPI access driver to example ddb

This commit is contained in:
Sebastien Bourdeauducq 2017-06-20 00:49:21 +08:00
parent 470bce6214
commit 39ddb66f0f

View File

@ -38,6 +38,17 @@ device_db = {
"class": "TTLInOut",
"arguments": {"channel": 2}
},
"converter_spi": {
"type": "local",
"module": "artiq.coredevice.spi",
"class": "NRTSPIMaster",
},
"ad9154_spi": {
"type": "local",
"module": "artiq.coredevice.ad9154_spi",
"class": "AD9154",
"arguments": {"spi_device": "converter_spi", "chip_select": 1}
},
"sawg0": {
"type": "local",
"module": "artiq.coredevice.sawg",