This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
resources:tools-software:fm-radio [20 Feb 2014 17:12] – created Paul Cercueil | resources:tools-software:fm-radio [14 Mar 2016 22:29] (current) – fix typo Robin Getz | ||
---|---|---|---|
Line 9: | Line 9: | ||
**FM channels:** | **FM channels:** | ||
* either 200 kHz wide, with a frequency deviation limited to 150 kHz total, | * either 200 kHz wide, with a frequency deviation limited to 150 kHz total, | ||
- | * or 100 kHz wide, with a frequency deviation limited to 75 MHz total. | + | * or 100 kHz wide, with a frequency deviation limited to 75 KHz total. |
===== The sysfs interface ===== | ===== The sysfs interface ===== | ||
Line 54: | Line 54: | ||
This test has been realized with a [[http:// | This test has been realized with a [[http:// | ||
- | [[http:// | + | [[adi>ad-fmcomms3-ebz|AD-FMCOMMS3-EBZ]] |
module. | module. | ||
Line 66: | Line 66: | ||
{{: | {{: | ||
- | * **RX LO Frequency**: | + | * **RX LO Frequency**: |
* **RF Baudwidth**: | * **RF Baudwidth**: | ||
* **Sampling rate**: the number of samples you want to capture (in millions per second). Here we set this to 22, so that we get a resolution of approximatively one hertz. | * **Sampling rate**: the number of samples you want to capture (in millions per second). Here we set this to 22, so that we get a resolution of approximatively one hertz. | ||
Line 84: | Line 84: | ||
echo fast_attack > / | echo fast_attack > / | ||
- | Then, the **iio_fm_radio** tool will playback the desired channel: | + | Then, the **iio_fm_radio_play** tool will playback the desired channel |
- | iio_fm_radio 95.5 | + | iio_fm_radio_play 95.5 |
+ | |||
+ | To directly get access to the audio waveform data the **iio_fm_radio** tool can be used. This tool outputs the audio data (in 16-bit mono at 48kHz) on standard output from where it can be taken and further processed. E.g. the following command plays back the stream on the headphone jack of the ZED board. | ||
+ | iio_fm_radio 95.5 | aplay -D default: |