forked from M-Labs/artiq
1
0
Fork 0

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
1 changed files with 11 additions and 0 deletions

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",