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 23:05] – streamlining the software section Brandon Busheyresources:eval:user-guides:circuits-from-the-lab:cn0511 [26 Apr 2023 01:14] (current) – [Pyadi-IIO] erbe reyta
Line 47: Line 47:
 {{ :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>
  
Line 65: Line 65:
  
 <wrap center 50%> <wrap center 50%>
-//<fc #c0c0c0>Figure 8. RF Output and Optional External Clock Input Connections</fc>//+//<fc #c0c0c0>Figure 4. RF Output and Optional External Clock Input Connections</fc>//
 </wrap> </wrap>
  
Line 73: Line 73:
 {{ :resources:eval:user-guides:circuits-from-the-lab:cn0511:heat_sink_v2.jpg?600 |Cooling Management Guide of CN0511}} {{ :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 9. CN0511 Fan and Thermal Management</fc>//+//<fc #c0c0c0>Figure 5. CN0511 Fan and Thermal Management</fc>//
 </wrap> </wrap>
  
Line 81: Line 81:
 {{ :resources:eval:user-guides:circuits-from-the-lab:cn0511:cn0511_power_supply_options.png?600 |Input Power Supply Connection Options of CN0511}} {{ :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 7. CN0511 Input Power Supply Connection Options</fc>//+//<fc #c0c0c0>Figure 6. CN0511 Input Power Supply Connection Options</fc>//
 </wrap> </wrap>
  
Line 106: Line 106:
 {{ :resources:eval:user-guides:circuits-from-the-lab:cn0511:eval-cn0511_test_block_diagram.jpg?500 |Figure 3. Test Setup Functional 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 3. Functional System Block Diagram</fc>//+//<fc #c0c0c0>Figure 7. Functional System Block Diagram</fc>//
 </wrap> </wrap>
  
Line 112: Line 112:
  
 To set up the complete system, follow these steps: To set up the complete system, follow these steps:
-  - 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 7. Hardware Connection of EVAL-CN0511-RPIZ and Raspberry Pi 3 Model B+}}<wrap center 50%>//<fc #c0c0c0>Figure 7. Hardware Connection of EVAL-CN0511-RPIZ and Raspberry Pi 3 Model B+</fc>//</wrap>+  - 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>
   - 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.   - 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 the system to a monitor using an HDMI cable through the mini HDMI connector on the Raspberry Pi.
Line 122: Line 122:
 {{ :resources:eval:user-guides:circuits-from-the-lab:cn0511:sample_setup_v2.jpg?600 |CN0511 System Setup}} {{ :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 10. CN0511 System Setup</fc>//+//<fc #c0c0c0>Figure 9. CN0511 System Setup</fc>//
 </wrap> </wrap>
  
Line 133: Line 133:
 ==== Downloading and Flashing Kuiper Linux Image on SD Card ==== ==== 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:embedded_arm_images|Kuiper Images]]**. Write the image and follow the system configuration procedure.+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.
    
 {{ :university:labs:software:iio_intro_toolbox:command_prompt.png?400 |}} {{ :university:labs:software:iio_intro_toolbox:command_prompt.png?400 |}}
Line 141: Line 141:
 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 171: Line 171:
  
 <wrap center 50%> <wrap center 50%>
-//<fc #c0c0c0>Figure 11. Graphical User Interface (GUI) window of ADI IIO Oscilloscope with CN0511 Plug-in</fc>//+//<fc #c0c0c0>Figure 10. Graphical User Interface (GUI) window of ADI IIO Oscilloscope with CN0511 Plug-in</fc>//
 </wrap> </wrap>
  
Line 197: Line 197:
 [[/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.\\
  
-=== Installation of Latest Lib-IIO and Other Requirements Needed to Run the Example === 
- 
-In order to run the current Python example a few additional steps need to occur.  Once the next version of Analog Devices Kuiper Linux gets released (2021_R2), these steps will be removed. 
- 
-<note important> 
- 
-Step 1: Installation of the latest libad9166-iio 
- 
-<code> 
-git clone https://github.com/analogdevicesinc/libad9166-iio 
-</code> 
- 
-<code> 
-cd libad9166-iio 
-</code> 
- 
-<code> 
-cmake ./CMakeLists.txt 
-</code> 
- 
-<code> 
-make 
-</code> 
- 
-<code> 
-sudo make install 
-</code> 
- 
-<code> 
-cd bindings/python 
-</code> 
- 
-<code> 
-sudo pip install -r requirements_dev.txt 
-</code> 
- 
-<code> 
-cmake ./CMakeLists.txt 
-</code> 
- 
-<code> 
-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. 
  
 === 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 294: Line 228:
   * [[: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  =====
resources/eval/user-guides/circuits-from-the-lab/cn0511.1660079159.txt.gz · Last modified: 09 Aug 2022 23:05 by Brandon Bushey