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
resources:eval:user-guides:circuits-from-the-lab:cn0511 [09 Aug 2022 04:47] – [Installation of Latest Lib-IIO and Other Requirements Needed to Run the Example] erbe reytaresources:eval:user-guides:circuits-from-the-lab:cn0511 [26 Apr 2023 01:14] (current) – [Pyadi-IIO] erbe reyta
Line 1: Line 1:
-======EVAL-CN0511-RPIZ User Guide======+====== EVAL-CN0511-RPIZ User Guide ====== 
 ===== Overview ===== ===== Overview =====
 +
 Instruments that operate at RF range with features like low distortion, ultra low phase noise, and portable signal generator are difficult to provide at reasonable cost. Instruments that operate at RF range with features like low distortion, ultra low phase noise, and portable signal generator are difficult to provide at reasonable cost.
  
-The system shown below in Figure 1 is an entirely self-contained DC to GHz signal generator. It only requires the Raspberry Pi (RPi) to operate. The RF digital-to-analog converter (DAC), controlled using a 100 MHz Serial Peripheral Interface (SPI) from the RPi, allows for single tone, phase coherent, and fast frequency hopping across the spectrum. All the clocking requirements are generated using an on-board crystal, so no external clock source is needed. All the necessary power rails are also converted from the RPi into various supply voltage requirements of the RF signal generator.   +The system shown below in Figure 1 is an entirely self-contained DC to 5.5 GHz signal generator. It only requires the Raspberry Pi (RPi) to operate. The RF digital-to-analog converter (DAC), controlled using a 100 MHz Serial Peripheral Interface (SPI) from the RPi, allows for single tone, phase coherent, and fast frequency hopping across the spectrum. All the clocking requirements are generated using an on-board crystal, so no external clock source is needed. All the necessary power rails are also converted from the RPi into various supply voltage requirements of the RF signal generator.  
- +
-The system is designed to simplify the input requirements, optimize signal paths, and reduce external cables and components. This circuit can act as a standalone laboratory equipment or can be incorporated as a module into automatic test equipment. Its small size makes it particularly attractive when multiple channels are required. This RPi-compatible solution makes high speed signal generation more accessible and economical. +
  
 +The system is designed to simplify the input requirements, optimize signal paths, and reduce external cables and components. This circuit can act as a standalone laboratory equipment or can be incorporated as a module into automatic test equipment. Its small size makes it particularly attractive when multiple channels are required. This Raspberry Pi compatible solution makes high speed signal generation more accessible and economical. 
  
 {{ :resources:eval:user-guides:circuits-from-the-lab:cn0511:cn0511_angle_view.png?400 |}} {{ :resources:eval:user-guides:circuits-from-the-lab:cn0511:cn0511_angle_view.png?400 |}}
- 
  
 <wrap center 50%> <wrap center 50%>
 //<fc #c0c0c0>Figure 1. EVAL-CN0511-RPIZ Evaluation Board</fc>// //<fc #c0c0c0>Figure 1. EVAL-CN0511-RPIZ Evaluation Board</fc>//
 </wrap> </wrap>
-----+
 ===== Features ===== ===== Features =====
-  * Supports RF signal synthesis and pulse modulation of up to GHz + 
 +  * Supports RF signal synthesis up to 5.5 GHz 
 +  * +/-0.5 dB calibrated output power across the operating bandwidth 
 +    * From 0 dBm to -40 dBm
   * High dynamic range and signal reconstruction bandwidth   * High dynamic range and signal reconstruction bandwidth
   * Fully supports zero intermediate frequency (IF) and other dc-coupled applications   * Fully supports zero intermediate frequency (IF) and other dc-coupled applications
-  * Exceptional spectral flatness and output return loss 
   * On-board free-running 122.88 MHz precision oven-controlled crystal oscillator (OCXO)   * On-board free-running 122.88 MHz precision oven-controlled crystal oscillator (OCXO)
-  * Supports both local touchscreen (TFT LCD screens) and HDMI display 
   * Features low output ripple with low output capacitance   * Features low output ripple with low output capacitance
-  * Available SPI, USB, and Ethernet communication interfaces 
-  * No bulky heat sinks required 
-===== Documents Needed ===== 
  
-  * [[adi>cn0511|CN0511]] Circuit Note+===== Hardware Configuration =====
  
-===== Equipment Required ===== +==== Block Assignments ====
-  * **Hardware** +
-    * EVAL-CN0511-RPIZ Circuit Evaluation Board +
-    * Raspberry Pi 3B or higher version +
-    * 5 V, 2.5 A power supply or higher with micro USB connector +
-    * SMA Cable ([[https://www.pasternack.com/images/ProductPDF/PE39423-12.pdf|PE39423-12]] or with similar specification) +
-    * 16 GB or larger SD card +
-    * USB keyboard and mouse +
-    * HDMI to HDMI cable  +
-    * Monitor with HDMI port +
-  * **Software** +
-    * Analog Devices Kuiper Linux image +
-\\ +
----- +
-===== Block Assignments =====+
  
 {{ :resources:eval:user-guides:circuits-from-the-lab:cn0511:block_terminal_assignment_v2.png?400 |Figure 2. EVAL-CN0511-RPIZ Block Terminal Assignments}} {{ :resources:eval:user-guides:circuits-from-the-lab:cn0511:block_terminal_assignment_v2.png?400 |Figure 2. EVAL-CN0511-RPIZ Block Terminal Assignments}}
Line 50: Line 34:
 </wrap> </wrap>
  
-\\ 
   * Connector **P1** is the terminal block for optional external +5 V input supply.   * Connector **P1** is the terminal block for optional external +5 V input supply.
   * Connector **P2** is the 40-pin connector for Raspberry Pi.   * Connector **P2** is the 40-pin connector for Raspberry Pi.
   * Connector **P3** is the terminal block for optional external +3.3 V input supply.   * Connector **P3** is the terminal block for optional external +3.3 V input supply.
 +  * Connector **P4** is the fan connector for the AD9166.
   * Connector **J1** is the RF output from the EVAL-CN0511-RPIZ.   * Connector **J1** is the RF output from the EVAL-CN0511-RPIZ.
-  * Connector **J2** is the External Clock Reference RF input for the EVAL-CN0511-RPIZ.  +  * Connector **J2** is the optional external clock reference RF input for the EVAL-CN0511-RPIZ.
-\\ +
------- +
-===== Running the System =====  +
-{{ :resources:eval:user-guides:circuits-from-the-lab:cn0511:eval-cn0511_test_block_diagram.jpg?500 |Figure 3. Test Setup Functional Block Diagram}} +
-<wrap center 50%> +
-//<fc #c0c0c0>Figure 3. Test Setup Functional Block Diagram</fc>// +
-</wrap> +
-{{ :resources:eval:user-guides:circuits-from-the-lab:cn0511:cn0511_system_set_up_v2.png?800 |Figure 4. Hardware Connections of CN0511}}+
  
-<wrap center 50%> +==== Onboard Clock Reference ====
-//<fc #c0c0c0>Figure 4. Hardware Connections of CN0511</fc>// +
-</wrap>+
  
-To set up the circuit for evaluation, follow these steps: +The CN0511 reference design board is supplied with an ultra low phase noise CMOS, voltage-controlled crystal clock oscillator.  The CN0511 has a solder jumper (JP1) which configures different settings for the clock source, as shown below. The default position of JP1 is set at A-COM, which is the onboard clocking option.
-  - Connect the EVAL-CN0511-RPIZ to the Raspberry Pi through the 40-pin connector. +
-  - Burn the SD card with the proper Analog Devices, Inc. Kuiper Linux image. Insert the burned SD card on the designated slot on the RPi. +
-  - Connect the system to a monitor using an HDMI cable through the mini HDMI connector on the RPi. +
-  - Connect a USB keyboard and mouse to the RPi through the USB ports. +
-  - Connect the RF load/signal analyzer to the dedicated output connectors from the EVAL-CN0511-RPIZ. +
-  - Power on the RPi by plugging in a 5 V power supply with micro-USB connector. +
-  - Open the terminal and configure the device tree overlay file. See software section for detailed instructions. Make sure to reboot the RPi after saving the config.txt file. +
-<note> +
-  - An optional external +5 V power supply can be used to power the EVAL-CN0511-RPIZ and the RPi. +
-  - An external clock source can be used for system clock reference.  +
-</note> +
- +
----- +
-===== Solder Jumper Settings and Configuration ===== +
-The CN0511 reference design board is supplied with an ultra low phase noise CMOS, voltage-controlled crystal clock oscillator. If the performance requirements cannot be met, an external option is available, which is limited of up to 500 MHz clock source input. This external clock source can be connected through the on-board SMA port.  +
- +
-The CN0511 has a solder jumper (JP1) which configures different settings for the clock source, as shown below. The default position of JP1 is set at A-COM.+
  
 {{ :resources:eval:user-guides:circuits-from-the-lab:cn0511:clock_source.png?800 |Figure 5. EVAL-CN0511-RPIZ Clock Source Schematic Diagram}} {{ :resources:eval:user-guides:circuits-from-the-lab:cn0511:clock_source.png?800 |Figure 5. EVAL-CN0511-RPIZ Clock Source Schematic Diagram}}
 <wrap center 50%> <wrap center 50%>
-//<fc #c0c0c0>Figure 5. EVAL-CN0511-RPIZ Clock Source Schematic Diagram</fc>//+//<fc #c0c0c0>Figure 3. EVAL-CN0511-RPIZ Clock Source Schematic Diagram</fc>//
 </wrap> </wrap>
-{{ :resources:eval:user-guides:circuits-from-the-lab:cn0511:cn0511_top_view.png?500 |Figure 6. EVAL-CN0511-RPIZ Clock Source Assignment}} 
  
-<wrap center 50%> +=== External Clock Reference Option ===
-//<fc #c0c0c0>Figure 6. EVAL-CN0511-RPIZ Clock Source Assignment</fc>// +
-</wrap> +
-------- +
-===== Hardware Setup =====+
  
 +An external clock reference can be used to generate external clock reference to improve system noise.  If the performance requirements cannot be met, an external option is available, which is limited of up to 500 MHz clock source input. This external clock source can be connected through the on-board SMA port(J2). 
  
-==== Setting up and Connecting the Raspberry Pi ==== +<note important> 
-RPi connects to the EVAL-CN0511-RPIZ through 40-pin connector P2. +To use an external single-ended reference input (REFIN) up to 500 MHz, connect a single-ended low noise source to REFINSet solder link JP1 to B–COM to switch the clock reference from the on-board OCXO to an external clock source. 
-{{ :resources:eval:user-guides:circuits-from-the-lab:cn0511:cn0511_rpi_v1.jpg?600 |Figure 7. Hardware Connection of EVAL-CN0511-RPIZ and Raspberry Pi 3 Model B+}+</note>
  
 +==== RF Output ====
  
 +A spectrum analyzer can be can be used to observe the generated RF output from J1 on the EVAL-CN0511-RPIZ.
  
 +{{ :resources:eval:user-guides:circuits-from-the-lab:cn0511:cn0511_sma_input_output_v2.jpg?600 |Input and Output Connection Guide of CN0511 with a Spectrum Analyzer and External Clock Source}}
  
 <wrap center 50%> <wrap center 50%>
-//<fc #c0c0c0>Figure 7Hardware Connection of EVAL-CN0511-RPIZ and Raspberry Pi 3 Model B+</fc>// +//<fc #c0c0c0>Figure 4RF Output and Optional External Clock Input Connections</fc>// 
-\\ +</wrap> 
-==== Input Supply ==== + 
-Power to the EVAL-CN0511-RPIZ can be connected through the two-pole screw terminal P1 or from the RPi +5 V supply. Only one input power supply is required+==== Connecting the Fan ==== 
-{{ :resources:eval:user-guides:circuits-from-the-lab:cn0511:cn0511_power_supply_options.png?600 |Input Power Supply Connection Options of CN0511}}+ 
 +The AD9166 is a high power device that can dissipate nearly 4 W depending on the user application and configuration.  ​The EVAL-CN0511-RPIZ ​has a high cooling requirement; therefore, the fan should always be on to regulate the temperature below 60 degrees Celsius
 +{{ :resources:eval:user-guides:circuits-from-the-lab:cn0511:heat_sink_v2.jpg?600 |Cooling Management Guide of CN0511}}
 <wrap center 50%> <wrap center 50%>
-//<fc #c0c0c0>Figure 7Input Power Supply Connection Options of CN0511</fc>//+//<fc #c0c0c0>Figure 5. CN0511 Fan and Thermal Management</fc>//
 </wrap> </wrap>
-\\ 
-==== Input/ Output Connections ==== 
-=== RF Output === 
-== A spectrum analyzer can be can be used to observe the generated RF output from J1 on the EVAL-CN0511-RPIZ. == 
-=== External Clock Reference Option === 
-== An external clock reference can be used to generate external clock reference to improve system noise. == 
  
-{{ :resources:eval:user-guides:circuits-from-the-lab:cn0511:cn0511_sma_input_output_v2.jpg?600 |Input and Output Connection Guide of CN0511 with a Spectrum Analyzer and External Clock Source}}+==== Input Supply ====
  
 +Power to the EVAL-CN0511-RPIZ comes directly from the Raspberry Pi +5 V supply provided by the USB cable.  There is an optional +5V external supply coming from the two-pole screw terminal(P1). Only one input power supply is required and the Raspberry Pi USB cable is the recommended method.
 +{{ :resources:eval:user-guides:circuits-from-the-lab:cn0511:cn0511_power_supply_options.png?600 |Input Power Supply Connection Options of CN0511}}
 <wrap center 50%> <wrap center 50%>
-//<fc #c0c0c0>Figure 8. Input and Output Connection Guide of CN0511 Raspberry Pi with a Spectrum Analyzer and External Clock Source</fc>//+//<fc #c0c0c0>Figure 6CN0511 Input Power Supply Connection Options</fc>//
 </wrap> </wrap>
  
-<note important> +===== System Setup ===== 
-To use an external single-ended reference input (REFIN) up to 500 MHzconnect a single-ended low noise source to REFINSet solder link JP1 to B–COM to switch the clock reference from the on-board OCXO to an external clock source.  </note+ 
-\\ +==== Equipment Required ==== 
-==== Connecting a fan ==== + 
-The AD9166 is a high power device that can dissipate nearly 4 W depending on the user application and configuration.  ​The EVAL-CN0511-RPIZ ​has a high cooling requirement; therefore, the fan should always be on to regulate the temperature below 60 degrees Celsius. +**Hardware** 
-{{ :resources:eval:user-guides:circuits-from-the-lab:cn0511:heat_sink_v2.jpg?600 |Cooling Management Guide of CN0511}}+  * EVAL-CN0511-RPIZ Circuit Evaluation Board 
 +  * Raspberry Pi 3B or higher version 
 +  * 5 V2.5 A power supply or higher with micro USB connector 
 +  * SMA Cable ([[https://www.pasternack.com/images/ProductPDF/PE39423-12.pdf|PE39423-12]] or with similar specification) 
 +  * 16 GB or larger SD card 
 +  * USB keyboard and mouse 
 +  * HDMI to HDMI cable  
 +  * Monitor with HDMI port 
 +**Software** 
 +  * Analog Devices Kuiper Linux image 
 +**Documentation** 
 +  * [[adi>cn0511|CN0511]] Circuit Note 
 + 
 +==== System Block Diagram ==== 
 + 
 +{{ :resources:eval:user-guides:circuits-from-the-lab:cn0511:eval-cn0511_test_block_diagram.jpg?500 |Figure 3. Test Setup Functional Block Diagram}}
 <wrap center 50%> <wrap center 50%>
-//<fc #c0c0c0>Figure 9Cooling Management Guide of CN0511</fc>//+//<fc #c0c0c0>Figure 7Functional System Block Diagram</fc>//
 </wrap> </wrap>
  
-<note>Connector P4 is the terminal block for optional external +5 V input supply.</note> +==== Running the System ====
-\\+
  
----- +To set up the complete system, follow these steps: 
-===== Example of System Setup ===== +  Connect the EVAL-CN0511-RPIZ to the Raspberry Pi through the 40-pin connector.{{ :resources:eval:user-guides:circuits-from-the-lab:cn0511:cn0511_rpi_v1.jpg?600 |Figure 8. Hardware Connection of EVAL-CN0511-RPIZ and Raspberry Pi 3 Model B+}}<wrap center 50%>//<fc #c0c0c0>Figure 8. Hardware Connection of EVAL-CN0511-RPIZ and Raspberry Pi 3 Model B+</fc>//</wrap> 
-{{ :resources:eval:user-guides:circuits-from-the-lab:cn0511:sample_setup_v2.jpg?600 |Overall System Setup Overview of CN0511}}+  - Burn the SD card with the proper Analog Devices, Inc. Kuiper Linux image. Insert the burned SD card on the designated slot on the Raspberry Pi. 
 +  - Connect the system to a monitor using an HDMI cable through the mini HDMI connector on the Raspberry Pi. 
 +  - Connect a USB keyboard and mouse to the RPi through the USB ports. 
 +  - Connect the RF load/signal analyzer to the dedicated output connectors from the EVAL-CN0511-RPIZ. 
 +  - Power on the RPi by plugging in a 5 V power supply with micro-USB connector. 
 +  - Open the terminal and configure the device tree overlay file. See software section for detailed instructions. Make sure to reboot the RPi after saving the config.txt file. 
 + 
 +{{ :resources:eval:user-guides:circuits-from-the-lab:cn0511:sample_setup_v2.jpg?600 |CN0511 System Setup}}
 <wrap center 50%> <wrap center 50%>
-//<fc #c0c0c0>Figure 10Overall System Setup Overview of CN0511</fc>//+//<fc #c0c0c0>Figure 9CN0511 System Setup</fc>//
 </wrap> </wrap>
  
-For the device to run, the SD card should have a preinstalled OS, which is the Analog Devices Kuiper Linux, a distribution based on Raspbian for the Raspberry Pi.  +===== Software Setup =====
-It incorporates Linux device drivers for ADI products and is created with ease of use in mind.  +
-The reasoning behind creating this distribution is to minimize the barriers to integrating ADI hardware devices into a Linux-based system.+
  
-If a remote access in the device is required in an application,​ the CN0511 can be accessed through ​remote PC connected ​either via LAN cable or Wi-Fi+For the device to run, the SD card should be loaded with Analog Devices Kuiper Linux, a distribution based on Raspbian from the Raspberry Pi Foundation.  It incorporates Linux device drivers for ADI products as well as tools and other software products designed and created with ease of use in mind.  The reasoning behind creating this distribution is to minimize the barriers to integrating ADI hardware devices into Linux-based embedded system.
  
-Once the device has been set up, the generated RFoutput from the CN0511 can be viewed at its output terminal.+Access to the embedded system can be through ​a remote PC connected ​either via LAN cable or Wi-Fi
  
 +==== Downloading and Flashing Kuiper Linux Image on SD Card ====
  
-\\ +In order to control the **EVAL-CN0511-RPIZ** from the Raspberry Pi, you will need to install ADI Kuiper Linux on an SD card. Complete instructions, including where to download the SD card image, how to write it to the SD card, and how to configure the system are provided at **[[:resources:tools-software:linux-software:kuiper-linux |Kuiper Images]]**. Write the image and follow the system configuration procedure.
----- +
- +
-===== Software Setup ===== +
-==== Loading CN0511 Image on SD Card ==== +
-In order to control the **EVAL-CN0511-RPIZ** from the Raspberry Pi, you will need to install ADI Kuiper Linux on an SD card. Complete instructions, including where to download the SD card image, how to write it to the SD card, and how to configure the system are provided at **[[:resources:tools-software:linux-software:embedded_arm_images|Kuiper Images]]**. Write the image and follow the system configuration procedure.+
    
 {{ :university:labs:software:iio_intro_toolbox:command_prompt.png?400 |}} {{ :university:labs:software:iio_intro_toolbox:command_prompt.png?400 |}}
  
 +==== Configuring the SD Card for the CN0511 ====
  
-==== Configuring the SD Card ==== 
 For the Linux kernel to identify the device connected to the expansion header, update the device tree overlay. A **Device Tree Overlay** contains information about additional connected hardware, the EVAL-CN0511-RPIZ for this case. The overlay file is already included in the SD card and just needs to be matched to the EVAL-CN0511-RPIZ. For the Linux kernel to identify the device connected to the expansion header, update the device tree overlay. A **Device Tree Overlay** contains information about additional connected hardware, the EVAL-CN0511-RPIZ for this case. The overlay file is already included in the SD card and just needs to be matched to the EVAL-CN0511-RPIZ.
  
-Follow the Hardware Configuration procedure under **Preparing the Image: Raspberry Pi** in the [[:resources:tools-software:linux-software:embedded_arm_images|Kuiper Images]] page, substituting the following lines in **config.txt**:+Follow the Hardware Configuration procedure under **Preparing the Image: Raspberry Pi** in the [[:resources:tools-software:linux-software:kuiper-linux |Kuiper Images]] page, substituting the following lines in **config.txt**:
  
 This brings up the file in the terminal. Scroll down until the line that begins with "dtoverlay" is found; then, whatever it currently is, change it to: This brings up the file in the terminal. Scroll down until the line that begins with "dtoverlay" is found; then, whatever it currently is, change it to:
Line 186: Line 155:
 </code> </code>
  
-\\+===== Graphical User Interface(GUI) and Example Python Scripts =====
  
 +There are two main tools which a user has the option to interact with the EVAL-CN0511-RPIZ.
 +  * IIO Oscilloscope
 +  * Python (via Pyadi-iio)
  
-==== Installation of Latest Lib-IIO and Other Requirements Needed to Run the Example ====+==== Software Control and Diagnostics via IIO Oscilloscope ====
  
-<note important>+The EVAL-CN0511-RPIZ can be evaluated using IIO Oscilloscope. Customers can use the CN0511 plug-in tab, debug tab, and the DMM tab. Various controls and diagnostics are available in these plug-ins.
  
 +=== CN0511 IIO Oscilloscope Plug-in ===
  
-Step 1Installation of the latest libad9166-iio+The CN0511 plug-in tab provides a simple user interface to control the EVAL-CN0511-RPIZ as a signal generator. 
 +{{ :resources:eval:user-guides:circuits-from-the-lab:cn0511:iio_scope_v1.jpg?600 |}}
  
-<code+<wrap center 50%
-git clone https://github.com/analogdevicesinc/libad9166-iio +//<fc #c0c0c0>Figure 10Graphical User Interface (GUI) window of ADI IIO Oscilloscope with CN0511 Plug-in</fc>// 
-</code>+</wrap>
  
-<code> +**Single Tone Mode** 
-cd libad9166-iio +  * **Frequency (MHz)**: Set the desired output signal frequency to be produced by the AD9166. 
-</code>+  * **Amplitude (dB)**: Adjust the RF signal amplitude of the AD9166 output. 
 +  * **Enter**: Provides a Calibrated RF signal output from the AD9166.   
 +**DAC Amplifier** 
 +  * **Enable**: Enable/Disable the AD9166 RF signal output.
  
-<code> +=== Debug Tab ===
-cmake ./CMakeLists.txt +
-</code>+
  
-<code> +The debug tab provides direct access to IIO device and channel attributes, as well as the registers of the CN0511 components. The IIO attributes and registers can be read and written for advanced configuration and information.
-make +
-</code>+
  
-<code> +=== DMM Tab ===
-sudo make install +
-</code>+
  
-<code> +The DMM tab provides temperature readings for ADF4372 and AD9166 using internal temperature sensors on both devices.
-cd bindings/python +
-</code>+
  
-<code> +=== DAC Data Manager ===
-sudo pip install -r requirements_dev.txt +
-</code>+
  
-<code> +The DAC Data Manager set the DAC output scale for AD5693r that sets the bias on the on-board crystal oscillator.
-cmake ./CMakeLists.txt +
-</code>+
  
-<code> +==== Pyadi-IIO ====
-sudo make +
-</code> +
- +
-<code> +
-sudo make install +
-</code> +
- +
-Step 2: Clone the latest pyadi-iio from github +
-<code> +
-git clone https://github.com/analogdevicesinc/pyadi-iio +
-</code> +
- +
-Step 3: Installation of libatlas-base-dev linux packages +
-<code> +
-sudo apt-get install libatlas-base-dev  +
-</code> +
- +
-Then choose 'Y' if were asked to continue.   +
- +
-<note> +
-Enter the password “analog” whenever asked for it during the installation process +
-</note> +
- +
-</note> +
-After all these requirements has been loaded in the Raspberry Pi, example found in ~/home/analog/pyadi-iio/examples for CN0511 can now be executed. +
- +
-==== PyADI-IIO ====+
  
 [[/resources/tools-software/linux-software/pyadi-iio|PyADI-IIO]] is a python abstraction module for ADI hardware with IIO drivers to make them easier to use. This module provides device-specific APIs built on top of the current libIIO python bindings. These interfaces try to match the driver naming as much as possible without the need to understand the complexities of libIIO and IIO.\\ [[/resources/tools-software/linux-software/pyadi-iio|PyADI-IIO]] is a python abstraction module for ADI hardware with IIO drivers to make them easier to use. This module provides device-specific APIs built on top of the current libIIO python bindings. These interfaces try to match the driver naming as much as possible without the need to understand the complexities of libIIO and IIO.\\
- 
  
  
 === Running the Example === === Running the Example ===
  
-This demo uses a PyADI-IIO example script.  This scripts will show the single-tone frequency with calibrated output power in dBm.+This demo uses a PyADI-IIO example script.  This script will show the single-tone frequency with calibrated output power in dBm.
   - Connect the [[ADI>EVAL-CN0511-RPIZ]] to the Raspberry Pi.   - Connect the [[ADI>EVAL-CN0511-RPIZ]] to the Raspberry Pi.
   - Open command prompt or terminal and navigate through the examples folder inside the downloaded or cloned //pyadi-iio// directory.   - Open command prompt or terminal and navigate through the examples folder inside the downloaded or cloned //pyadi-iio// directory.
Line 274: Line 211:
 [[https://github.com/analogdevicesinc/pyadi-iio/blob/master/examples/cn0511_example.py|CN0511 Python Example]] [[https://github.com/analogdevicesinc/pyadi-iio/blob/master/examples/cn0511_example.py|CN0511 Python Example]]
 </WRAP> </WRAP>
------------- 
- 
- 
- 
- 
- 
- 
- 
-===== Software User Interface and Example Code ===== 
- 
-The RPI_demo_cn0511 provides a solution for controlling RF output power and tuning from DC up to 6 GHz, using the EVAL-CN0511-RPIZ hat installed on an RPi base board. The user interface is implemented through wired and wireless  connection.  
- 
-==== Electronic Control and Diagnostics via IIO Oscilloscope ==== 
-The EVAL-CN0511-RPIZ can be evaluated with the IIO Oscilloscope. Customers can use the CN0511 plug-in tab, debug tab, and the DMM tab. Various controls and diagnostics are available in these plug-ins. 
- 
-=== CN0511 IIO Oscilloscope Plug-in === 
-The CN0511 plug-in tab provides a simple user interface to control the EVAL-CN0511-RPIZ as a signal generator. 
-{{ :resources:eval:user-guides:circuits-from-the-lab:cn0511:iio_scope_v1.jpg?600 |}} 
- 
-<wrap center 50%> 
-//<fc #c0c0c0>Figure 11. Graphical User Interface (GUI) window of ADI IIO Oscilloscope with CN0511 Plug-in</fc>// 
-</wrap> 
- 
-  * **Single Tone Mode** 
-     * **Frequency (MHz)**: Set the desired output signal frequency to be produced by the AD9166. 
-     * **Amplitude (dB)**: Adjust the RF signal amplitude of the AD9166 output. 
-     * **Enter**: Provides a Calibrated RF signal output from the AD9166.   
-  * **DAC Amplifier** 
-     * **Enable**: Enable/Disable the AD9166 RF signal output. 
- 
-=== Debug Tab === 
-The debug tab provides direct access to IIO device and channel attributes, as well as the registers of the CN0511 components. The IIO attributes and registers can be read and written for advanced configuration and information. 
- 
-=== DMM Tab === 
-The DMM tab provides temperature readings for ADF4372 and AD9166 using internal temperature sensors on both devices. 
- 
-=== DAC Data Manager === 
-The DAC Data Manager set the DAC output scale for AD5693r that sets the bias on the on-board crystal oscillator. 
----------- 
  
 ===== Schematic, PCB Layout, Bill of Materials ===== ===== Schematic, PCB Layout, Bill of Materials =====
Line 325: Line 223:
  
 ===== Reference Demos & Software ===== ===== Reference Demos & Software =====
 +
   * [[https://github.com/analogdevicesinc/pyadi-iio|pyADI-IIO]]   * [[https://github.com/analogdevicesinc/pyadi-iio|pyADI-IIO]]
   * [[https://github.com/analogdevicesinc/libad9166-iio|AD9166 IIO]]   * [[https://github.com/analogdevicesinc/libad9166-iio|AD9166 IIO]]
   * [[:resources:tools-software:linux-software:pyadi-iio|PyADI-IIO Installation Guide]]   * [[:resources:tools-software:linux-software:pyadi-iio|PyADI-IIO Installation Guide]]
   * [[:resources:tools-software:linux-software:iio_oscilloscope|IIO Oscilloscope Installation Guide]]   * [[:resources:tools-software:linux-software:iio_oscilloscope|IIO Oscilloscope Installation Guide]]
-  * [[:resources:tools-software:linux-software:embedded_arm_images|Kuiper Images]] +  * [[:resources:tools-software:linux-software:kuiper-linux |Kuiper Images]]
- +
  
 ===== More Information and Useful Links  ===== ===== More Information and Useful Links  =====
Line 349: Line 246:
   * [[ADI>LTM4622|LTM4622 Product Page]]   * [[ADI>LTM4622|LTM4622 Product Page]]
  
-=====Registration===== +=====Registration===== 
 <WRAP round tip 80% > <WRAP round tip 80% >
-Receive software update notifications, documentation updates, view the latest videos, and more when you register your hardware.  [[reg>EVAL-CN0511-RPIZ?&v=RevD|Register]] to receive all these great benefits and more!</WRAP> +Receive software update notifications, documentation updates, view the latest videos, and more when you register your hardware.  [[reg>EVAL-CN0511-RPIZ?&v=RevD|Register]] to receive all these great benefits and more! 
 +</WRAP>
  
 //End of Document// //End of Document//
resources/eval/user-guides/circuits-from-the-lab/cn0511.1660013240.txt.gz · Last modified: 09 Aug 2022 04:47 by erbe reyta