States and international copyright implied warranties of merchantability laws. and fitness for a particular purpose. Safety Notices Quonset Microwave shall not be li- able for errors or incidental or conse- CAUTION Manual Part Number quential damages in connection with 1004-001-21...
(becomes part of) other Quonset Microwave products. During the warranty period, Quonset Microwave will, at its option, either repair or replace products which prove to be defective. The warranty period begins on the date of delivery or on the date of installation if installed by Quonset Microwave.
Failure to comply with these precautions or with specific warnings elsewhere in this manual or any manual associated with this product violates safety standards of design, manufacture, and intended use of the product. Quonset Microwave assumes no liability for the customer’s failure to comply with these requirements.
QM1004-2-18 Combined RF Upconverter/Downconverter User Manual Markings The following markings may appear on the equipment or in any related documentation. This marking indicates that a device, or part of a device, may be susceptible to electrostatic discharges (ESD) which can result in damage to the product.
QM1004-2-18 Combined RF Upconverter/Downconverter User Manual 1. Input/Output Specifications Table 1.1: Input/Output Specifications Parameter Unit External CMOS Reference Input Frequency Power Level Vp-p External LO1 Input Frequency Power Level Upconverter IF Input Frequency Power Level (absolute maximum) Downconverter RF Input...
The QM1004-2-18 is a Combined RF Upconverter/Downconverter housed in a 1U box. The QM1004- 2-18 is controlled either through the onboard USB or TCP/IP connection. The QM1004-2-18 delivery kit contains a user manual, power supply, and USB A-A or A-uB cable. A model of the QM1004-2-18 is shown below in Fig. 1.1.
User Manual 3. System Block Diagram System block diagrams for the QM1004-2-18 Combined RF Upconverter/Downconverter are shown in Figures 1.2 and 1.3. Internal attenuators in the upconverter and downconverter blocks are controlled digitally via a microcontroller, which interfaces to a PC through USB or TCP/IP. The microcontroller out- puts basic status messages on a 32-character Liquid Crystal Display (LCD) mounted on the faceplate of the unit.
User Manual 1. Introduction The QM1004-2-18 Combined RF Upconverter/Downconverter is continually being improved and may re- quire firmware updates to correct problems in previous firmware versions or to add new features that were not yet implemented in previous firmware versions. Tables 2.1 thru ?? detail Firmware Revisions that have been released and which features they fixed or introduced.
Fixed SYST:READ? parameter bug 2. Firmware Update Files The required files to perform firmware updates are uploaded onto the Quonset Microwave FTP server and need to be downloaded and extracted to a location on the computer performing the update prior to continuing.
USB Cable Connection A standard USB 2.0 A-Male to B-Male Cable can be used to connect the computer to the QM1004-2-18. The A-Male end of the cable connects to the computer and the B-Male end of the cable connects to the QM1004-2-18 in the port on the back panel labeled FPGA PROG.
Page 22
QM1004-2-18 Combined RF Upconverter/Downconverter User Manual Programming with iMPACT Figure 2.1: iMPACT: Automatically create project When iMPACT is started, it will first ask if you want it to create and save a project file for you. Choose ’No’, as reusing projects sometimes results in outdated files being programmed, which were saved in previous sessions.
Page 23
QM1004-2-18 Combined RF Upconverter/Downconverter User Manual Figure 2.3: iMPACT: Boundary Scan Double-click ’Boundary Scan’ in the upper-left of the program. This will open a Boundary Scan window, which is where we interact with the device. Figure 2.4: iMPACT: Assign Configuration Files Right-click in the Boundary Scan window and select ’Initialize Chain’, which will search for the target...
Page 24
Figure 2.5: iMPACT: Attach PROM Select the QM1004-2-18-100-200_v6.1.0.bit file provided and the text under the device will change from ’Bypass’ to qm1004-2-18-100-200_v6.1.0.bit and it will ask if you want to attach a PROM. Choose ’Yes’. Figure 2.6: iMPACT: Configure PROM Select the QM1004-2-18-100-200_v6.1.0.mcs file provided and it will ask you to configure the PROM.
Page 25
QM1004-2-18 Combined RF Upconverter/Downconverter User Manual Figure 2.7: iMPACT: FPGA Programming Properties On the first Device Programming Properties screen, leave the box to verify the FPGA write unchecked and click ’OK’. Figure 2.8: iMPACT: FPGA Programming Properties Click the FLASH device to select the PROM as the device to be programmed.
Page 26
QM1004-2-18 Combined RF Upconverter/Downconverter User Manual Figure 2.9: iMPACT: FLASH Programming Properties Right-click the FLASH device and click Program, which will open the Device Programming Properties for the PROM. Leave Verify and Erase Before Programming both checked, and leave the After Programming selection set to automatically load FPGA when finished (all defaults) and click ’OK’.
Page 27
QM1004-2-18 Combined RF Upconverter/Downconverter User Manual Figure 2.11: iMPACT: Program Succeeded The status will go up to 4% before completing and displaying ’Program Succeeded’. This PROM write took 102 seconds, which is typical for a PROM write to this device. The Combined RF Upconverter/- Downconverter should then be power-cycled, as the image is loaded to the FPGA on power-up by the PIC.
User Manual 4. PIC Firmware Updates The QM1004-2-18 version 4 and version 5 Control Boards use a Microchip Technology, Inc. PIC18F87J50 processor, while the QM1004-2-18 version 6 Control Board uses a Microchip Tehcnology, Inc. PIC32MZ2048EFH144 processor. The PIC Firmware update process is performed using a Custom Com- puter Services, Inc.
USBTMC or TCPIP device. No additional drivers are required. The QM1004-2-18 has been designed to be VISA and SCPI compliant and as such, all you need in order to communicate with the Combined RF Upconverter/Downconverter is a VISA library installed on your machine.
QM1004-2-18 Combined RF Upconverter/Downconverter User Manual Arrows and curved intersections indicate command path direction. All diagrams flow from left to right. A path may not travel to the left except in a bypass loop. 1.4 Default Units Unless otherwise specified, the following units are assumed: Table 3.2: Default Units...
QM1004-2-18 Combined RF Upconverter/Downconverter User Manual 1.6.2 < character_data > Definition Throughout this document, < character_data > is used to represent character data, that is, A-Z, a-z, 0- 9 and _ (underscore). STOP and A4_U2 are examples of character data. The first character must be alphanumeric, followed by either alphanumeric or underscore characters up to a maximum of 12 characters.
QM1004-2-18 Combined RF Upconverter/Downconverter User Manual 12.7 +127 -1.2345 -0.123 1.6.8 < > Definition Throughout this document, < > numeric response data is defined as: Digit Digit Digit The following shows the examples of < > 1.23E+4 12.3E-45 < >...
IEEE-488.2 standard which are applicable to USB controlled devices. 1.8.2 USBTMC Compliance The QM1004-2-18 Combined RF Upconverter/Downconverter complies with the rules and regulations of the of the USBTMC (USB Test and Measurement Class). When connected to a USB bus, the QM1004- 2-18 will configure as a USB Test and Measurement device.
User Manual 1.8.3 VISA Compliance The QM1004-2-18 Combined RF Upconverter/Downconverter complies with the rules and regulations of the of the VISA (Virtual Instrument Systems Architecture) standard. Communication with the QM1004-2- 18 is accomplished through VISA libraries, providing portability between different operating systems. No additional drivers are required.
User Manual 2. VISA Descriptors and Configuration 2.1 USBTMC 2.1.1 VISA Descriptors To communicate with the Quonset Microwave QM1004-2-18 Combined RF Upconverter/Downconverter as a USBTMC device, use the following USB VISA descriptor format: USB[board number]::manufacturer ID::model code::serial number::INSTR Descriptor Example USB0::0x2012::0x0016::0008::INSTR 2.1.2 USBTMC VISA Code Example...
QM1004-2-18 Combined RF Upconverter/Downconverter User Manual Control Commands In This Chapter Command Quick Reference Guide ....... . . 28 Common (*) Commands .
Page 39
QM1004-2-18 Combined RF Upconverter/Downconverter User Manual STATus:OPERation:CONDition ........
QM1004-2-18 Combined RF Upconverter/Downconverter User Manual 1. Command Quick Reference Guide 1.1 Common (*) Commands Table 4.1: Common (*) Commands Summary Command Page Description *CLS Clears the data structures. The SCPI registers are cleared. *ESE < > Sets the Standard Event Status Enable Register.
QM1004-2-18 Combined RF Upconverter/Downconverter User Manual 1.2 FREQuency Subsystem Table 4.2: FREQuency Subsystem Commands Summary Command Page Description FREQuency:LOCK Returns the lock status of the internal LOs. FREQuency:TUNE Sets or Returns the desired tuning frequency in GHz. FREQuency:TUNErACTual Returns the actual tuning frequency of the device in GHz.
QM1004-2-18 Combined RF Upconverter/Downconverter User Manual 1.4 STATus Subsystem Table 4.4: STATus Subsystem Commands Summary Command Page Description STATus:OPERation Returns the contents of the status event register. STATus:OPERation:CONDition Returns the contents of the condition register. STATus:OPERation:ENABle Sets the enable bit mask for the status event register.
QM1004-2-18 Combined RF Upconverter/Downconverter User Manual 2. FREQuency Subsystem Command Reference 2.1 FREQuency:LOCK This query allows the user to check the lock status of the internal LOs to the reference signal. Syntax FREQ LOCK Query :FREQ:LOCK? This query returns the lock status of the internal LOs. A lock status of 0 indicates that the LOs are unlocked, while a lock status of 1 indicates the LOs are locked.
This command sets the center frequency of the QM1004-2-18 to 10 GHz. Default Condition On power up, or when a *RST command is issued, the QM1004-2-18 returns to the boot state’s setting. The Combined RF Upconverter/Downconverter default setting is 10. Query :FREQ:TUNE? This query returns the center frequency of the QM1004-2-18 in GHz.
This query returns the actual tuner frequency of the QM1004-2-18 in GHz. When in integer mode, the QM1004-2-18 is only capable of tuning in discrete steps set by the reference divider. As a result, the actual tuned frequency may vary from the desired frequency set using the FREQ:TUNE command. To achieve the exact desired tune frequeny, the user must use fractional mode or increase the reference divider value.
This command sets the LO reference divider of the QM1004-2-18 to 2. Default Condition On power up, or when a *RST command is issued, the QM1004-2-18 LO reference divider returns to the boot state’s setting. The Combined RF Upconverter/Downconverter default setting is 1. Query :FREQ:LO1:DIV? This query returns the value of the QM1004-2-18 LO reference divider.
Example :FREQ:LO1:EXT 0 This command selects the internal LO1 oscillator. Default Condition On power up, or when a *RST command is issued, the QM1004-2-18 returns to the boot state’s setting. The Combined RF Upconverter/Downconverter default setting is 0. Query :FREQ:LO1:EXT?
QM1004-2-18 Combined RF Upconverter/Downconverter User Manual 2.6 FREQuency:LO1:LOCK This query allows the user to check the lock status of the internal LOs to the reference signal for both channels. Syntax FREQ LOCK Query :FREQ:LO1:LOCK? This query returns the lock status of the internal LOs. A lock status of 0 indicates that the LOs are unlocked, while a lock status of 1 indicates the LOs are locked.
This command sets the PLL mode of the tunable Local Oscillator (LO1) located inside the QM1004-2-18 for both channels. A PLL mode of INT or 1 indicates that the PLL is operating in Integer mode, while a PLL mode of FRAC or 0 indicates that the PLL is operating in Fractional Mode.
Page 50
This command sets the PLL mode of the QM1004-2-18 to Integer mode. Default Condition On power up, or when a *RST command is issued, the QM1004-2-18 PLL mode setting returns to the boot state’s setting. The Combined RF Upconverter/Downconverter default setting is 1.
QM1004-2-18 Combined RF Upconverter/Downconverter User Manual 2.8 FREQuency:LO2:LOCK This query allows the user to check the lock status of the internal LO2 to the reference signal for the Combined RF Upconverter/Downconverter. Syntax FREQ LOCK Query :FREQ:LO2:LOCK? This query returns the lock status of the internal LO2. A lock status of 0 indicates that the LO2 is unlocked, while a lock status of 1 indicates the LO2 is locked.
QM1004-2-18 Combined RF Upconverter/Downconverter User Manual 2.9 FREQuency:LO3:LOCK This query allows the user to check the lock status of the internal LO3 to the reference signal for the Combined RF Upconverter/Downconverter. Syntax FREQ LOCK Query :FREQ:LO3:LOCK? This query returns the lock status of the internal LO3. A lock status of 0 indicates that the LO3 is unlocked, while a lock status of 1 indicates the LO3 is locked.
Example :FREQ:REF:EXT 0 This command selects the internal reference oscillator. Default Condition On power up, or when a *RST command is issued, the QM1004-2-18 returns to the boot state’s setting. The Combined RF Upconverter/Downconverter default setting is 0. Query :FREQ:REF:EXT?
This command sets the external reference frequency of the QM1004-2-18 to 150 MHz. Default Condition On power up, or when a *RST command is issued, the QM1004-2-18 reference frequency returns to the boot state’s setting. The Combined RF Upconverter/Downconverter default setting is 10. Query :FREQ:REF:FREQ? This query returns the center frequency of the QM1004-2-18 in MHz.
QM1004-2-18 Combined RF Upconverter/Downconverter User Manual 2.12 FREQuency:REFerence:LOCK This query allows the user to check the lock status of the external reference signal. Syntax FREQ LOCK Query :FREQ:REF:LOCK? This query returns the lock status of the external reference. A lock status of 0 indicates that the reference is unlocked, while a lock status of 1 indicates the reference is locked.
This command allows the user to set the RF attenuation level of the QM1004-2-18 upconverter to a spec- ified numeric value. The range of acceptable attenuation values is 0 - 31 dB in 1 dB steps.
This command allows the user to set the RF attenuation level of the QM1004-2-18 downconverter to a specified numeric value. The range of acceptable attenuation values is 0 - 31 dB in 1 dB steps.
Example :POWE:LNA 0 This command turns off the LNA. Default Condition On power up, or when a *RST command is issued, the QM1004-2-18 returns to the boot state’s setting. The Combined RF Upconverter/Downconverter default setting is 0. Query :POWE:LNA? This query returns a 0 or 1 to indicated the Combined RF Upconverter/Downconverter LNA power state.
Example :POWE:RF 0 This command turns off the RF power. Default Condition On power up, or when a *RST command is issued, the QM1004-2-18 returns to the boot state’s setting. The Combined RF Upconverter/Downconverter default setting is 0. Query :POWE:RF? This query returns a 0 or 1 to indicated the Combined RF Upconverter/Downconverter power state.
QM1004-2-18 Combined RF Upconverter/Downconverter User Manual 4. STATus Subsystem Command Reference 4.1 STATus:OPERation? This query returns the contents of the status event register. Reading from this event register clears it. The use of the :EVENt token is optional. Syntax STAT...
QM1004-2-18 Combined RF Upconverter/Downconverter User Manual 4.2 STATus:OPERation:CONDition? This query returns the contents of the condition register. Syntax STAT OPER COND Allowed Values The NRf parameter can be any integer in the range of 0 to 32767. Query :STAT:OPER:COND? The condition register is queried.
QM1004-2-18 Combined RF Upconverter/Downconverter User Manual 4.3 STATus:OPERation:ENABle <NRf> This command sets the enable mask for the status event register. A bit value of 1 in the mask will allow a positive transition in the associated summary bit of the event register if the event bit transitions to true.
QM1004-2-18 Combined RF Upconverter/Downconverter User Manual 4.4 STATus:PRESet The PRESet command presets the STATus:QUEStionable:ENABle register to 0. No other registers are affected. *CLS;*SRE 0;*ESE 0 is the recommended command sequence to reset all other status/event registers. Syntax STAT PRES Example :STAT:PRES The questionable enable register is preset.
QM1004-2-18 Combined RF Upconverter/Downconverter User Manual 4.5 STATus:QUEStionable? This query returns the contents of the questionable status register. A value of 1 in the bit indicates the accuracy of the signal is of questionable quality. The use of the :EVENt token is optional.
QM1004-2-18 Combined RF Upconverter/Downconverter User Manual 4.6 STATus:QUEStionable:CONDition? This query returns the contents of the questionable condition register. Syntax STAT QUES COND Allowed Values The NRf parameter can be any integer in the range of 0 to 32767. Query :STAT:QUES:COND? The questionable condition register is queried.
QM1004-2-18 Combined RF Upconverter/Downconverter User Manual 4.7 STATus:QUEStionable:ENABle <NRf> This command sets the enable mask for the questionable event register. A bit value of 1 in the mask will allow a positive transition in the associated summary bit of the questionable event register if the event bit transitions to true.
QM1004-2-18 Combined RF Upconverter/Downconverter User Manual 5. SYSTem Subsystem Command Reference 5.1 SYSTem:BOOTstate [0-5] This command specifies a previously saved state to be loaded upon device startup. In addition to factory default state 0, there are 5 re-writeable memory locations. Any of these 6 boot states can be selected by choosing an index between 0 and 5.
QM1004-2-18 Combined RF Upconverter/Downconverter User Manual 5.2 SYSTem:CURRent? This command returns the current reading from the Combined RF Upconverter/Downconverter in Amps. Syntax SYST CURR Query Example :SYST:CURR? This query returns the QM1004-2-18 current draw in Amps. Quonset Microwave Revision 6.1.0...
This query returns error numbers and messages from the QM1004-2-18 error queue. When an error is generated by the QM1004-2-18, the error number and corresponding error message are stored in the error queue. Each time the error queue is queried, the first error in the error queue is returned. The errors are read out in the order of first-in first-out.
Page 70
QM1004-2-18 Combined RF Upconverter/Downconverter User Manual -109 Missing parameter Fewer parameters were received than expected for the command. -112 Program mnemonic too long A command header was received which contained more than the maximum 12 characters allowed. -113 Undefined header A command was received that is not valid for the Combined RF Upconverter/- Downconverter.
Page 71
QM1004-2-18 Combined RF Upconverter/Downconverter User Manual -178 Expression data not allowed A legal expression data element was encountered but not allowed by the Prod- uct. -200 Execution error Indicates that an execution error has occurred. -211 Trigger ignored Indicates that a trigger command was received but ignored because the Com- bined RF Upconverter/Downconverter was not in the wait for trigger state.
Page 72
QM1004-2-18 Combined RF Upconverter/Downconverter User Manual -430 Query DEADLOCKED A command was received which generates too much data to fit in the output buffer and the input buffer is also full. Command execution continues but data is lost. -440 Query UNTERMINATED after indefinite response The *IDN? command must be the last query command within a command string.
QM1004-2-18 Combined RF Upconverter/Downconverter User Manual 5.4 SYSTem:FIRMware? This command returns the current PIC and FPGA firmware versions of the Combined RF Upconverter/- Downconverter. Syntax SYST FIRM Query Example :SYST:FIRM? This query returns the current firmware versions of the Combined RF Upconverter/- Downconverter.
QM1004-2-18 Combined RF Upconverter/Downconverter User Manual 5.5 SYSTem:LOADstate [0-5] This command restores a previously saved state from non-volatile memory. In addition to factory default state 0, there are 5 re-writeable memory locations, specified by choosing an index between 1 and 5.
QM1004-2-18 Combined RF Upconverter/Downconverter User Manual 5.6 SYSTem:READstate? [0-5] Note: The order of parameters has changed starting in v6 to system settings first, followed by channel 1 and then by channel 2 settings. The next v4 and v5 firmware updates will also be changed to this sequence.
QM1004-2-18 Combined RF Upconverter/Downconverter User Manual 5.7 SYSTem:SAVEstate [1-5] This command saves the current setup to non-volatile memory. There are 5 re-writeable memory loca- tions, specified by choosing an index between 1 and 5. Any of the 5 states can be restored on startup when specified with the SYSTem:BOOTstate command.
QM1004-2-18 Combined RF Upconverter/Downconverter User Manual 5.8 SYSTem:SERialNUMber? This query returns the serial number of the device. Syntax SYST SERNUM Query Example :SYST:SERNUM? This query returns the serial number of the device. Quonset Microwave Revision 6.1.0...
User Manual 5.9 SYSTem:TEMPerature? This query returns the temperature reading from the QM1004-2-18 in degrees Celsius when RF Power is applied. When RF Power has not been applied, the boards are in a powered down state and the device will return 0.00 degrees.
QM1004-2-18 Combined RF Upconverter/Downconverter User Manual 5.10 SYSTem:VERSion? This query returns the version of SCPI used in the Combined RF Upconverter/Downconverter. The re- sponse is in the format XXXX.Y, where XXXX is the year and Y is the version number.
Combined RF Upconverter/Downconverter IEEE 488.2 Command Reference 6.2 *CLS The *CLS (CLear Status) command clears the data structures. The SCPI registers are all cleared. Syntax Quonset Microwave Revision 6.1.0...
This query returns the contents of the Standard Event Status Enable Register. Error Message If the parameter is not in the recognized format, error -102, "Syntax error" occurs. If the parameter is less than 0 or greater than 255, error -222, "Data out of range" occurs. Quonset Microwave Revision 6.1.0...
0 to 255. Table 4.10 shows the contents of this register. Table 4.10: *ESR? mapping Base 2 Meaning Operation Complete Not Used Query Error Device Dependent Error Execution Error Command Error Not Used Power On Syntax Quonset Microwave Revision 6.1.0...
6.5 *IDN? The *IDN? query allows the connected device to identify itself. The string returned is: < > < > < > Quonset Microwave, Product Number Serial Number Firmware where: < > identifies the product number of the host Product Number <...
Combined RF Upconverter/Downconverter IEEE 488.2 Command Reference 6.6 *OPC The *OPC (Operation Complete) command causes the QM1004-2-18 Combined RF Upconverter/Down- converter to set the operation complete bit in the Standard Event Status Register when all pending device operations have been completed.
The NRf parameter can be any integer in the range of 0 to 5. Error Message If the parameter is not in the recognized format, error -102, "Syntax error" occurs. If the parameter is less than 0 or greater than 5, error -222, "Data out of range" occurs. Quonset Microwave Revision 6.1.0...
The NRf parameter can be any integer in the range of 1 to 5. Error Message If the parameter is not in the recognized format, error -102, "Syntax error" occurs. If the parameter is less than 1 or greater than 5, error -222, "Data out of range" occurs. Quonset Microwave Revision 6.1.0...
< > The *SDS (Save Default device Settings) command restores the specified state of the QM1004-2-18 Combined RF Upconverter/Downconverter to the default state settings. There are 5 re-writeable memory locations, specified by choosing an index between 1 and 5. The parameters restored are the RF Power...
Bit 6 is always 0. Error Message If the parameter is not in the recognized format, error -102, "Syntax error" occurs. If the parameter is less than 0 or greater than 255, error -222, "Data out of range" occurs. Quonset Microwave Revision 6.1.0...
IEEE 488.2 Command Reference 6.12 *STB? The *STB? (STatus Byte) query returns bit 0 to 5 and bit 7 of the QM1004-2-18 Combined RF Upcon- verter/Downconverter status byte and returns the Master Summary Status (MSS) as bit 6. The MSS is inclusive OR of the bitwise combination (excluding bit 6) of the Status Byte and the Service Request En- able registers.
Combined RF Upconverter/Downconverter IEEE 488.2 Command Reference 6.13 *TST? The *TST? query causes the QM1004-2-18 Combined RF Upconverter/Downconverter to perform a self- test. The result of the self-test is placed in the output queue. 0 is returned if the test passes...
Combined RF Upconverter/Downconverter IEEE 488.2 Command Reference 6.14 *WAI The *WAI (WAIt)) command causes the QM1004-2-18 Combined RF Upconverter/Downconverter to wait until either: All pending operations are complete The Device Clear command is received Power is cycled before executing any subsequent commands or queries.
1. Overview Figure 5.1: Windows® Control GUI The Graphical User Interface (GUI) for the QM1004-2-18 is shown above in Figure 5.1. This GUI provides the current status and provides all of the essential functionality for the Combined RF Upconverter/Down- converter system. The GUI allows the user to toggle RF power, LNA power, and to set user states, attenuation control, tune the device, and change reference settings.
Need help?
Do you have a question about the QM1004-2-18 and is the answer not in the manual?
Questions and answers