CML Application Support
Technical Information for CML QAM + RF Evaluation Boards
June 1, 2011

The purpose of this readme.txt file is to explain the contents of this zipped file, and to explain how to use CML QAM + RF evaluation boards.

************ GENERAL INFORMATION *********************
Using the information provided in this zipped file, the user will be able to exchange 9600baud 4-QAM raw data using RF signaling with CML evaluation boards.

The zipped file contains the following files:
- LoTrimming_Tx_111026.pes
- LoTrimming_Rx_111026.pes
- 716x_FI4x_998_TxRawDataBurst_FromDataFile_111026.pes
- 716x_FI4x_992_RxRawDataBurst_ToDataFile_111026.pes
- FI-4x_data.txt

All of these files should be stored in the same folder on the user's PC.

The following CML evaluation boards are required to perform this testing:
- 2x PE0002
- 2x PE0601-716x
- EV9980
- EV9920B

The CML evaluation boards should be configured as follows:
- Tx Platform: PE0002/PE0601-716x/EV9980
- Rx Platform: PE0002/PE0601-716x/EV9920B

The following equipment is required to operate these boards:
- PC (for PE0002 connection via USB cable) with one of the following operating systems:
o	Windows 2000 (SP4)
o	Windows XP
o	Operation of the PE0002 with Windows Vista or Windows 7 operating systems is possible.  Please contact CML Technical Support for more information.
- 7.2VDC unregulated power supply, rated for 1A (for EV9980)
- 7.2VDC unregulated power supply, rated for 1A (for EV9920B)
- 5VDC unregulated power supply (for PE0002)
- -5VDC unregulated power supply (for Tx PE0601-716x instrumentation interface)
- 3.6VDC unregulated power supply, rated for 2A (for EV9980 RF PA)
- RF signal generator #1 (for EV9980 LO source, 100MHz-1GHz)
- RF signal generator #2 (for EV9920B LO source, 100MHz-1GHz)
o	NB: The RF signal generators used in this test operate at 900MHz-990MHz.
- RF spectrum analyzer (100MHz to 1GHz)
- RF attenuator
- RF splitter (so the Tx spectrum may be monitored while receiving data).
- 50ohm load with at least 30dB attenuation
- Oscilloscope


******* CONNECTIONS **************
The following connections should be made to the Tx and Rx platforms.  Do not apply power or signals yet:
BASEBAND TX:
1. Connect Tx PE0601-716x I_OUT to EV9980 TXI-.
2. Connect Tx PE0601-716x Q_OUT to EV9980 TXQ-
***NB: Ensure jumpers are installed on Tx PE0601-716x TX I/Q header pins 1:2, 3:4, 7:8, and 9:10.

BASEBAND RX:
The receive signal connection from EV9920B to PE0601-716x must employ the differential PE0601-716x Rx signal interface. The single-ended PE0601-716x Rx signal interface should not be used.
1. Construct a 10 conductor ribbon cable, approximately 8 in length.
2. Remove jumpers from Rx PE0601-716x RX I/Q J24 port.
3. Using the ribbon cable, connect Rx PE0601-716x RX I/Q J24 port to EV9920B RX I/Q J20 port.
***NB: Using a straight ribbon cable inverts Q channel polarity between the EV9920B and PE0601-716x.  This causes RF modulation frequency inversion, which can be easily mitigated in one of two ways:
	(1) Use RF LO high-side injection. (This technique is used in this document.)
	(2) Invert the Q signal polarity in the Rx CMX716x.  This can be done by writing a negative value for the Rx CMX716x Fine Input gain in the I/Q Input Control register ($5F/$60).
4. Remove jumpers from EV9920B RXIF J4 port.

RF TX:
1. Connect RF signal generator #1 to EV9980 LO-IN J1 SMA connector.  (This will serve as the 900MHz LO for the CMX998, which is the Tx RF modulator.)
2. Connect EV9980 TX-OUT 400MHZ J9 SMA connector to an external 50ohm RF attenuator.  
***NB: 30dB of external RF attenuation was used in the development of this document.  Using a different amount of RF attenuation may require the adjustment of various parameters.  Please contact CML Technical Support if you require assistance.
3. Connect the RF attenuator output to a RF splitter.
4. Connect one RF splitter output to the spectrum analyzer.
5. Connect the other RF splitter output to EV9920B RX_IN_1 J9 SMA connector.

RF RX:
1. Connect RF signal generator #2 to EV9920B RX_LO J6 SMA connector.

POWER TX:
1. Connect +5VDC unregulated supply to Tx PE0002 J8.
2. Connect 5VDC unregulated supply to Tx PE0601-716x J16 0V and -V connections.  (This is used for the PE0601-716x instrumentation interface that converts the CMX716x devices Tx differential signals to single-ended signals at the PE0601-716x SMA connectors.)
3. Connect 7.2VDC unregulated supply (1A rating) to EV9980 +V and GND plugs of POWER J10 connector.
4. Connect 3.6VDC unregulated supply (2A rating) to EV9980 +V_PA (+V_PA is the middle plug for J10) and GND plugs of POWER J10 connector.

POWER RX:
1. Connect +5VDC unregulated supply to Rx PE0002 J8.
2. Connect 7.2VDC unregulated supply (1A rating) to EV9920B J16 connector.

OTHER CONNECTIONS:
1. Connect Tx PE0601-716x J13:2 to EV9980 J12:15 to allow PA rampup/down by CMX716x.
***NB: When the EV9980 is turned so that J12 is in the bottom-left corner of the board, pin 1 of this connector is the uppermost right pin.  The left column of pins are all tied to GND.
2. Connect Tx PE0601-716x J13:5 to EV9980 TL14 to allow automatic CMX998 I/Q input DC calibration by CMX716x.

************ TESTS *********************
TEST 1: TX/RX FREQUENCY CALIBRATION
*** NB, One PC can operate both PE0002s and their GUIs.
- Apply 5V to Tx PE0002 and -5V to Tx PE0601-716x.
- Connect Tx PE0002 to PC using USB cable.
- Launch ES000240.exe ("PE0002 GUI") for Tx platform.  (This file is contained within the PE0002 Support Package from the CML website.)
- Locate and load Function Image into Tx CMX716x using PE0002 GUI.  (Function Image files are obtained from the CML Technical Portal.)
- Apply 5V to Rx PE0002.
- Connect Rx PE0002 to PC using USB cable.
- Launch a second PE0002 GUI which will be used for Rx platform.  
- Locate and load Function Image into Rx CMX716x using PE0002 GUI.
- Using Rx PE0002 GUI, click "Select Script" and find LoTrimming_Rx_111026.pes.  Click "Run" and follow the on-screen prompts until you see "Launch Tx script now".
- Using Tx PE0002 GUI, click "Select Script" and find LoTrimming_Tx_111026.pes.  Click "Run" and follow the on-screen prompts until you see "Adjust sig gen now..."
- Place oscilloscope probe on EV9920B J4:1 and adjust Rx RF sig gen frequency until EV9920B J4:1 signal frequency matches the desired Tx/Rx frequency offset.
- Once the desired Tx/Rx frequency offset is achieved, click the "OK" buttons in the dialog boxes for each GUI until all dialog boxes disappear.

TEST 2: TX/RX DATA TRANSFER (to be performed immediately after Tx/Rx Frequency Calibration test)
- Using Rx PE0002 GUI, click "Select Script" and find "716x_FI4x_992_RxRawDataBurst_ToDataFile_111026.pes".  Click "Run" and follow the on-screen prompts.
- Using Tx PE0002 GUI, click "Select Script" and find "716x_FI4x_998_TxRawDataBurst_FromDataFile_111026.pes".  Click "Run and follow the on-screen prompts.
- Both PE0002 GUIs generate messages to inform the user of the progress through the data transfer.  
- When data transfer is complete, the user can view the received data in the "FI-4x_rdata.txt" file, and compare it to the transmitted data in the "FI-4x_data.txt" file.


************* USEFUL NOTES ******************
- These files were developed and tested with QAM Function Image 7163-4.0.5.1.h and 7164-4.0.0.1.h.  Operation with other Function Images may be possible.  Please contact CML Applications Support for assistance with other Function Images.
- Script files can be modified with any text editor.  
- x7163 is configured for 9600baud using standard PE0601-716x 19.2MHz xtal.  Please contact CML Applications Support for assistance with other baud rates.
- Tx platform uses 30dB of external RF attenuation.
- Both Tx scripts perform PA ramping with x7163 RAMDAC.  The RAMDAC values are scaled from the default datasheet values to achieve the 1.2V needed for the EV9980 RF PA.  In order for this to work, Tx PE0601-7163 J13:2 must be connected to EV9980 J12:15.
- Tx Data script performs x998 IQ DC calibration.  In order for that to work, Tx PE0601-7163 J13:5 must be connected to EV9980 TL14. (NB, there is a misalignment between PE0601 schematic and x7163 pinout.)
- Rx Data script ("RF_AutomaticRx_RawDataBurst") performs Rx AGC with IQ DC calibration.  The default device settings use SSOUT2 to perform this function.  Since PE0601-7163<->EV9920B have SSOUT1 hardwired, the script reprograms Block 7 to use SSOUT1.
