Hi all,

I'm still working on Digilent Digital Discovery device but I've some doubt and 
maybe someone can point me how to do it because I wasn't able to found it.

I need to change the samples rates list (SR_CONF_SAMPLERATE) and limit samples 
list (SR_CONF_LIMIT_SAMPLES) based on number of channel enable/disabled.

This is necessary due the sampling rate and limit samples in this device 
depends on number of channels configured/used.

- 32 channels enabled can capture up to 200MHz and 64M samples
- 16 channels enabled can capture up to 400MHz and 128M samples
- 8 channels enabled can capture up to 800MHz and 256M samples

One solution could do the inverse and disable the channels based on sample 
rate. The device has 32 channels.

- Sample rate 800Mhz disable channel 8-31
- Sample rate 400Mhz disable channel 16-31

The problem with this solution is that I force always to capture 32 channels 
and limit to 64M for other configurations and is less flexible.

Other solutions are welcome :D

More info: 
https://digilent.com/reference/test-and-measurement/digital-discovery/reference-manual
Thanks

Marc - BZ17 Development

[image]

Enviat amb el correu segur de [Proton Mail](https://proton.me/).
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to