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:eval-ad8302-ardz [08 Feb 2019 02:01] – [Setting Up CrossCore Embedded Studio] Adrian Tolentinoresources:eval:user-guides:eval-ad8302-ardz [14 Jan 2021 05:23] (current) – use ez> / interwiki links Robin Getz
Line 2: Line 2:
 {{:resources:eval:user-guides:AD8302-top-clean.jpg?600|EVAL-AD8302-ARDZ}} {{:resources:eval:user-guides:AD8302-top-clean.jpg?600|EVAL-AD8302-ARDZ}}
  
-The **[[https://www.analog.com/en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/EVAL-AD8302-ARDZ.html|EVAL-AD8302-ARDZ]]** shield illustrates the functionality of the **[[http://www.analog.com/en/products/amplifiers/rf-power-detectors/log-detectors/ad8302.html|AD8302]]**, a **gain and phase detector** which operates for frequencies **up to 2.7 GHz**. The voltage outputs of the AD8302 are routed to the ANALOG IN connector of the Arduino base board. This allows the RF power detector’s output voltage to be easily digitized and processed by the Arduino base board’s integrated six-channel ADC.\\ \\ +The **[[adi>en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/EVAL-AD8302-ARDZ.html|EVAL-AD8302-ARDZ]]** shield illustrates the functionality of the **[[adi>en/products/amplifiers/rf-power-detectors/log-detectors/ad8302.html|AD8302]]**, a **gain and phase detector** which operates for frequencies **up to 2.7 GHz**. The voltage outputs of the AD8302 are routed to the ANALOG IN connector of the Arduino base board. This allows the RF power detector’s output voltage to be easily digitized and processed by the Arduino base board’s integrated six-channel ADC.\\ \\ 
 The power supply for the board comes from the Arduino base board through the POWER connector (5V). So there is **no need to connect an external power supply**.\\ \\  The power supply for the board comes from the Arduino base board through the POWER connector (5V). So there is **no need to connect an external power supply**.\\ \\ 
-The EVAL-AD8302-ARDZ was designed to work with **EVAL-ADICUP3029** and **DC2026C**(also called **Linduino One**). For both platforms, PC software GUI and device drivers are available.\\ \\ +The EVAL-AD8302-ARDZ is designed to work as a shield for **EVAL-ADICUP3029** and **DC2026C**(also called **Linduino One**). For **EVAL-ADICUP3029**, PC software GUI and device development drivers are available.\\ \\ 
  
 ===== Shield Specifications ===== ===== Shield Specifications =====
Line 28: Line 28:
 ====== Software GUI for EVAL-ADICUP3029  ====== ====== Software GUI for EVAL-ADICUP3029  ======
 ===== Software Installation ===== ===== Software Installation =====
-  - Set up **EVAL-ADICUP3029 serial driver** as in **[[https://wiki.analog.com/resources/eval/user-guides/EVAL-ADICUP3029/tools/keil_iar_support#how_to_use_EVAL-ADICUP3029_with_iar|1. Install mBed windows serial driver...]]** +  - Set up **EVAL-ADICUP3029 serial driver** as in **[[/resources/eval/user-guides/EVAL-ADICUP3029/tools/keil_iar_support#how_to_use_EVAL-ADICUP3029_with_iar|1. Install mBed windows serial driver...]]** 
-  - Contact us at  [[https://ez.analog.com/rf/f/q-a|EngineeringZone]] to get the **Software GUI file** +  - Download the software on the [[adi>en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/eval-ad8302-ardz.html#|product page]]  or click [[adi>media/en/evaluation-boards-kits/evaluation-software/eval-ad8302-ardz-evaluation-software.zip|here]].\\ <WRAP><note important> If previously downloaded evaluation software cannot detect board, download the evaluation software again to get the software fix version</note></WRAP>\\  
-  - Extract the Software GUI file to your computer.+  - Extract the Software GUI.zip to your computer.
   - Connect the EVAL-ADICUP3029 board using micro USB cable   - Connect the EVAL-ADICUP3029 board using micro USB cable
   - Set the **S2 switch to USB**.\\ {{:resources:eval:user-guides:rfdet-adicup3029-usb.png|EVAL-ADICUP3029pic_selectUSB}}   - Set the **S2 switch to USB**.\\ {{:resources:eval:user-guides:rfdet-adicup3029-usb.png|EVAL-ADICUP3029pic_selectUSB}}
Line 44: Line 44:
   - Select Auto-detect on Shield type.   - Select Auto-detect on Shield type.
   - Click Connect. The Measurement Window should Open.\\    - Click Connect. The Measurement Window should Open.\\ 
-<WRAP><note important>Console Log must indicate **AD8302 shield detected with ADiCUP** +<WRAP><note important>Console Log must indicate **AD8302 shield detected with ADiCUP**. If previously downloaded evaluation software cannot connect, go back to [[#Software Installation|Software Installation]] step 2 and **download the evaluation software again** to get the software fix version.</note></WRAP>
-</note></WRAP>+
 ==== Measurement Window ==== ==== Measurement Window ====
 {{:resources:eval:user-guides:eval-ad8302-ardz-measurement.png|APP_window}}\\  {{:resources:eval:user-guides:eval-ad8302-ardz-measurement.png|APP_window}}\\ 
-The shield measures Gain and Phase Difference based on a 2-point calibrated linear response characterized for a specific frequency. By using default calibration coefficients, the 2-point linear response corresponds to the [[http://www.analog.com/media/en/technical-documentation/data-sheets/AD8302.pdf|datasheet specifications of AD8302]]. By using the user calibration coefficients, the frequency dependent 2-point linear response corresponds to the calibration made by the user.\\  +The shield measures Gain and Phase Difference based on a 2-point calibrated linear response characterized for a specific frequency. By using default calibration coefficients, the 2-point linear response corresponds to the [[adi>media/en/technical-documentation/data-sheets/AD8302.pdf|datasheet specifications of AD8302]]. By using the user calibration coefficients, the frequency dependent 2-point linear response corresponds to the calibration made by the user.\\  
 <WRAP><note>If calibration is skipped at some frequencies, the default calibration coefficients will be used (user calibration coefficients and default calibration coefficients are INITIALLY the same). <WRAP><note>If calibration is skipped at some frequencies, the default calibration coefficients will be used (user calibration coefficients and default calibration coefficients are INITIALLY the same).
 </note></WRAP>\\  </note></WRAP>\\ 
Line 152: Line 151:
 ===== C Development Guide ===== ===== C Development Guide =====
 ==== Installations ====   ==== Installations ====  
-  - Download and install **[[http://www.analog.com/en/design-center/processors-and-dsp/evaluation-and-development-software/adswt-cces.html#relatedsoftware| CrossCore Embedded Studio (CCES) 2.8.1]]**+  - Download and install **[[adi>en/design-center/processors-and-dsp/evaluation-and-development-software/adswt-cces.html#relatedsoftware| CrossCore Embedded Studio (CCES) 2.8.1]]**
   - Download and install **[[https://developer.mbed.org/handbook/Windows-serial-configuration|mBed windows serial driver]]**   - Download and install **[[https://developer.mbed.org/handbook/Windows-serial-configuration|mBed windows serial driver]]**
 <note>Assumes a fresh installation of all required software</note> <note>Assumes a fresh installation of all required software</note>
 ==== Setting Up CrossCore Embedded Studio ==== ==== Setting Up CrossCore Embedded Studio ====
-  - Install the following packs by following the **[[https://wiki.analog.com/resources/eval/user-guides/EVAL-ADICUP3029/tools/cces_user_guide#how_to_install_or_upgrade_packs_for_cces|How to install or upgrade Packs for CCES]]** guide:+  - Install the following packs by following the **[[/resources/eval/user-guides/EVAL-ADICUP3029/tools/cces_user_guide#how_to_install_or_upgrade_packs_for_cces|How to install or upgrade Packs for CCES]]** guide:
     * **ARM.CMSIS.5.4.0**     * **ARM.CMSIS.5.4.0**
     * **AnalogDevices.ADuCM302x_DFP.3.1.2**     * **AnalogDevices.ADuCM302x_DFP.3.1.2**
Line 162: Line 161:
   - Download {{:resources:eval:user-guides:power_detector_sample_c_code_and_header_files.zip|power_detector_sample_c_code_and_header_files.zip}} and unzip it.   - Download {{:resources:eval:user-guides:power_detector_sample_c_code_and_header_files.zip|power_detector_sample_c_code_and_header_files.zip}} and unzip it.
   - Run the "AD8302 Sample C Code and Header Files.exe" and select "C:\Users\YourUsername\cces\2.8.1" as the destination folder. The ad8302 folder should appear in C:\Users\YourUsername\cces\2.8.1 .\\ {{:resources:eval:user-guides:rfdet-c-unzip.png|rfdet-c-unzip}}\\ {{:resources:eval:user-guides:rfdet-c-folder-ad8302.png|rfdet-c-folder-ad8302}}   - Run the "AD8302 Sample C Code and Header Files.exe" and select "C:\Users\YourUsername\cces\2.8.1" as the destination folder. The ad8302 folder should appear in C:\Users\YourUsername\cces\2.8.1 .\\ {{:resources:eval:user-guides:rfdet-c-unzip.png|rfdet-c-unzip}}\\ {{:resources:eval:user-guides:rfdet-c-folder-ad8302.png|rfdet-c-folder-ad8302}}
-  - Launch CCES 2.8.1 and select workspace C:\Users\YourUsername\cces\2.8.1. If the ad8302.rar has been extracted elsewhere, choose that location as workspace. Switch to **C/C++ window** if it's not the current window.\\ {{:resources:eval:user-guides:rfdet-c-workspace.png|rfdet-c-workspace}}\\+  - Launch CCES 2.8.1 and select workspace C:\Users\YourUsername\cces\2.8.1. If the ad8302 has been installed elsewhere, choose that location as workspace. Switch to **C/C++ window** if it's not the current window.\\ {{:resources:eval:user-guides:rfdet-c-workspace.png|rfdet-c-workspace}}\\
   - To open the unzipped folder in the workspace, click **File -> Open Projects from File System**. A new window will pop up and ask you to select the project or folder that you want to open. Select the proper directory then click **Finish**.\\ {{:resources:eval:user-guides:rfdet-c-import-ad8302.png|rfdet-c-import-ad8302}} \\    - To open the unzipped folder in the workspace, click **File -> Open Projects from File System**. A new window will pop up and ask you to select the project or folder that you want to open. Select the proper directory then click **Finish**.\\ {{:resources:eval:user-guides:rfdet-c-import-ad8302.png|rfdet-c-import-ad8302}} \\ 
 On the left side of the window, the structure of the loaded sample code should match the structure in the image shown below.\\ {{:resources:eval:user-guides:rfdet-c-proj-ad8302.png|rfdet-c-proj-ad8302}}  On the left side of the window, the structure of the loaded sample code should match the structure in the image shown below.\\ {{:resources:eval:user-guides:rfdet-c-proj-ad8302.png|rfdet-c-proj-ad8302}} 
Line 182: Line 181:
  
 ==== Setting Up PyCharm ==== ==== Setting Up PyCharm ====
-  - Download **[[http://www.analog.com/en/products/AD8302.html#product-evaluationkit|power detector.exe]]** +  - Download **{{:resources:eval:user-guides:power_detector_python_code_example.zip|power_detector_python_code_example.zip}}** and unzip. 
-  - Install **[[http://www.analog.com/en/products/AD8302.html#product-evaluationkit|power detector.exe]]** inside the “Scripts” directory where the python3.7 is located. For windows, the location path is similar to **C:\Users\MyUsername\AppData\Local\Programs\Python\Python37\Scripts**\\ {{:resources:eval:user-guides:rfdet-py-scripts.png|rfdet-py-scripts}}+  - Install **Power Detector Python Code Example.exe**, the destination folder used is the “Scripts” directory where the python3.7 is located. For windows, the location path is similar to **C:\Users\MyUsername\AppData\Local\Programs\Python\Python37\Scripts**\\ {{:resources:eval:user-guides:rfdet-py-scripts.png|rfdet-py-scripts}}
   - Launch PyCharm and set up PyCharm interpreter by clicking file>>settings>>Project>>Project Interpreter choose python 3.7 then click “Ok”.   - Launch PyCharm and set up PyCharm interpreter by clicking file>>settings>>Project>>Project Interpreter choose python 3.7 then click “Ok”.
  
-==== Development on PyCharm ====+==== Python Development ====
   - Connect the EVAL-ADICUP3029 board using micro USB cable.   - Connect the EVAL-ADICUP3029 board using micro USB cable.
   - In the EVAL-ADICUP3029, set the S2 switch to USB.   - In the EVAL-ADICUP3029, set the S2 switch to USB.
-  - Download **[[http://www.analog.com/en/products/AD8302.html#product-evaluationkit|power_detector-firmware.hex]]**, then copy it to the DAPLINK directory. Wait for the window to exit automatically. Else, repeat the [[#Development on PyCharm|Development on PyCharm]] guide.+  - Unzip **power detector development code-release.zip** from **[[adi>media/en/evaluation-boards-kits/evaluation-software/eval-ad8302-ardz%20evaluation%20software.zip|evaluation software]]** 
 +  - Find and copy **power_detector-firmware.hex** to the DAPLINK directory. Wait for the window to exit automatically. Else, repeat the [[#Development on PyCharm|Development on PyCharm]] guide.
   - Press S1 (reset) button on the EVAL-ADICUP3029 and mount the EVAL-AD8302-ARDZ to the EVAL-ADICUP3029   - Press S1 (reset) button on the EVAL-ADICUP3029 and mount the EVAL-AD8302-ARDZ to the EVAL-ADICUP3029
-  - On pyCharm, go to File>>Open and browse for the **[[#rfdet-py-example-code|\PycharmProjects\example ]]**code directory. +  - On pyCharm, go to File>>Open and browse for the **[[#rfdet-py-example-code|\PycharmProjects\example code]]** directory. 
   - Click Project Tab located at left side of IDE and go to **ad8302** folder and double click **ad8302-getShieldReadings.py**   - Click Project Tab located at left side of IDE and go to **ad8302** folder and double click **ad8302-getShieldReadings.py**
   - Change the default Port number (“COM10”) in the example code. On your computer go to Control Panel>>Device Manager look for Ports (COM & LPT) find the port number of “mbed Serial Port”.   - Change the default Port number (“COM10”) in the example code. On your computer go to Control Panel>>Device Manager look for Ports (COM & LPT) find the port number of “mbed Serial Port”.
Line 213: Line 213:
  
 ====== Help and Support ====== ====== Help and Support ======
-For any queries regarding the hardware and evaluation software, contact as at **[[https://ez.analog.com/rf|EngineerZone]]**.+For any queries regarding the hardware and evaluation software, contact as at **[[ez>rf|EngineerZone]]**.
resources/eval/user-guides/eval-ad8302-ardz.1549587718.txt.gz · Last modified: 08 Feb 2019 02:01 by Adrian Tolentino