Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
university:tools:pluto:controlling_the_transceiver_and_transferring_data [28 Apr 2017 16:06] – [Receiving data] Michael Hennerichuniversity:tools:pluto:controlling_the_transceiver_and_transferring_data [18 Dec 2020 17:55] (current) – Fix broken link to IIO High Speed doc Rob Riggs
Line 13: Line 13:
   * [[https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/ABI/testing | IIO Linux Kernel Documentation sysfs-bus-iio-*]]   * [[https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/ABI/testing | IIO Linux Kernel Documentation sysfs-bus-iio-*]]
   * [[http://git.kernel.org/?p=linux/kernel/git/gregkh/staging.git;a=tree;f=drivers/staging/iio/Documentation;hb=refs/heads/staging-next | IIO Documentation]]   * [[http://git.kernel.org/?p=linux/kernel/git/gregkh/staging.git;a=tree;f=drivers/staging/iio/Documentation;hb=refs/heads/staging-next | IIO Documentation]]
-  * [[http://events.linuxfoundation.org/sites/events/files/slides/iio_high_speed.pdf|IIO High Speed]]+  * [[https://events.static.linuxfound.org/sites/events/files/slides/iio_high_speed.pdf|IIO High Speed]]
   * [[http://ftp.heanet.ie/mirrors/fosdem-video/2015/devroom-software_defined_radio/iiosdr.mp4|Video from FOSDEM of how IIO is used in SDR applications]]   * [[http://ftp.heanet.ie/mirrors/fosdem-video/2015/devroom-software_defined_radio/iiosdr.mp4|Video from FOSDEM of how IIO is used in SDR applications]]
   * [[https://www.youtube.com/watch?v=CS9NuRBzN5Y|libiio API introduction presentation video]]   * [[https://www.youtube.com/watch?v=CS9NuRBzN5Y|libiio API introduction presentation video]]
Line 22: Line 22:
 It shows how to control the AD936x transceiver via a remote connection. It shows how to control the AD936x transceiver via a remote connection.
  
-  - Create IIO IP Network context. Instead of ip:xxx.xxx.xxx.xxx it'll also accept usb:XX.XX.X+  - Create IIO IP Network context. Instead of ''ip:xxx.xxx.xxx.xxx'' it'll also accept ''usb:XX.XX.X''
   - Get the AD936x PHY device structure   - Get the AD936x PHY device structure
   - Set the TX LO frequency (see [[resources:tools-software:linux-drivers:iio-transceiver:ad9361|AD9361 device driver documentation]])    - Set the TX LO frequency (see [[resources:tools-software:linux-drivers:iio-transceiver:ad9361|AD9361 device driver documentation]]) 
Line 29: Line 29:
 \\ \\
 <code c> <code c>
 +#include <iio.h>
 +
 int main (int argc, char **argv) int main (int argc, char **argv)
 { {
Line 46: Line 48:
  iio_device_find_channel(phy, "voltage0", false),  iio_device_find_channel(phy, "voltage0", false),
  "sampling_frequency",  "sampling_frequency",
- 50000000); /* RX baseband rate 50 MSPS */+ 5000000); /* RX baseband rate MSPS */
  
  receive(ctx);  receive(ctx);
university/tools/pluto/controlling_the_transceiver_and_transferring_data.1493388390.txt.gz · Last modified: 28 Apr 2017 16:06 by Michael Hennerich