SDR sampling rate - control or IOCTL?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello
I am adding new property for sampling rate that is ideally the only obligatory parameter required by SDR. It is value that could be only positive and bigger the better, lets say unsigned 64 bit is quite ideal. That value sets maximum radio frequency possible to receive (ideal SDR).

Valid values are not always in some single range from X to Y, there could be some multiple value ranges.

For example possible values: 1000-2000, 23459, 900001-2800000

Reading possible values from device could be nice, but not necessary. Reading current value is more important.

Here is what I though earlier as a requirements:

sampling rate
*  values: 1 - infinity (unit: Hz, samples per second)
     currently 500 MHz is more than enough
*  operations
     GET, inquire what HW supports
     GET, get current value
     SET, set desired value


I am not sure what is best way to implement that kind of thing.
IOCTL like frequency
V4L2 Control?
put it into stream format request?

Sampling rate is actually frequency of ADC. As there devices has almost always tuner too (practical SDR) there is need for tuner frequency too. As tuner is still own entity, is it possible to use same frequency parameter for both ADC and RF tuner in same device?

regards
Antti

--
http://palosaari.fi/
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux