The standard ADALM2000 uses a pll chip (ADF4360-9) to generate 100MHz clock for the ADC. I'd like to set the pll chip to output 80MHz ... which should be an easy!
However, the scopy client app seems to only set a specific decades of sampling rates i.e. 100, 10, 1 MSPS
From a terminal window into ADALM2000, I can observe the pll's sysfs attribute:
# ./cat_iio_device_pll_attributes
Running script cat_iio_device_pll_attributes
name
pll
out_altvoltage0_frequency
100000000
out_altvoltage0_mute_till_lock_detect
1
out_altvoltage0_muxout_mode
lock-detect
out_altvoltage0_pfd_frequency
5000000
out_altvoltage0_power_down
normal
out_altvoltage0_power_level
5000-uA
out_altvoltage0_refin_frequency
20000000
out_altvoltage_muxout_mode_available
three-state lock-detect ndiv dvdd rdiv od-ld sdo gnd
out_altvoltage_power_down_available
normal soft-async ce soft-sync regulator
out_altvoltage_power_level_available
3500-uA 5000-uA 7500-uA 11000-uA
This shows the kernel driver for pll reporting a 100MHz output. However if if try to write into anything other than 10000000 into out_altvoltage0_frequency scopy spectrum analyzer freezes ... but unfreezes if 100000000 is written.
# echo 100000000 > /sys/bus/iio/devices/iio:device3/out_altvoltage0_frequency
# echo 80000000 > /sys/bus/iio/devices/iio:device3/out_altvoltage0_frequency
# echo 100000000 > /sys/bus/iio/devices/iio:device3/out_altvoltage0_frequency
What can I do to see a spectrum from the ADC for sample rates other than the standard ones ?
DrFlute1