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 [17 Sep 2018 08:07] Aldrich Jesse Fuertesresources:eval:user-guides:eval-ad8302-ardz [14 Jan 2021 05:23] (current) – use ez> / interwiki links Robin Getz
Line 1: Line 1:
 ====== EVAL-AD8302-ARDZ ====== ====== EVAL-AD8302-ARDZ ======
-{{:resources:eval:user-guides:AD8302-top-gelyn.jpg?600|EVAL-AD8302-ARDZ}}+{{:resources:eval:user-guides:AD8302-top-clean.jpg?600|EVAL-AD8302-ARDZ}}
  
-Aldrich was here. The 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 from low frequency 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 Linduino. For both platformsPC 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 =====
 +  * Input RF Frequency Range: DC to 2.7GHz
 +  * Input RF Power Range: -60dBm to 0dBm
 +  * Maximum RF Input Power (Abs Max Rating): 10dBm
   * Supply:    * Supply: 
     - Voltage: 5V     - Voltage: 5V
     - Operates at around 35mA     - Operates at around 35mA
-  * Input RF Power Range-60dBm to 0dBm +  * Quiescent Current19mA to 25mA 
-  * Input RF Frequency Range: DC to 2.7GHz+  * Input signal characteristic:  
 +  * Recommended Calibration:  
 +  * Output Voltage Range:  
 +    - VMAG: ~30mV to ~1.8V 
 +    - VPHASE: ~30mV to ~1.8V 
 +    - VREF: ~1.72V to ~1.88V
   * Has power down interface   * Has power down interface
- +===== Functional Block Diagram ===== 
-===== Setting Up the Hardware ===== +{{:resources:eval:user-guides:functional_diagram.jpg|Functional Block Diagram}} 
 +===== Typical Hardware Setup for Measurement =====
 {{:resources:eval:user-guides:eval-ad8302-ardz-setup.png|Operational Setup}} {{:resources:eval:user-guides:eval-ad8302-ardz-setup.png|Operational Setup}}
  
-===== Software GUI for ADICUP3029  ===== +====== Software GUI for EVAL-ADICUP3029  ====== 
-==== Software Installation ==== +===== Software Installation ===== 
-  - Download the Software GUI file {{|here}}+  - 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...]]** 
-  - Extract the Software GUI file to your computer. +  - 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>\\  
-  - Connect the Eval-ADICUP3029 board using micro USB cable. +  - Extract the Software GUI.zip to your computer. 
-  - Set the S2 switch to USB.\\  +  - Connect the EVAL-ADICUP3029 board using micro USB cable 
-{{:resources:eval:user-guides:rfdet-adicup3029-usb.png|ADICUP3029pic_selectUSB}} +  - Set the **S2 switch to USB**.\\ {{:resources:eval:user-guides:rfdet-adicup3029-usb.png|EVAL-ADICUP3029pic_selectUSB}} 
-  - In the extracted files look for power_detector-firmware.hex” then copy the hex file to Computer>>DAPLINK drive\\  +  - In the extracted files look for **power_detector-firmware.hex** then copy the hex file to **Computer>>DAPLINK** drive \\ {{:resources:eval:user-guides:rfdet-daplink.png||DAPLINK_screencap}}\\ <WRAP><note important> After loading  the hex file to the DAPLINK drive the window explorer must automatically close or else you need to load the hex file to the drive again. </note></WRAP>\\  
-{{:resources:eval:user-guides:rfdet-daplink.png||DAPLINK_screencap}}\\ <WRAP><note important>After loading the hex file to the DAPLINK drive the window explorer must automatically close or else you need to load the hex file to the drive again.</note></WRAP> +  - After the **windows explorer automatically closes**, reset the EVAL-ADICUP3029 board by pressing the S1 (reset) button on the board. 
-  - After the windows explorer automatically closes, reset the Eval-ADICUP3029 board by pressing the S1 (reset) button on the board. +  - Go to extracted files and look for **power_detector.exe** file and double click to run the software. The Connection Window will open.\\
-  - Go to extracted files and look for power_detector.exe” file and double click to run the software. The Connection Window will open.\\+
  {{:resources:eval:user-guides:eval-ad8302-ardz-connection.png|APP_window}}  {{:resources:eval:user-guides:eval-ad8302-ardz-connection.png|APP_window}}
-==== Software Operation ==== +===== Software Operation ===== 
-=== Connection Window === +==== Connection Window ==== 
-  - Mount EVAL-AD8302-ARDZ to the ADICUP3029 and connect ADICUP3029 to computer as in [[#Typical Hardware Setup for Measurement|Typical Hardware Setup for Measurement]] +  - Mount EVAL-AD8302-ARDZ to the EVAL-ADICUP3029 and connect EVAL-ADICUP3029 to computer as in [[#Typical Hardware Setup for Measurement|Typical Hardware Setup for Measurement]] 
-  - Click the refresh button on Port Name to Identify the port where an ADICUP3029 is installed\\ {{:resources:eval:user-guides:eval-ad8302-ardz-connection-refresh.png|APP_window}} \\ <WRAP><note>If there are many ADICUP3029 installed, select the port where ADICUP3029 and EVAL-AD8302-ARDZ connected +  - Click the **refresh button** on Port Name to Identify the **port** where an EVAL-ADICUP3029 is installed\\ {{:resources:eval:user-guides:eval-ad8302-ardz-connection-refresh.png|APP_window}} <WRAP><note>If there is more than one EVAL-ADICUP3029 installed, select the port where EVAL-ADICUP3029 and EVAL-AD8302-ARDZ connected </note></WRAP>
-</note></WRAP>+
   - Set Baudrate to 115200   - Set Baudrate to 115200
   - 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>Console Log must indicate "AD8302shield 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>The user calibration coefficients and default calibration coefficients are INITIALLY the same. Therefore any unchanged calibration at specific frequencies in the user calibration coefficients retains the default values+<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>\\ 
 Related topic: [[#Calibration Window|Calibration of EVAL-AD8302-ARDZ]] Related topic: [[#Calibration Window|Calibration of EVAL-AD8302-ARDZ]]
-== Select Calibration Coefficients: == +=== To skip Calibration and use Default Calibration Coefficients: === 
-  * Check the box to use default calibration coefficients +  * **Check** the box to use **default** calibration coefficients 
-  * Uncheck to use user calibration coefficients +  * **Uncheck** to use **user** calibration coefficients 
-== To make single measurement: ==+=== To make single measurement: ===
   - Enter the frequency of the input RF signal   - Enter the frequency of the input RF signal
   - Uncheck Continuous Measurement   - Uncheck Continuous Measurement
Line 55: Line 60:
 <WRAP><note important> Not entering the correct frequency may result to less accurate measurements. <WRAP><note important> Not entering the correct frequency may result to less accurate measurements.
 </note></WRAP>\\  </note></WRAP>\\ 
-== To continuously make measurements: ==+=== To continuously make measurements: ===
   - Enter the frequency of the input RF signal   - Enter the frequency of the input RF signal
   - Check Continuous Measurement   - Check Continuous Measurement
Line 62: Line 67:
 <WRAP><note  important> Not entering the correct frequency may result to less accurate measurements. <WRAP><note  important> Not entering the correct frequency may result to less accurate measurements.
 </note></WRAP>\\  </note></WRAP>\\ 
-== To switch windows: == +=== To switch windows: === 
-Click "Connectionor "Calibrationto switch to respective window. +Click **Connection** or **Calibration** to switch to respective window. 
-=== Calibration Window ===+==== Calibration Window ===
   * Gain Calibration\\    * Gain Calibration\\ 
 {{:resources:eval:user-guides:eval-ad8302-ardz-calibrate_gain-steps.png|APP_window}}\\  {{:resources:eval:user-guides:eval-ad8302-ardz-calibrate_gain-steps.png|APP_window}}\\ 
Line 70: Line 75:
       - Input to J1 an RF signal of-20dBm        - Input to J1 an RF signal of-20dBm 
       - Input to J2 an RF signal of-40dBm        - Input to J2 an RF signal of-40dBm 
-      - Click "Measure"+      - Click **Measure**
       - Input to J1 an RF signal of-40dBm        - Input to J1 an RF signal of-40dBm 
       - Input to J2 an RF signal of-20dBm        - Input to J2 an RF signal of-20dBm 
-      - Click "Measure" +      - Click **Measure** 
-      - Click "Calibrate"+      - Click **Calibrate**
   * Phase Calibration\\   * Phase Calibration\\
 {{:resources:eval:user-guides:eval-ad8302-ardz-calibrate_phase-steps.png|APP_window}}\\  {{:resources:eval:user-guides:eval-ad8302-ardz-calibrate_phase-steps.png|APP_window}}\\ 
Line 83: Line 88:
       - Set phase between inputs to be 135º       - Set phase between inputs to be 135º
       - Click measure       - Click measure
-      - Click "Calibrate"+      - Click **Calibrate**
 <note tip> User must be able to synchronize the phase of input signals perhaps, by using external devices/equipment, to do this calibration</note> <note tip> User must be able to synchronize the phase of input signals perhaps, by using external devices/equipment, to do this calibration</note>
 <WRAP tip> If desired frequency of calibration or measurement is not on the list, calibrate on the immediate higher frequency available and on the immediate lower frequency available. If desired frequency is higher/lower than the available frequency selection, calibrate only on the highest/lowest frequency selection <WRAP tip> If desired frequency of calibration or measurement is not on the list, calibrate on the immediate higher frequency available and on the immediate lower frequency available. If desired frequency is higher/lower than the available frequency selection, calibrate only on the highest/lowest frequency selection
 </WRAP> </WRAP>
-====== Note on Calibration ======  +====== Calibration Methodology ======  
-Calibration can be implemented using 2, 3, or 4-point calibration techniques which can be used to approximate nearly linear response characteristics such as in AD8302. A typical characteristic of the AD8302 at 2.14GHz input is shown in Figure 1. This is Figure 50 from the AD8302 datasheet.+Calibration can be implemented using 2, 3, or 4-point calibration techniques which can be used to approximate nearly linear response characteristics such as in AD8302. A typical characteristic of the AD8302 for magnitude difference of 1.9GHz input signals is shown in Figure 1. This is TPC4 from the AD8302 datasheet.
  
-{{ resources:eval:user-guides:eval-ad8302-ardz-ad8302-datasheet-fig50.png?600 |fig50 }}+{{ resources:eval:user-guides:eval-ad8302-ardz-ad8302_datasheet_TPC4.png?600 |fig50 }}
  
-<WRAP centeralign > Figure 1. AD8302 Characteristic Response at 2.14GHz</WRAP>+<WRAP centeralign > Figure 1. AD8302 Characteristic Response to Magnitude Difference for 1.9GHz Signals</WRAP>
  
-Two-point calibration creates an approximated response characteristic utilizing two points on the typical characteristic lineBy choosing two points, (VOUT1,INPUT1) and (VOUT2,INPUT2), from the typical response characteristic, a line using two point form can be obtained and is given by:+**Two-point calibration** is the simplest calibration techniqueThis models the magnitude transfer function of the AD8302 and ADC as **single straight line**  
  
-SLOPE1 = (VOUT_1 – VOUT_2)/(INPUT_1 − INPUT_2)+  MAG = (CODE/SLOPE)+INTERCEPT
  
-From this equation, the point intercept form  of the approximated response characteristic is given by:+Where 
  
-INTERCEPT1= VOUT_1/(SLOPE1 × INPUT_1)+MAG is the RF Power Magnitude being measured
  
-This derives the INTERCEPT1. Given the SLOPE1 and INTERCEPT1, any point (INPUT,VOUT) along the approximated line is defined in the equation:+CODE is the ADC code
  
-VOUT = SLOPE1 × (INPUT − INTERCEPT1+SLOPE is the slope of the AD8302transfer function's linear model (unit is LSBs/dB)
  
-The range of INPUT is the device's dynamic range. SLOPE1 is in mV/dB and INTERCEPT1 is in dBm.+INTERCEPT is the (extrapolated) input RF power level which would yield and ADC code of 0 (this is a theoretical value with a unit of dBm)
  
-To implement three-point calibration, suppose three points on the typical response characteristic, (INPUT1,VOUT1),(INPUT2,VOUT2), and (INPUT3,VOUT3), such that INPUT1<INPUT2<INPUT3. Three-point calibration can be implemented by applying the two-point calibration concept to (INPUT1,VOUT1) and (INPUT2,VOUT2)and applying it again to (INPUT2,VOUT2) and (INPUT3,VOUT3). For (INPUT1,VOUT1and (INPUT2,VOUT2), SLOPE1 and INTERCEPT1 are derived to define a line, while for (INPUT2,VOUT2and (INPUT3,VOUT3), SLOPE2 and INTERCEPT2 are derived to define another line. This makes a piecewise approximation using the two lines derived; the first is valid for INPUT of -62dBm to INPUT2and the other is valid for INPUT2 to 3dBm+SLOPE and INTERCEPT are calculated and stored during the calibration process by applying two known RF power levelsMAG1 and MAG2 (these RF power levels should be within the linear input range of the AD8302) and measuring the corresponding ADC codesCODE1 and CODE2. The equations for calculating SLOPE and INTERCEPT are as follows: 
-This technique can further be expanded to four point to implement four-point calibration.+ 
 +  SLOPE = (CODE1–CODE2)/(MAG1−MAG2) 
 +  
 +\\  
 +   
 +  INTERCEPT = MAG1-(CODE1/SLOPE) 
 +   
 + 
 +If there is some non-linearity in the transfer function of the RF detector, the number of calibration points can be increased to improve measurement accuracy. To implement **three-point calibration**three known power levels are applied MAG1, MAG2 and MAG3 (MAG1 should be greater than MAG2 which should be greater than MAG3) and the corresponding ADC codes are noted (CODE1CODE2, CODE3 
 + 
 +This results in two SLOPE values and two INTERCEPT values which are calculated using the equations 
 + 
 +  SLOPE1 = (CODE1–CODE2)/(MAG1−MAG2) 
 +\\ 
 +  SLOPE2 = (CODE2–CODE3)/(MAG2−MAG3) 
 +\\ 
 +  INTERCEPT1 = MAG1-(CODE1/SLOPE1) 
 +\\ 
 +  INTERCEPT2 = MAG2-(CODE2/SLOPE2) 
 + 
 +After calibration when measuring RF input powerthe power is calculated  using the appropriate equation 
 + 
 +  MAG = (CODE/SLOPE1)+INTERCEPT1   (if CODE > CODE2) 
 +   
 +  or 
 +   
 +  MAG = (CODE/SLOPE2)+INTERCEPT2   (if CODE < CODE2) 
 + 
 +To decide which equation and calibration coefficients to use, the CODE from the ADC should be compared to CODE2 (CODE2 is the demarcation point between the two calibration regions). This will indicate which region of the AD8302's transfer function the RF power magnitude is located. For exampleif the ADC CODE is greater than CODE2, this will indicate that the input power is greater than MAG2. So SLOPE1 and INTERCEPT1 should be used to calculate the input powerBecause of the need to identify the region in which the measured RF input power is located, the CODE2 value should also be stored after calibration along with the SLOPE1, SLOPE2, INTERCEPT1 AND INTERCEPT2. 
 + 
 +This technique can be extended to four or more calibration points. This may improve measurement accuracy at the cost of more complex calibration. 
  
-This is also applicable by using ADC codes instead of Vout. 
  
-====== Development on ADICUP3029 ======+====== Development on EVAL-ADICUP3029 ======
 Development packages are available for C and Python. Other development environments may be used but this development guided is focused on software development on CrossCore Embedded Studio (for C) and on Pycharm(for Python). Development packages are available for C and Python. Other development environments may be used but this development guided is focused on software development on CrossCore Embedded Studio (for C) and on Pycharm(for Python).
 ===== 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**
   - Switch back to **C/C****+****+ window** {{:resources:eval:user-guides:rfdet-c-dev-window.png|c-dev-window}} and close CCES 2.8.1   - Switch back to **C/C****+****+ window** {{:resources:eval:user-guides:rfdet-c-dev-window.png|c-dev-window}} and close CCES 2.8.1
-  - Download [[|Dev Codes for Release.rar]] 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. 
-  - Unzip ad8302.rar file to C:\Users\YourUsername\cces\2.8.1\ad8302. The contents of your unzipped folder should match the ones below.\\ {{: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 133: Line 167:
 ==== Development on CrossCore Embedded Studio ==== ==== Development on CrossCore Embedded Studio ====
   - Setup Crosscore as in [[#Setting Up CrossCore Embedded Studio|Setting Up CrossCore Embedded Studio]]   - Setup Crosscore as in [[#Setting Up CrossCore Embedded Studio|Setting Up CrossCore Embedded Studio]]
-  - Connect your ADICUP3029 and power up the RF power detector shield then click Build {{:resources:eval:user-guides:rfdet-c-hammer.png|rfdet-c-hammer}}. \\ {{:resources:eval:user-guides:rfdet-c-console-ad8302.png|rfdet-c-console-ad8302}}+  - Connect your EVAL-ADICUP3029 and power up the RF power detector shield then click Build {{:resources:eval:user-guides:rfdet-c-hammer.png|rfdet-c-hammer}}. \\ {{:resources:eval:user-guides:rfdet-c-console-ad8302.png|rfdet-c-console-ad8302}}
   - After it finishes building, click Debug and click Application with GDB and OpenOCD (Emulator). Copy the following Debug configurations on the new window that will appear then click the Debug button.    - After it finishes building, click Debug and click Application with GDB and OpenOCD (Emulator). Copy the following Debug configurations on the new window that will appear then click the Debug button. 
   - On the Debug window, click the Resume to run and display the results on the Console window.   - On the Debug window, click the Resume to run and display the results on the Console window.
Line 141: Line 175:
 Assumes a fresh installation of all required software Assumes a fresh installation of all required software
   - Download **[[ http://www.python.org/downloads/release/python-370/|python 3.7.0]]** version. Choose the right version depending on operating system. For windows, choose **[[http://www.python.org/downloads/release/python-370/|Windows x86-64 executable installer]]**. (Do not run installer yet)   - Download **[[ http://www.python.org/downloads/release/python-370/|python 3.7.0]]** version. Choose the right version depending on operating system. For windows, choose **[[http://www.python.org/downloads/release/python-370/|Windows x86-64 executable installer]]**. (Do not run installer yet)
-  - Run installer as Administrator. During installation, **check "Add Python 3.7 to PATHbefore clicking "Install Now"**\\ {{:resources:eval:user-guides:rfdet-py-path.png|rfdet-py-path}}+  - Run installer as Administrator. During installation, **check **Add Python 3.7 to PATH** before clicking **Install Now****\\ {{:resources:eval:user-guides:rfdet-py-path.png|rfdet-py-path}}
   - Install **pyserial**. For windows, enter **pip3.7 install pyserial** on command prompt.   - Install **pyserial**. For windows, enter **pip3.7 install pyserial** on command prompt.
   - Download and install **[[https://www.jetbrains.com/pycharm/download/#section=windows|PyCharm]] community version**   - Download and install **[[https://www.jetbrains.com/pycharm/download/#section=windows|PyCharm]] community version**
Line 147: Line 181:
  
 ==== Setting Up PyCharm ==== ==== Setting Up PyCharm ====
-  - Download **[[http://www.analog.com/en/products/adl5902.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/adl5902.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/adl5902.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]]** 
-  - Press S1 (reset) button on the Eval-ADICUP3029 and mount the EVAL-AD8302-ARDZ to the Eval-ADICUP3029 +  - 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. 
-  - On pyCharm, go to File>>Open and browse for the **[[#rfdet-py-example-code|\PycharmProjects\example ]]**code directory. +  - 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. 
   - 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”.
   - Right click on any point in the working space and click **Run ltc5596-getShieldReadings**   - Right click on any point in the working space and click **Run ltc5596-getShieldReadings**
  
-===== Software GUI for Linduino ===== +====== Hardware Reference Information ======
-==== Software Installation ==== +
-==== Software Operation ==== +
-==== Development on Linduino ==== +
-===== Hardware Reference Information =====+
 <WRAP round 80% download> <WRAP round 80% download>
 \\  \\ 
Line 180: Line 211:
  
 </WRAP> </WRAP>
 +
 +====== Help and Support ======
 +For any queries regarding the hardware and evaluation software, contact as at **[[ez>rf|EngineerZone]]**.
resources/eval/user-guides/eval-ad8302-ardz.1537164431.txt.gz · Last modified: 17 Sep 2018 08:07 by Aldrich Jesse Fuertes