INTERCEPT = PIN1‐(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 PIN1, PIN2 and PIN3 (PIN1 should be
greater than PIN2 which should be greater than PIN3) and the corresponding ADC codes are noted (CODE1, CODE2, CODE3)
This results in two SLOPE values and two INTERCEPT values which are calculated using the equations
SLOPE1 = (CODE1–CODE2)/(PIN1−PIN2)
SLOPE2 = (CODE2–CODE3)/(PIN2−PIN3)
INTERCEPT1 = PIN1‐(CODE1/SLOPE1)
INTERCEPT2 = PIN2‐(CODE2/SLOPE2)
After calibration when measuring RF input power, the power is calculated using the appropriate equation
PIN = (CODE/SLOPE1)+INTERCEPT1 (if CODE > CODE2)
or
PIN = (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 ADL5902's transfer function the RF input power is
located. For example, if the ADC CODE is greater than CODE2, this will indicate that the input power is greater than PIN2. So SLOPE1 and
INTERCEPT1 should be used to calculate the input power. Because 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.
Development on ADICUP3029
Development drivers 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
Installations
1. Download and install CrossCore Embedded Studio (CCES) 2.8.1
2. Download and install mBed windows serial driver
Assumes a fresh installation of all required software
Setting Up CrossCore Embedded Studio
1. Install the following packs by following the How to install or upgrade Packs for CCES guide:
ARM.CMSIS.5.4.0
AnalogDevices.ADuCM302x_DFP.3.1.2
2. Switch back to C/C + + window and close CCES 2.8.1
3. Download Dev Codes for Release.rar and unzip it.
4. Unzip adl5902.rar file to C:\Users\YourUsername\cces\2.8.1\adl5902. The contents of your unzipped folder should match the ones
below.