urukul: add note on clk_div with pll disabled #9

Merged
esavkin merged 1 commits from mwojcik/assembly:urukul_fix into master 2024-02-16 12:31:34 +08:00
1 changed files with 22 additions and 1 deletions
Showing only changes of commit 9929476733 - Show all commits

View File

@ -148,4 +148,25 @@ matches real clocker source.
ValueError: Urukul AD9910 AUX_DAC mismatch ValueError: Urukul AD9910 AUX_DAC mismatch
``` ```
Ensure it is the AD9910 and not the AD9912. Also check SUServo pins are set up respective to the JSON description. Ensure it is the AD9910 and not the AD9912. Also check SUServo pins are set up respective to the JSON description.
### Jagged signal with 1GHz external clock on AD9910
By default, on AD9910 external clock signal is divided by 4, while it should be not divided at all with PLL disabled.
Change the ``clk_div`` parameter to the CPLD in the device_db file:
```python
device_db["urukulX_cpld"] = {
"type": "local",
"module": "artiq.coredevice.urukul",
"class": "CPLD",
"arguments": {
"spi_device": "spi_urukul0",
"sync_device": None,
"io_update_device": "ttl_urukul0_io_update",
"refclk": 1000000000.0,
"clk_sel": 1,
"clk_div" : 1 # <--- add this line
}
}
```