From 39ddb66f0f92a2b9a55d582bd17f16b20eebec8b Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 20 Jun 2017 00:49:21 +0800 Subject: [PATCH] phaser: add AD9154 SPI access driver to example ddb --- artiq/examples/phaser/device_db.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/artiq/examples/phaser/device_db.py b/artiq/examples/phaser/device_db.py index e487e0711..9e1710351 100644 --- a/artiq/examples/phaser/device_db.py +++ b/artiq/examples/phaser/device_db.py @@ -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",