en:sdr-widget
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | en:sdr-widget [2024/10/10 19:41] (current) – created kaklik | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== SDR-Widget Digitization Unit ====== | ||
| + | The [[https:// | ||
| + | |||
| + | {{: | ||
| + | |||
| + | The entire device can also be built from MLAB kit modules. Specifically, | ||
| + | |||
| + | {{: | ||
| + | |||
| + | ===== Firmware Compilation ===== | ||
| + | | ||
| + | ==== AVR32 Toolchain ==== | ||
| + | |||
| + | Download the tool package and header files from the [[http:// | ||
| + | |||
| + | * Atmel AVR 32-bit Toolchain 3.4.2 - Linux 64-bit | ||
| + | * Atmel AVR 8-bit and 32-bit Toolchain (3.4.2) 6.1.3.1475 - Header Files | ||
| + | |||
| + | Unpack the toolchain into the directory // | ||
| + | |||
| + | Alternatively, | ||
| + | |||
| + | wget http:// | ||
| + | | ||
| + | Then continue with the following steps: | ||
| + | |||
| + | cd ~/Download | ||
| + | tar -xvzf avr32-tools_3.4.2.tar.bz2 | ||
| + | mv avr32-tools_3.4.2 $HOME/ | ||
| + | export PATH=$PATH: | ||
| + | |||
| + | Test the functionality and version of the toolchain with: | ||
| + | |||
| + | kaklik@popelnice: | ||
| + | avr32-gcc (AVR_32_bit_GNU_Toolchain_3.4.2_435) 4.4.7 | ||
| + | Copyright (C) 2010 Free Software Foundation, Inc. | ||
| + | This is free software; see the source for copying conditions. | ||
| + | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
| + | |||
| + | If the output is similar to the above, you can proceed with compiling the SDR-Widget. | ||
| + | |||
| + | ==== SDR-Widget Sources ==== | ||
| + | |||
| + | git clone https:// | ||
| + | cd sdr-widget/ | ||
| + | git checkout audio-widget-experimental | ||
| + | | ||
| + | Then compile the source code using the following command: | ||
| + | make sdr-widget | ||
| + | |||
| + | The result of the compilation will be utility programs and firmware, which will be uploaded to the MCU using the [[https:// | ||
| + | |||
| + | ===== Firmware Upload ===== | ||
| + | |||
| + | To upload the firmware, we need a modified dfu-programmer, | ||
| + | |||
| + | sudo apt-get install autotools-dev aclocal | ||
| + | git clone https:// | ||
| + | cd dfu-programmer-sdr-widget/ | ||
| + | ./ | ||
| + | ./configure | ||
| + | make | ||
| + | sudo make install | ||
| + | |||
| + | You can download an older compiled version of the firmware from [[https:// | ||
| + | |||
| + | wget https:// | ||
| + | |||
| + | Before running the upload script, press the BOOT button (unlabeled button, hold it down until the RESET button is pressed and released) and the RESET button on the AVR32TQ board. | ||
| + | |||
| + | sudo ./ | ||
| + | | ||
| + | For any modifications, | ||
| + | make clean | ||
| + | |||
| + | Then you can start the compilation again. | ||
| + | |||
| + | ===== Connecting MLAB SDR-Widget Modules ===== | ||
| + | |||
| + | For the basic SDR-Widget construction, | ||
| + | |||
| + | * [[cs: | ||
| + | * [[cs: | ||
| + | |||
| + | They are interconnected as follows: | ||
| + | |||
| + | === Power Supply 5V === | ||
| + | |||
| + | Red, Blue | ||
| + | |||
| + | '' | ||
| + | |||
| + | === I2S === | ||
| + | |||
| + | Yellow 10cm | ||
| + | |||
| + | '' | ||
| + | |||
| + | '' | ||
| + | |||
| + | '' | ||
| + | |||
| + | '' | ||
| + | |||
| + | |||
| + | === Sample Rate Select === | ||
| + | |||
| + | '' | ||
| + | |||
| + | '' | ||
| + | |||
| + | '' | ||
| + | |||
| + | '' | ||
| + | |||
| + | |||
| + | ==== When Connecting an External Oscillator ==== | ||
| + | |||
| + | This section describes the connection when using the [[cs: | ||
| + | |||
| + | === Power Supply 5V === | ||
| + | |||
| + | Red, Blue | ||
| + | |||
| + | '' | ||
| + | |||
| + | === Power Supply 3.3V === | ||
| + | |||
| + | Orange, Black | ||
| + | |||
| + | '' | ||
| + | |||
| + | === Clock Distribution === | ||
| + | |||
| + | SATA cable | ||
| + | |||
| + | '' | ||
| + | |||
| + | |||
| + | Yellow | ||
| + | |||
| + | '' | ||
| + | |||
| + | |||
| + | === I2C === | ||
| + | |||
| + | Brown | ||
| + | |||
| + | '' | ||
| + | |||
| + | White | ||
| + | |||
| + | '' | ||
| + | |||
| + | Blue | ||
| + | |||
| + | '' | ||
| + | |||
| + | |||
| + | === I2S === | ||
| + | |||
| + | '' | ||
| + | |||
| + | '' | ||
| + | |||
| + | '' | ||
| + | |||
| + | |||
| + | === Sample Rate Select === | ||
| + | |||
| + | '' | ||
| + | |||
| + | '' | ||
| + | |||
| + | '' | ||
| + | |||
| + | '' | ||
| + | |||
| + | ===== SDR-Widget Configuration ===== | ||
| + | |||
| + | The SDR-widget can be configured into several operating modes. The configuration is done using the WidgetControl.py utility. Before running it, install the necessary dependencies. | ||
| + | |||
| + | sudo apt-get install python-pythoncard python-usb | ||
| + | |||
| + | Run the configuration utility. | ||
| + | |||
| + | ~/ | ||
| + | | ||
| + | For standard use, such as inside a [[https:// | ||
| + | {{: | ||
| + | |||
| + | |||
| + | To apply the settings, disconnect and reconnect the SDR-widget to USB. | ||
| + | |||
| + | === References === | ||
| + | |||
| + | * | ||
| + | |||
| + | | ||
| + | * [[https:// | ||
| + | |||
| + | |||
| + | ===== Testing ===== | ||
| + | |||
| + | The easiest way to test the device is by connecting a signal generator to the input in the standard sound card mode. | ||
| + | The generator' | ||
| + | A signal amplitude of a few millivolts is sufficient even with a 1:1 transformer. | ||
| + | |||
| + | {{: | ||
| + | |||
| + | {{: | ||
| + | |||
| + | {{: | ||
| + | |||
| + | The software used to display the signal from the generator can be, for example, [[http:// | ||
| + | |||
| + | The test can also be performed without a generator using noise observable at the ADC input. The easiest display can be achieved using GNU Radio, which can be installed as follows: | ||
| + | |||
| + | sudo apt install gnuradio | ||
| + | |||
| + | Then download the test script. | ||
| + | |||
| + | svn co svn:// | ||
| + | |||
| + | Open the test script in GNU Radio: | ||
| + | |||
| + | | ||
| + | |||
| + | After running the script by pressing " | ||
| + | |||
| + | {{: | ||
| + | |||
| + | ===== Related Designs ===== | ||
| + | |||
| + | The SDR-widget digitization unit, thanks to its versatility, | ||
| + | |||
| + | * [[http:// | ||
| + | * [[cs: | ||
| + | * [[https:// | ||
| + | |||
| + | |||
| + | ===== TODO ===== | ||
| + | |||
| + | * Solve the issue of [[http:// | ||
en/sdr-widget.txt · Last modified: 2024/10/10 19:41 by kaklik
