This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
university:tools:pluto:hacking:power_amp [10 Jul 2019 23:17] – fix underscores Robin Getz | university:tools:pluto:hacking:power_amp [10 Jul 2019 23:27] – [Test Results] Robin Getz | ||
---|---|---|---|
Line 61: | Line 61: | ||
==== Test Results ==== | ==== Test Results ==== | ||
- | A small script on the Pluto will demonstrate: | + | A small script on the Pluto SDR (or host) will demonstrate: |
< | < | ||
#!/bin/sh | #!/bin/sh | ||
+ | # Setup : Put into TDD mode, and setup GPO0 and GPO1 | ||
iio_attr -q -a -D ad9361-phy adi, | iio_attr -q -a -D ad9361-phy adi, | ||
- | iio_attr -a -D ad9361-phy adi, | + | iio_attr |
- | iio_attr -a -D ad9361-phy adi, | + | iio_attr |
iio_attr -q -a -D ad9361-phy | iio_attr -q -a -D ad9361-phy | ||
while [ 1 ] ; do | while [ 1 ] ; do | ||
- | iio_attr -q -a -d ad9361-phy ensm_mode rx | + | |
- | iio_attr -q -a -d ad9361-phy ensm_mode tx | + | # capture buffer |
+ | | ||
+ | # transmit buffer | ||
done | done | ||
</ | </ |