● For safety and warning information, please read this
manual before attempting to use the equipment.
● Additional safety and warning information is provided
within the MT8852B Bluetooth Test Set Operation
Manual. Please also refer to it before using the
equipment.
● Keep this manual with the equipment.
ANRITSU CORPORATION
Document No.: M-W3969AE-7.0
Safety Symbols
DANGER
WARNING
CAUTION
To prevent the risk of personal injury or loss related to equipment malfunction, Anritsu
Corporation uses the following safety symbols to indicate safety-related information. Ensure
that you clearly understand the meanings of the symbols BEFORE using the equipment.
Some or all of the following symbols may be used on all Anritsu equipment. In addition, there
may be other labels attached to products that are not shown in the diagrams in this manual.
Symbols Used in Manuals
This indicates a very dangerous procedure that could
result in serious injury or death if not performed properly.
This indicates a hazardous procedure that could result in
serious injury or death if not performed properly.
This indicates a hazardous procedure or danger that could
result in light-to-severe injury, or loss related to equipment
malfunction, if proper precautions are not taken.
Safety Symbols Used on Equipment and in Manuals
The following safety symbols are used inside or on the equipment near operation locations to
provide information about safety items and operation precautions. Ensure that you clearly
understand the meanings of the symbols and take the necessary precautions BEFORE using
the equipment.
This indicates a prohibited operation. The prohibited operation is indicated
symbolically in or near the barred circle.
This indicates a compulsory safety precaution. The required operation is indicated
symbolically in or near the circle.
This indicates a warning or caution. The contents are indicated symbolically in or
near the triangle.
This indicates a note. The contents are described in the box.
These indicate that the marked part should be recycled.
MT8852B
Bluetooth Tes t S et
Remote Programming Manual
All rights reserved. No part of this manual may be reproduced without the prior written permission
of the publisher.
The operational instructions of this manual may be changed without prior notice.
Printed in Japan
Safety-2
Notes On Export Management
This product and its manuals may require an Export License/
Approval by the Government of the product's country of origin
for re-export from your country.
Before re-exporting the product or manuals, please contact us
to confirm whether they are export-controlled items or not.
When you dispose of export-controlled items, the products/
manuals need to be broken/shredded so as not to be
unlawfully used for military purpose.
BLE Extended Signal Generator Mode (Supports Data Length Extension) . . 9-3
BLE Extended Signal Generator Mode (Supports Bluetooth 5 - 2LE and BLR)9-4
BLE Extended Signal Generator Mode (Supports Bluetooth 5.1 - Constant Tone
This manual provides instructions on the remote operation of the following model types:
• MT8852B Bluetooth Test Set (with EDR and Audio)
• MT8852B-040 Bluetooth Test Set (without EDR or Audio)
• MT8852B-041 Bluetooth Test Set (without EDR but with Audio)
• MT8852B-042 Bluetooth Test Set (with EDR but without Audio
• MT8852B-043 Bluetooth Test Set for Low Energy tests only (without EDR or Audio)
Explanations in this manual apply equally to all of the above model types unless otherwise
stated.
Comments on this Manual
Every effort has been made to ensure that this manual is thorough, easy to use, and free from
errors. However, to ensure continued improvement, we would welcome your comments on
this, or any other Anritsu document.
Please contact us at the address below if you have any comments, good or bad, find any errors
or omissions, or have any suggestions on how our documentation could be improved further.
Bluetooth.support@anritsu.com
Your comments will be logged and reviewed, and whenever possible, will be reflected in a
subsequent release of the document.
Software Versions
This manual provides details of the remote operation of the following software versions:
• MT8852B:5.00.020(N)
• MT8852B-040:5.00.020(N)
• MT8852B-041:5.00.020(N)
• MT8852B-042:5.00.020(N)
• MT8852B-043:5.00.020(N)
Some of the features documented in this manual may not be available to users of earlier
software releases. Check the version of software you are using by following the procedure
below.
1. Power up the unit and press .
2. Select "MT8852B" and press .
3. Select "Identity" and press .
4. Check the number that displays to the right of "Version".
1-1
General Information
Notification of Software Release
The MT8852B software is periodically updated as new features are added to meet market
demands. To receive automatic notification of software releases, send a blank e-mail with the
subject heading of "MT8852B Software Notification Request" to
Bluetooth.support@anritsu.com. You will receive an e-mail when new software is available to
download.
Associated Documentation
In addition to this manual, the following document is also available on the Product CD
shipped with the MT8852B Bluetooth Test Set.
Tab le 1-1.Associated Documentation
Part numberDocument
W3968AEMT8852B Bluetooth Test Set Operation Manual
TM
The above document is in PDF format and can be viewed using Adobe Reader
program that can be downloaded from http://www.adobe.com/.
, a freeware
Conventions
The following conventions have been adopted in this manual.
Tab le 1-2.Notation Conventions
ItemConvention
MT8852BUnless otherwise stated, the name “MT8852B” is used generically
throughout this manual to refer to all model types of the MT8852B
Bluetooth Test Set. Refer to the table on the following page for
details of model types.
EUTThe Bluetooth enabled device being tested is referred to as the EUT
(Equipment Under Test).
The five hard keys (Run, Loop/Stop, Script, Config, and Preset) are
depicted using an image of the key in question.
The keys on the numeric keypad are depicted using an image of the
key in question.
[Setup]The names of soft keys appearing on the front panel are enclosed in
square brackets.
“Output Power”Test appearing on the display is enclosed in quotation marks when
used in a body of text. Items with quotation marks are selected by
pressing .
> “MT8852B”A chevron (>) is used to indicate that the user should select the items
or keys in sequential order.
[Log Capture]The names of software windows and dialogs are enclosed in square
brackets.
1-2
Command Format
1-2Command Format
The commands are presented in a structured manner as shown below.
Set command formatFor each command, the command name and syntax are
detailed. For example:
COMMAND<ws>[<param1>,<param2>,<paramN>]
Each of the allowable values for the command argument(s) is
described.
RemarksAn expanded description of the command, how to use it, and
programming hints or restrictions.
ExampleAn example of the command in use.
Query command format The command used when requesting a response from the
MT8852B.
ResponseThe command string returned from the MT8852B.
ExampleAn example of a response from the MT8852B.
1-3
General Information
1-4
Chapter 2 — GPIB Overview
The MT8852B Bluetooth Test Set can be operated remotely through a General Purpose
Interface Bus (GPIB) connection to a host computer. The MT8852B conforms to the
IEEE488.1 and IEEE488.2 standards.
2-1Requirements when using GPIB
A GPIB card, cable, and the associated control software are required to communicate with the
MT8852B over the GPIB bus.
2-2Syntax
The following rules must be adhered to when sending GPIB commands to the instrument.
1. An ASCII space must be present between the command mnemonic and the first
parameter.
2. All subsequent parameters must be separated by commas (,).
3. Multiple commands may be sent on the same line, but each must be separated by a
semicolon (;).
The conventions used are detailed in the table below.
Table 2- 1 .GPIB Syntax Rules
ItemMeaning
The parameters or characters within the angled brackets must be present.
< >
ws
[ ]
,
;
Throughout this document the angled brackets are employed merely as a
convention to help users interpret the commands. They must not be included in the
command string when issuing commands over GPIB.
White space character.
Optional parameters. Do not include the square brackets in the command string.
Parameter separator. All GPIB commands having more than one parameter must
use the comma (,) separator between each parameter.
Message unit terminator. A GPIB command message can be made up of a
number of command units separated by the semicolon, as seen in the following
example.
COMMAND param1a,param1b;COMMAND2 param2a
The mnemonics and all the parameters can use either upper or lower case
characters unless specified otherwise.
2-1
GPIB Overview
2-3Termination
All commands sent over the GPIB interface to the MT8852B must be terminated with either
(or both) of the following:
End Of String (EOS):The ‘\n’ or 0x0A character.
End Of message Indicator (EOI):A hardware line on the GPIB interface bus.
2-4Suffixes
Parameters containing floating-point values can use the E-0x convention or a suffix
multiplier. The GPIB unit conventions specified by the IEEE have been implemented for the
suffix units and multipliers. The suffix unit is always allowed but is not required and is
shown in brackets where appropriate.
The following table lists the numeric suffixes for the MT8852B Bluetooth Test Set. Suffix
units are optional and can be omitted.
Tab le 2-2.Suffix Multipliers and Units
Suffix MultipliersSuffix Units
DefinitionMnemonicDefinitionMnemonic
1E18EXDecibelsDB
1E15PEdB ref to 1 mWDBM
1E12TdB ref to 1 mVDBMV
1E9GdB ref to 1 V
1E6MAPercentPCT
1E3KSecondsSEC
1E-3MSecondsS
1E-6UVoltsV
1E-9NWattsW
1E-12PHertzHZ
1E-15FKilo HertzKHZ
1E-18AMegahertzMHZ
DBUV
For example 10 microseconds can be represented in any of the following formats: -
a. Straight value format0.000010
b. With the E format10E-6
c. Suffix multiplier format10U
2-2
GPIB 488.2 Registers
2-5GPIB 488.2 Registers
The following diagram shows the GPIB event and status registers. The meaning of each bit is
described below.
Status Byte Register and Service Request Enable Register
Figure 2-1.Status Byte and Service Request Enable Registers
Table 2- 3 .STB and SRE Bit Definitions
RQS/MSSWhen the Status byte is read via a Serial Poll operation this bit is RQS (Request
Service). When the Status byte is read via the *STB? Command this bit is MSS
(Master Summary Status). This bit has no function in the Service Request Enable
Register.
(Request service) This bit is set when one of the other bits in the status byte is set
and the corresponding bit in the Service Request Enable Register (SRE) has been
set. When this bit is set an SRQ is indicated over the GPIB interface. The SRQ is
cleared by a serial poll, the status byte returned to the controller and the bit that
caused the SRQ is cleared.
(Master Summary Status) This bit is the inclusive OR of the bitwise combination
(excluding bit 6) of the Status Byte register and the Service Request Enable
register. Note that the *STB? Command does not alter the Status byte, nor will it
clear an SRQ.
2-3
GPIB Overview
Tab le 2-4.
ESB(Event status bit) When a bit is set in the event register and the corresponding bit
has been set in the event status enable register (ESE) the ESB bit in the status
register is set.
MAV(Message available) This bit is always set when there is data available to be read
out from the output buffer and it is cleared when the output buffer is empty.
CHG(Change indication) This bit is cleared at power ON initialisation, following a serial
poll, or upon sending the *CLS command. This bit is set when one of the change
bits has been set and the corresponding bit in the change status enable (CHE)
register has been set.
EPS(EUT Power Status) This bit is cleared at power ON initialisation or upon sending
the *CLS command. This bit is set when the EUT power matches the maximum or
minimum power. Use the status command to read whether max or min was
reached.
ETF(Equipment Test Fail) This bit is cleared at power ON initialisation or upon sending
*CLS. This bit is set to indicate a test failure if the following conditions apply: One of
the tests has failed (the instrument will set the appropriate bit in the ETF or EETF
registers) and the appropriate bit within the ETE or EETE registers has been
enabled by the user prior to running the test. See definitions of the ETF, EETF,
ETE, EETE in this manual for more details.
INS(Instrument status) This bit is cleared on initialisation and when the *CLS command
has been sent. This bit is set when one of the instrument status bits has been set
and the corresponding bit in the instrument status enable (INE) register has been
set.
Note
The Status Byte register is read via a Serial Poll or with the *STB? Command. It
cannot be written to directly by the user. The Service Request Enable Register is
written to with the *SRE command and read with the *SRE? Command. It is
cleared by *CLS.
2-4
GPIB 488.2 Registers
Standard Event Status Register and Standard Event Status Enable Register
Figure 2-2.Standard Event Status and Standard Event Status Enable Registers
Table 2- 5 .ESR and ESE Bit Definitions
PONPower On bit. This bit is set on power up of the device only and cleared if the
instrument is reset or receives a *CLS command. This bit only indicates that a power
on has occurred.
URQUser request
CMDCommand error. Received an unrecognized command.
EXEExecution error. Could not execute a command. For example, a parameter is out of
the allowable range.
DDEDevice Dependent Error. The specific error can be found by using the ERRLST
command.
QYEQuery Error
RQCRequest Control. GPIB controllers only.
OPCOperation Complete. When a program message that includes the *OPC command
has been completed and the GPIB interface is idle with any responses read out of the
output buffer this bit is set. For example, if the last command in a configuration
sequence is *OPC, the OPC bit in the event status register is set when that
configuration list has been completed.
The Standard Event Status Register is read with the *ESR? Command. Reading
Note
the ESR clears it. The Standard Events Status Enable Register is written to with
the *ESE command and read with the *ESE? command. Both registers are
cleared by *CLS.
2-5
GPIB Overview
EUT Fail Register and Fail Enable Register
Figure 2-3.UET Fail and Fail Enable Registers
This EUT register is cleared on the start of a test or script. When a test completes, if it has
failed the test limit parameters enabled to give a fail result the corresponding bit in this
register is set. These events can be programmed to provide an SRQ by setting the
corresponding bit(s) in the Equipment Under Test Fail Enable Register (ETE).
Tab le 2-6.ETF and ETE Bit Definitions
OPOutput power test fail bit. This bit indicates that the output power test failed the limit
criteria set.
PCPower control test fail bit. This bit indicates that the power control test failed the limit
criteria set.
ICInitial carrier test fail bit. This bit indicates that the initial carrier test failed the limit criteria
set.
CDCarrier drift test fail bit. This bit indicates that the carrier drift test failed the limit criteria
set.
MCModulation index test fail bit. This bit indicates that the modulation index test failed the
limit criteria set.
SSSingle slot sensitivity test fail bit. This bit indicates that the single slot sensitivity test
failed the limit criteria set.
MSMulti slot sensitivity test fail bit. This bit indicates that the multi slot sensitivity test failed
the limit criteria set.
MPMaximum input power test fail bit. This bit indicates that the maximum input power
sensitivity test failed the limit criteria set.
NoteThe EUT Fail register is read with the *ETF?.
2-6
GPIB 488.2 Registers
Instrument Status Register and Instrument Status Enable Register
Figure 2-4.Instrument Status and Instrument Status Enable Registers
The INS register displays the present status of the instrument and can be used to provide
SRQs for test or script completion and the connection status of the instrument by setting the
corresponding bits in the INE register.
Table 2- 7 .INS and INE Bit Definitions
LEFGBLE Frame generator counter stopped. This bit is set when the BLE Frame
generator has sent the defined number of packets to the EUT.
OVTInstrument Over temperature Warning.
INQEUT Address Inquiry complete.
CMPScript or test completion. This bit is cleared when a test or script has started and is
set on its completion or termination.
DISDisconnect. This bit is cleared when a connection has been made and set when
disconnected.
CONConnection. This bit is set when a connection has been made and cleared when
the connection no longer exists.
A Device Dependant Error (DDE in the ESR register) will indicate if an error
Note
The INS register is read with the *INS? Command. It cannot be cleared by reading it or by
the *CLS command. The INE register is written to by the *INE command and read by the
*INE? Command. It is cleared by *CLS.
occurred, causing the test or script to be aborted. The ERRLST command can be
used to get the cause of the termination.
2-7
GPIB Overview
Change Register and Change Enable Register
Figure 2-5.Change and Change Enable Registers
The CHG register indicates when a change of state has occurred in the instrument, and can
be used to provide SRQs by setting the corresponding bits in the CHE register.
The CHG register is read with the *CHG? command. It is cleared by reading it or with the
*CLS command.
The CHE register is written to with the *CHE command and read by the *CHE? command. It
is cleared by the *CLS command.
Tab le 2-8.CHG and CHE Bit Definitions
SCCThis bit is set to indicate when a SCO status has changed.
Use the "STATUS" command to retrieve the present SCO status. (MT8852B and
MT8852B-041 only)
USBThis bit is set to indicate when a USB attached status has changed.
Use the "STATUS" command to retrieve the present USB status. (MT8852B and
MT8852B-041 only)
AFHThis bit is set to indicate that a change has occurred to the channel map. Use
"AFHCFG? ACM" to retrieve the present state of the map.
2-8
GPIB 488.2 Registers
EDR EUT Fail Register and EDR EUT Fail Enable Register (MT8852B and
MT8852B-042 only)
Figure 2-6.EDR EUT Fail and EDR EUT Fail Enable Registers
The EDR EETF Test Fail register is cleared at the start of a test or script. If an EDR test
fails any of the test limits applied, the appropriate bit within the EETF register is set (e.g. if
the EDR Sensitivity test fails, the EBS bit is set to '1'). To program the GPIB to provide an
SRQ event upon failure of any of the EDR tests, the appropriate bit(s) must be set within the
EDR EETE Fail Enable register.
Table 2- 9 .EETF and EETE Bit Definitions
EPCEnhanced Power Control test fail bit. This bit indicates whether or not the test failed
the limits criteria set.
EMPEDR Maximum Input Power test fail bit. This bit indicates whether or not the test failed
the limits criteria set.
EFSEDR Floor Sensitivity test fail bit. This bit indicates whether or not the test failed the
limits criteria set.
EBSEDR Sensitivity test fail bit. This bit indicates whether or not the test failed the limits
criteria set.
EDPEDR Differential Phase Encoding test fail bit. This bit indicates whether or not the test
failed the limits criteria set.
ECMEDR Carrier Frequency Stability and Modulation Accuracy fail bit. This bit indicates
whether or not the test failed the limits criteria set.
ERPEDR Relative Transmit Power. This bit indicates whether or not the test failed the
limits criteria set.
NoteThe EDR EUT Fail register is read with the *EETF? query.
2-9
GPIB Overview
2nd EDR EUT Fail Register and 2nd EDR EUT Fail Enable Register (MT8852B
and MT8852B-042 Only)
Figure 2-7.2
nd
EDR EUT Fail and 2nd EDR EUT Fail Enable Registers
Except the test targets, the 2nd EDR EETF Test Fail register and the 2nd EDR EETE Fail
Enable register are same as the EDR EETF Test Fail register and the EDR EETE Fail
Enable register.
nd
Table 2-10. 2
EETF and 2nd EETE Bit Definitions
EGTEDR Guard Time test fail bit. This bit indicates whether or not the test failed the limits
criteria set.
ESTEDR Synchronization Sequence and Trailer test fail bit. This bit indicates whether or
not the test failed the limits criteria set.
Note
The 2
nd
EDR EUT Fail register is read with the *EETF2? Query.
2-10
GPIB 488.2 Registers
BLE EUT Fail Register and BLE EUT Fail Enable Register (MT8852B-043
and units with option 27 only)
Figure 2-8.
The BLE LEETF Test Fail register is cleared at the start of a test or script. If a BLE test fails
any of the test limits applied, the appropriate bit within the LEETF register is set (e.g., if the
BLE Sensitivity test fails, the LESS bit is set to '1'). To program the GPIB to provide an SRQ
event upon failure of any of the BLE tests, the appropriate bit(s) must be set within the BLE
LEETE Fail Enable register.
Table 2- 11. LEETF and LEETE Bit Definitions
LEPRIPER integrity test fail bit. This bit indicates that the PER integrity test failed the limit
criteria set.
LEOPOutput power test fail bit. This bit indicates that the output power test failed the limit
criteria set.
LEICDInitial carrier test fail bit. This bit indicates that the initial carrier test failed the limit
criteria set.
LEMIModulation index test fail bit. This bit indicates that the modulation index test failed the
limit criteria set
LESSSingle slot sensitivity test fail bit. This bit indicates that the single slot sensitivity test
failed the limit criteria set
LEMPMaximum input power test fail bit. This bit indicates that the maximum input power
sensitivity test failed the limit criteria set
LEPSTx power stability test fail bit. This bit indicates that the Tx power stability test failed
the limit criteria set
NoteThe EUT Fail register is read with the *LEETF? query.
2-11
GPIB Overview
2-6GPIB over RS232
Version 1.1 or above of the control software supports the use of RS232 in addition to GPIB
commands. Use the RS232 connector on the rear panel of the unit.
Hardware handshake CTS and RTS lines are used to control the flow of data in and out of the
tester and must be available in the cable as hardware handshaking is always enabled. The
RS232 cable used between the COM port on the PC and the connector on the rear of the
MT8852B must be of a Null Modem type such as that supplied with the MT8852B itself.
The DTR and DSR lines are connected together within the tester.
The MT8852B Bluetooth test set’s serial connector pin-outs are:
Table 2-12. Serial Connector Pin Outputs
PinSignal
1NOT USED
2Rx Data
3Tx Data
4DTR handshake signal
5Signal ground
6DSR handshake signal
7RTS handshake signal
8CTS handshake signal
9NOT USED
The serial interface baud rate can be set using the MT8852B “System Interfaces” menu under
the menu. Available baud rates are; 1200, 2400, 4800, 9600 (default), 19200, 38400,
57600, and 115200. The other RS232 parameters are predefined as 8 bits, no parity and 1
stop bit and cannot be changed.
Commands are entered in the same manner as the GPIB interface, conforming to the GPIB
command format. All GPIB commands are supported. There are some additional commands,
specific to the serial interface that are prefixed with an exclamation mark (!). All GPIB type
commands and command strings should be terminated with a new line character (0A hex).
The special serial mode commands do NOT require a termination character.
Requested data is returned in the same format as GPIB, but with a preceding 'R' and a
terminating new line character.
SRQs are available, and are output as an SRQ message 'S' followed by a terminating new line
character. When the SRQ message has been received, an "!SPL" command (equivalent to the
GPIB serial poll) can be issued. The tester will respond with the serial poll data message,
which is a single character, proceeded by 'P' and terminated by a new line character.
A device clear message !DCL can be sent to clear the tester input and output message queues,
and terminate any GPIB or serial actions pending.
2-12
Summary of RS232 Commands
2-7Summary of RS232 Commands
Table 2- 1 3 . Mnemonic Definitions
MnemonicMeaningComments
!DCLDevice clearClear all queues and
terminates any pending
actions.
!SPLSerial pollClears SRQ cause and returns
the status byte.
PResponse to serial pollStatus byte
RReturn of requested data
2-13
GPIB Overview
2-14
Chapter 3 — IEEE 488.2 Mandatory
and Register Commands
This chapter provides details of the event register and mandatory commands. The commands
are listed in alphabetical order as shown below.
*CHE (Change Enable Register)
The bits in the Change Enable Register are the same as those in the Change Register. The
two registers are bitwise AND’ed to determine whether to set the CHG bit in the Status
Register.
Set command
format
Remarks<val> is the sum of the binary weights of each of the bits to be enabled.
ExampleTo enable bit 0 (SCO Connection)
Query command
format
Response<val>
Remarks*CHE? Does not clear the Change Enable register. Use *CHE 0 or *CLS
*CHE<ws><val>
<val> decimal representation of an 8 bit binary mask.
See the explanation in chapter 2 for a description of the bits in the
Change and Change Enable registers.
*CHE 1
*CHE?
<val> is a decimal representation of the 8 bit mask as defined above.
for this purpose.
*CHG (Change Register)
Returns the current state of the Change Register (CHG).
Query command
format
Response<val>
ExampleA return value of 1 indicates that bit 0 (SCO Connection) is set.
RemarksSee the explanation in chapter 3 for bit definitions of the Change
*CHG?
<val> is a decimal representation of the binary value of the Change
Register.
Register. *CHG? Does not clear the Change Register.
3-1
IEEE 488.2 Mandatory and Register Commands
*CLS (Clear GPIB Status Bytes)
Set command
format
RemarksClears all the GPIB status data structures, including the Event Status
*CLS
Register and Status Register, except for the MAV bit. *CLS does not
clear the Output Queue.
*EETE (EDR EUT Fail Enable Register) (MT8852B and MT8852B-042 only)
The bits in the EDR EUT Fail Enable Register are the same as those in the EDR EUT Fail
Register. The two registers are bitwise AND’ed to determine which failed test(s) will generate
a SRQ event.
Set command
format
Remarks<val> is the sum of the binary weights of each of the bits to be enabled.
ExamplesTo enable bit 3 (EDR Sensitivity)
*EETE<ws><val>
<val> decimal representation of an 8 bit binary mask.
Refer to chapter 3 of this manual for a description of the bits in the EDR
EUT Fail and EDR EUT Fail Enable registers.
*EETE 8
To enable bit 5 (EDR Maximum Input Power)
*EETE 32
To enable both bits
*EETE 40
Query command
format
Response<val>
Remarks*EETE? Does not clear the EUT Fail Enable register. Use *EETE 0 or
3-2
*EETE?
<val> decimal representation of an 8 bit binary mask.
<val> is a decimal representation of the 8 bit mask as defined above.
The bits in the 2nd EDR EUT Fail Enable Register are the same as those in the 2nd EDR EUT
Fail Register. The two registers are bitwise AND’ed to determine which failed test(s) will
generate a SRQ event.
Set command
format
Remarks<val> is the sum of the binary weights of each of the bits to be enabled.
ExamplesTo enable bit 0 (Guard Time)
Query command
format
Response<val>
Remarks*EETE2? Does not clear the EUT Fail Enable register. Use *EETE2 0 or
*EETE2<ws><val>
<val> decimal representation of an 8 bit binary mask.
Refer to chapter 3 of this manual for a description of the bits in the EDR
EUT Fail and 2
*EETE2 1
To enable bit 1 (Synchronization Sequence and Trailer)
*EETE2 2
To enable both bits
*EETE2 3
*EETE2?
<val> decimal representation of an 8 bit binary mask.
<val> is a decimal representation of the 8 bit mask as defined above.
*CLS for this purpose.
nd
EDR EUT Fail Enable registers.
3-3
IEEE 488.2 Mandatory and Register Commands
*EETF (EDR EUT Fail Register Query) (MT8852B and MT8852B-042 only)
Returns the current state of the EDR EUT Fail Register (EETF).
Query command
*EETF?
format
Response<val>
<val> is a decimal representation of the binary value of the EDR EUT
Fail Register.
ExampleA return value of 9 indicates that bit 0 (EDR Relative Transmit Power)
and bit 3 (EDR Sensitivity) are set.
RemarksSee chapter 2 for bit definitions of the EDR EUT Fail Register.
Returns the current state of the 2nd EDR EUT Fail Register (EETF2).
Query command
format
Response<val>
ExampleA return value of 3 indicates that bit 0 (Guard Time) and bit 1
Remarks
*EETF2?
<val> is a decimal representation of the binary value of the 2
EUT Fail Register.
(Synchronization Sequence and Trailer) are set.
See chapter 2 for bit definitions of the 2
*EETF2? Clears the 2
nd
EDR EUT Fail Register.
nd
EDR EUT Fail Register.
nd
EDR
3-4
*ESE (Standard Event Status Enable)
*ESE (Standard Event Status Enable)
The bits in the Standard Event Status Enable Register are the same as those in the Standard
Event Status Register. The two registers are bitwise AND’ed to determine which standard
event(s) will generate a SRQ.
Set command
format
Remarks<val> is the sum of the binary weights of each of the bits to be enabled.
Examples:-To enable bit 4 (Execution Error)
Query command
format
Response<val>
Remarks*ESE? Does not clear the Standard Event Status Enable register. Use
*ESE<ws><val>
<val> decimal representation of an 8 bit binary mask.
Refer to chapter 3 of this manual for a description of the bits in the
Standard Event Status and Standard Event Status Enable registers.
*ESE 16
To enable bit 5 (Command Error)
*ESE 32
To enable both bits
*ESE 48
*ESE?
<val> is a decimal representation of the 8 bit mask as defined above.
*ESE 0 or *CLS for this purpose.
3-5
IEEE 488.2 Mandatory and Register Commands
*ESR (Standard Event Status Register Query)
Returns the current state of the Standard Event Register (ESR).
Query command
format
Response<val>
ExampleA return value of 5 indicates that bits 0 (Operation Complete) and 2
RemarksSee chapter 2 for bit definitions of the Standard Event Status Register.
*ESR?
<val> is a decimal representation of the binary value of the Standard
Event Status Register.
(Query Error) are set.
*ESR? Clears the Standard Event Status Register.
*ETE (EUT Fail Enable Register)
The bits in the EUT Fail Enable Register are the same as those in the EUT Fail Register. The
two registers are bitwise AND’ed to determine which failed test(s) will generate a SRQ.
Set command
format
Remarks<val> is the sum of the binary weights of each of the bits to be enabled.
ExamplesTo enable bit 4 (Carrier Drift)
*ETE<ws><val>
<val> decimal representation of an 8 bit binary mask
Refer to chapter 3 of this manual for a description of the bits in the EUT
Fail and EUT Fail Enable registers.
*ETE 16
To enable bit 5 (Initial Carrier)
*ETE 32
To enable both bits
*ETE 48
Query command
format
Response<val>
Remarks*ETE? Does not clear the EUT Fail Enable register. Use *ETE 0 or
3-6
*ETE?
<val>decimal representation of an 8 bit binary mask
<val> is a decimal representation of the 8 bit mask as defined above.
*CLS for this purpose.
*ETF (EUT Fail Register Query)
Returns the current state of the EUT Fail Register (ETF).
*IDN (Identification Query)
Query command
format
Response<val>
ExampleA return value of 5 indicates that bits 0 (Maximum Input Power) and 2
RemarksSee chapter 2 for bit definitions of the EUT Fail Register. *ETF? Clears
*ETF?
<val> is a decimal representation of the binary value of the EUT Fail
Register.
(Single Slot Sensitivity) are set.
the EUT Fail Register.
*IDN (Identification Query)
Query command
format
ResponseA string is returned containing the manufacturer’s name, the model
ExampleANRITSU,MT8852B,00801001,4.16.000
RemarksThe operation of this command is identical to SYSCFG? IDENT see
*IDN?
(alternatively OI can be used)
number, the serial number, and the software revision. Commas
separate the items.
chapter 5 for details.
3-7
IEEE 488.2 Mandatory and Register Commands
*INE (Instrument Status Enable Register)
The bits in the Instrument Status Enable Register are the same as those in the Instrument
Status Register. The two registers are bitwise AND’ed to determine which condition(s) will
generate a SRQ.
Set command
format
Remarks<val> is the sum of the binary weights of each of the bits to be enabled.
ExampleTo enable bit 3 (Inquiry Complete)
Query command
format
Response<val>
Remarks*INE? Does not clear the Instrument Status Enable register. Use *INE
*INE<ws><val>
<val> decimal representation of an 8 bit binary mask.
Refer to chapter 2 of this manual for a description of the bits in the
Instrument Status and Instrument Status Enable registers.
*INE 8
To enable bit 2 (Test or Script Complete)
*INE 4
To enable both bits
*INE 12
*INE?
<val> is a decimal representation of the 8 bit mask as defined above.
0 or *CLS for this purpose.
*INS (Instrument Status Register Query)
Returns the current state of the Instrument Status Register (INS).
Query command
format
Response<val>
ExampleA return value of 5 indicates that bits 0 (Connected) and 2 (Test or
RemarksSee chapter 2 for bit definitions of the Instrument Status Register.
3-8
*INS?
<val> is a decimal representation of the binary value of the Instrument
Status Register.
Script Complete) are set.
*INS? Does not clear the Instrument Status Register.
The bits in the BLE EUT Fail Enable Register are the same as those in the BLE EUT Fail
Register. The two registers are bitwise AND'ed to determine which failed test(s) will generate
a SRQ event.
Set command
format
Remarks<val> is the sum of the binary weights of each of the bits to be enabled.
ExamplesTo enable bit 2 (BLE Modulation index)
Query command
format
Response<val>
Remarks*LEETE? Does not clear the EUT Fail Enable register. Use *LEETE 0
*LEETE<ws><val>
<val> decimal representation of an 8 bit binary mask.
Refer to chapter 2 of this manual for a description of the bits in the BLE
EUT Fail and BLE EUT Fail Enable registers.
*LEETE 4
To enable bit 0 (BLE Maximum Input Power)
*LEETE 1
To enable both bits
*LEETE 5
LEETE?
<val> decimal representation of an 8 bit binary mask
<val> is a decimal representation of the 8 bit mask as defined above.
Returns the current state of the BLE EUT Fail Register (LEETF).
Command format*LEETF?
Response<val>
<val> is a decimal representation of the binary value of the BLE EUT
Fail Register.
ExampleA return value of 5 indicates that bit 0 (BLE Modulation Index) and bit
2 (BLE Maximum Input Sensitivity) are set.
RemarksSee chapter 2 for bit definitions of the BLE EUT Fail Register.
*LEETF? Clears the BLE EUT Fail Register.
3-9
IEEE 488.2 Mandatory and Register Commands
*OPC (Operation Completed Indication)
These commands generate indications when all pending operations are completed. An
operation is complete when all input messages processed and all responses have been written
into the GPIB Output queue.
Set command
format
ExampleOPMD SCRIPT;SCPTSEL 3; *OPC
RemarksThe OPC bit is set in the ESR when the OPMD and SCPTSEL
Query command
format
ExampleOPMD SCRIPT;SCPTSEL 3; *OPC?
RemarksAn ASCII ‘1’ is placed in the Output queue when the OPMD and
*OPC
commands have been completed.
*OPC?
SCPTSEL commands have been completed.
*RST (Instrument Reset)
Resets the MT8852B to its default state.
Set command
format
RemarksThe GPIB Address is not changed and the GPIB Status registers and
*RST
Input/Output queues are not cleared. The effect of this command is the
same as pressing the PRESET key on the front panel.
3-10
*STB (Status Byte Register Query)
*SRE (Service Request Enable Register)
The bits in the Service Request Enable Register (SRE) are the same as those in the Status
Byte Register (STB) except for bit 6, which is not used in the SRE. With the exception of bit 6
the two registers are bitwise AND’ed to determine which condition(s) will generate a SRQ.
Set command
format
Remarks<val> is the sum of the binary weights of each of the bits to be enabled.
ExamplesTo enable bit 4 (Message Available)
Query command
format
Response<val>
Remarks*SRE? Does not clear the Instrument Status Enable register. Use *SRE
*SRE<ws><val>
<val> decimal representation of an 8 bit binary mask.
Refer to chapter 2 of this manual for a description of the bits in the
Status Byte and Service Request Enable registers. Note that bit 6
should never be set.
*SRE 16
To enable bit 2 (Internal Error)
*SRE 4
To enable both bits
*SRE 20
*SRE?
<val> is a decimal representation of the 8 bit mask as defined above.
0 or *CLS for this purpose. Bit 6 will never be set.
*STB (Status Byte Register Query)
Returns the current state of the Status Byte Register (STB) with the RQS bit replaced by the
MSS bit (bit 6).
Query command
format
Response<val>
ExampleA return value of 70 indicates that bits 1 (EUT Fail), 2 (Internal Error
RemarksSee chapter 2 for bit definitions of the Status Byte Register. *STB? Does
3-11
*STB?
<val> is a decimal representation of the binary value of the Instrument
Status Register.
Bit), and bit 6 (Master Summary Status) are set.
not clear the Instrument Status Register.
IEEE 488.2 Mandatory and Register Commands
*TST (Self Test Query)
Invokes an instrument Self-Test cycle and places the results in the Output Queue
Query command
format
Response“ALL TESTS PASSED”
RemarksThis command differs from STERR in that it invokes a Self-Test before
*TST?
“SELFTEST FAILED”
returning the results.
*WAI (Wait to Continue)
This mandatory IEE488.2 command is decoded but produces no action because the
Overlapping Commands feature is not implemented on the MT8852B.
Set command
format
*WAI
3-12
Chapter 4 — General GPIB
Commands
BOOTSTATUS? (Startup Self Test Status Request )
Query Command
format
RemarksOn startup the instrument performs a self test. If the self test fails, a
Related
Commands
BOOTSTATUS?
warning screen is displayed indicating the cause. This command
returns the status of the instrument during power up.
0 Passed self test. Instrument running.
1Startup running self test.
–1Self test FAILED.
During the startup procedure all commands except STERR,
BOOTSTATUS?, CONT and GPIB 488.2 event and status commands
will produce a GPIB execution error. STERR will return the self test
results.
STERR, CONT
CONT (Continue After Self Test)
Set command
format
RemarksThis command will allow the system to continue the startup sequence if
Related
Commands
CONT
there are self test failures other than DSP errors.
STERR, BOOTSTATUS?
4-1
General GPIB Commands
ERRLST (Error List)
This command reads out and clears the recorded error states latch. The error states latch
records an error occurring and retains the error states until the instrument is reset, the
power is cycled, or the error states latch is read using this command. The errors are indicated
via the DDE bit of the event register (ESR).
NoteSetting of the DSP status code will not set the DDE bit of the event register.
JEUT BT ADDRESS0 OK
1 No EUT Bluetooth Address set (in Manual
mode)
KKHCI COMM STATUS00 OK
01 Unknown HCI command
02 No connection
03 Hardware failure
04 Paging timeout
05 Connection timeout
06 Unsupported feature parameter
07 Connection ended by user
08 Low resource connection ended
09 Power Off connection ended
10 Local host connection ended
11 Unsupported remote feature
4-3
General GPIB Commands
12 Role change not allowed
13 LMP response timeout
14 IQ modem DAC saturation
LLLLLLLInternal core error text (variable length)
MMMMMMMEUT core error text (variable length)
NNNNNNNLast GPIB command that caused a Command error (variable length)
OOOOOOOLast GPIB command that caused a Execution error (variable length)
EUTINIT (Bluetooth Peripheral Mode)
This command puts the MT8852B into Bluetooth Peripheral mode. It is the equivalent to:
.> “System Features” > “Connection Control” > “Make me an EUT”.
Set command
format
RemarksTo return the MT8852B to normal (Central) mode, use *RST.
EUTINIT
EUTMAXPWR (Send EUT to Max Power Control)
This command enables or disables the setting of an EUT to maximum power at the start of a
test even if the EUT reports that it supports power control.
Set command
format
ExampleExample to set to OFF
Query command
format
ResponseIf script 4 was OFF then response would be:
EUTMAXPWR<ws><script><,><state>
<script>1 to 10
<state>ON or OFF
EUTMAXPWR 3,OFF
EUTMAXPWR?<ws><script>
EUTMAXPWR 4,OFF
LECTETIME (Set the CTE time)
This command sets the CTE time for Bluetooth low energy (BLE) tests with CTE.
Set command
format
ExampleTo set the CTE time to 20, the command would be:
4-4
LECTETIME<ws><script number><,><value>
<script number>3 to 10
<value>2 to 20 (Default 2)
LECTETIME 3,20
LECTETIMEMODE (Set the CTE time mode)
Query command
format
ResponseThe response is the CTE time.
ExampleTo request the CTE time for BLE tests in script 7, the command would
ResponseIf the CTE time has previously been set to 18
LECTETIME?<ws><script number>
<script number> 1 to 10
be:
LECTETIME? 7
LECTETIME 7,18
LECTETIMEMODE (Set the CTE time mode)
This command sets the CTE time mode for Bluetooth low energy (BLE) tests with CTE.
Set command
format
ExampleTo set the CTE time mode to AUTO, the command would be:
RemarksAUTO - In this mode the MT8852B will request the CTE time from the
LECTETIMEMODE<ws><script number><,><value>
<script number>3 to 10
<value>AUTO (Default) or MANUAL
LECTETIMEMODE 3,AUTO
EUT.
If the EUT address source is BLE2WIRE/USBBLE2WIRE or if the EUT
responds to the HCI command with an error, the CTE time
(LECTETIME) will be set to the default value, 20.
MANUAL - In this mode the CTE time can be set between 2 and 20
using LECTETIME.
Query command
format
ResponseThe response is the CTE time mode.
ExampleTo request the CTE time mode for BLE tests in script 7, the command
ResponseIf the mode has previously been set to MAUAL
LECTETIMEMODE?<ws><script number>
<script number> 1 to 10
would be:
LECTETIMEMODE? 7
LECTETIMEMODE 7,MANUAL
4-5
General GPIB Commands
LEPKTLEN (Set the BLE data packet length)
This command sets the data packet length for Bluetooth low energy (BLE) tests.
Set command
format
ExampleTo set the packet length to 45 bytes, the command would be:
Query command
format
ResponseThe response is the packet length.
ExampleTo request the packet length for BLE tests in script 5, the command
ResponseIf the length has previously been set to 45
LEPKTLEN<ws><script number><,><packet length>
<script number>1 to 10
<packet length>2 to 255 bytes (Default 37)
LEPKTLEN 1,45
LEPKTLEN?<ws><script number>
<script number> 1 to 10
would be:
LEPKTLEN? 5
LEPTKLEN 5,45
LEPKTMODE (Set the BLE data packet mode)
This command sets the data mode for the Bluetooth low energy (BLE) tests.
Set command
format
ExampleTo set the packet mode to AUTO, the command would be:
RemarksAUTO - In this mode the MT8852B will request the maximum data
LEPKTMODE<ws><script number><,><mode>
<script number>1 to 10
<mode>AUTO or MANUAL (default)
LEPKTMODE 1,AUTO
length from the EUT.
If the EUT address source is BLE2WIRE/USBBLE2WIRE or if the EUT
responds to the HCL command with an error, the data length will be set
to the default value, 37.
MANUAL - In this mode the data length can be set between 2 and 255
bytes using LEPKTLEN.
Query command
format
ExampleTo request the packet mode for BLE tests in script 5, the command
4-6
LEPKTMODE?<ws><script number>
<script number> 1 to 10
would be:
LEPKTMODE? 5
LKPASS (Update Lock/Unlock Password)
ResponseIf the mode had previously been set to AUTO
LEPKTMODE 5,AUTO
LKPASS (Update Lock/Unlock Password)
This command enables the operator to change the script lock password. The password is a
number between 1 and 65535. All spaces are removed.
Set command
format
ExampleTo change the present password “1234” to “6543”, the command would
This command locks a script so that it cannot be altered unless it is unlocked with the unlock
command. The enquiry version of this command will return TRUE or FALSE indicating
whether a script has been locked.
Set command
format
ExampleLock script 4
Query command
format
ResponseThe response is just a TRUE or FALSE.
ExampleTo request the status of script 5 the command would be:
ResponseIf script 5 is locked
LOCK<ws><script number><,><password>
<script number> 3 to 9
<password>The lock/unlock password. Default is “1234”.
LOCK 4,1234
LOCK?<ws><script number>
<script number> 1 to 9
LOCK? 5
TRUE
4-7
General GPIB Commands
OPMD (Operation Mode)
This command configures the operation mode of the instrument.
Set command
format
OPMD<ws><operation mode>{<,><test>}
<operation mode>
SCRIPT script mode
STEST single test mode
SIGGEN signal generator mode
ESIGGEN EDR signal generator mode
LESIGGEN BLE signal generator mode
CWMEAS CW measurement mode
ECWMEASEDR CW measurement mode
Selected script test <test>
OPOutput power
PC Power control
EPCEnhanced power control
MIModulation Index
ICInitial carrier
CDCarrier drift
SSSingle slot sensitivity
MSMulti slot sensitivity
MPMax input power
ERPEDR Relative transmit power test
(MT8852B and MT8852B-042 only)
ECMEDR Carrier frequency stability and
modulation accuracy test (MT8852B and
MT8852B-042 only)
EDPEDR Differential phase encoding test
(MT8852B and MT8852B-042 only)
EBSEDR Sensitivity test
(MT8852B and MT8852B-042 only)
EFSEDR Floor sensitivity test
(MT8852B and MT8852B-042 only)
EMPEDR Maximum Input Power test
(MT8852B and MT8852B-042 only)
EGTEDR Guard Time
(MT8852B and MT8852B-042 only)
ESTEDR Synchronization Sequence and Trailer
(MT8852B and MT8852B-042 only)
4-8
LOCK (Script Lock)
LEOPBLE Output power
(option 27 and MT8852B-043 only)
LEICDBLE Carrier frequency offset and drift
(option 27 and MT8852B-043 only)
LEMIBLE Modulation characteristics
(option 27 and MT8852B-043 only)
LESSBLE Receiver sensitivity
(option 27 and MT8852B-043 only)
LEPRIBLE PER report integrity test
(option 27 and MT8852B-043 only)
LEMPBLE Max input signal level
(option 27 and MT8852B-043 only)
LEPSBLE Tx power stability
(option 37 only)
Remarks<test> is applicable only when the operation mode is set to STEST.
Changing from SIGGEN, ESIGGEN, or LESIGGEN modes to any of the
other modes will cause a reset of the internal Bluetooth core.
Note that in single test mode, only the test that has been selected can be
configured. An execution error is returned if an attempt is made to
configure any other tests.
Example 1Set to script mode.
OPMD SCRIPT
Example 2Set to single test mode, with the initial carrier test selected
OPMD STEST,IC
Example 3Set to single test mode, with the EDR differential phase encoding test
selected.
OPMD STEST,EDP
Query command
OPMD?
format
ResponseResponse is in the form of the command to set that state.
ExampleIf the operation mode is single test mode with the power control test
selected the command would be:
OPMD?
ResponseOPMD STEST,PC
4-9
General GPIB Commands
OPTSTATUS? (Option Status)
Query command
format
RemarksThis command returns the options enabled.
ResponseOPTSTATUS,<num_opts>{,<options>,...}
ExampleIf option 15 is the only option enabled the response would be.
ResponseOPTSTATUS,1,15
OPTSTATUS?
<num_opts>0 to 7 (five options available at present)
Number of enabled options that follow.
<options>Comma separated list of enabled options
15AFH (Adaptive frequency hopping) support
17Allows IQ data output for EDR measurements
25EDR Measurements support
27BLE Measurements support
29BLE Measurements only
34BLE Data Length Extension support
35BLE 2LE support
36BLE BLR support
37BLE AoA/AoD support
70Platform Enhanced option
SCPTCFG (Configure Script)
This command is used to select which tests are run as part of a script. All scripts and their
tests are independent.
Set command
format
4-10
SCPTCFG<ws><script number><,><test><,><state>
<script number> 3 to 10
<test>
OPOutput power
PC Power control
MIModulation Index
ICInitial carrier
CDCarrier drift
SSSingle slot sensitivity
MSMulti slot sensitivity
MPMax input power
ERPEDR Relative transmit power test (MT8852B
and MT8852B-042 only).
SCPTCFG (Configure Script)
ECMEDR Carrier frequency stability and
modulation accuracy test (MT8852B and
MT8852B-042 only).
EDPEDR Differential phase encoding test
(MT8852B and MT8852B-042 only)
EBSEDR Sensitivity test (MT8852B and MT8852B-
042 only)
EFSEDR floor sensitivity test (MT8852B and
MT8852B-042 only)
EMPEDR Maximum Input Power test (MT8852B
and MT8852B-042 only)
EGTEDR Guard Time
(MT8852B and MT8852B-042 only)
ESTEDR Synchronization Sequence and Trailer
(MT8852B and MT8852B-042 only)
EPCEnhanced power control
LEOPBLE Output power
(option 27 and MT8852B-043 only)
LEMIBLE Modulation index
(option 27 and MT8852B-043 only)
LEICDBLE Initial carrier
(option 27 and MT8852B-043 only)
LESSBLE Single shot sensitivity
(option 27 and MT8852B-043 only)
LEMPBLE Max input power
(option 27 and MT8852B-043 only)
LEPRIBLE Max input power
(option 27 and MT8852B-043 only)
LEPSBLE Tx power stability
(option 37 only)
STDTSTSTo set the status of all the basic rate tests in
this script at once. (MT8852B and MT8852B042 only)
EDRTSTSTo set the status of all the EDR tests in this
script at once. (MT8852B and MT8852B-042
only)
BLETSTSTo set the status of all the BLE tests in this
script at once. (option 27 and MT8852B-043
only)
PCTSTSTurns on or off both power control tests when
the EPC option is installed.
ALLTSTSTo set the status of all tests in this script at
once
4-11
General GPIB Commands
<state>ON | OFF
RemarksAll ten scripts can be read but only 3 to 10 can be set.
ExampleTo select the output power test in script 4 the command would be:
SCPTCFG 4,OP,ON
4-12
SCPTCFG (Configure Script)
Query command
format
SCPTCFG?<ws><script number>[,<ext-code>]
<script number> 1 to 10
<ext-code>
0 or omitted : standard (except EGT, EST, and LEPS)
1 : with EGT and EST (except LEPS)
2 : with EGT and EST and LEPS
ResponseThe response is a list of ON or OFF for each test in the following order
separated by commas.
• Output power
• Power control
• Modulation Index
• Initial carrier
• Carrier drift
• Single slot sensitivity
• Multi slot sensitivity
• Max input power
• EDR Relative Transmit Power test (MT8852B and MT8852B-
042 only)
• EDR Carrier Frequency stability and Modulation accuracy test
(MT8852B and MT8852B-042 only)
• EDR Differential Phase Encoding test (MT8852B and
MT8852B-042 only)
• EDR Sensitivity test (MT8852B and MT8852B-042 only)
• EDR BER Floor Sensitivity test (MT8852B and MT8852B-042
only)
• EDR Maximum Input Power test (MT8852B and MT8852B-042
only)
• EDR Guard Time (MT8852B and MT8852B-042 only)
• EDR Synchronization Sequence and Trailer (MT8852B and
MT8852B-042 only)
• Enhanced power control
• BLE Output power (option 27 or MT8852B-043 only)
• BLE Modulation Index (option 27 or MT8852B-043 only)
• BLE Carrier and drift (option 27 or MT8852B-043 only)
• BLE sensitivity (option 27 or MT8852B-043 only)
• BLE Max input power (option 27 or MT8852B-043 only)
• BLE PER integrity (option 27 or MT8852B-043 only)
• BLE TX power stability (option 37 only)
4-13
General GPIB Commands
ExampleTo read the configuration of script 5 where all tests are selected except
power control and the BLE tests, the command would be:
Set or request the script name. The Anritsu predefined scripts names cannot be set.
Set command
format
SCPTNM<ws><script number><,><script name>
<script number>3 to 10
<script name>Script name using up to 9 characters.
Remarks
If more than 9 characters are used the name is terminated at the 9
character. The names of scripts 1 and 2 cannot be modified. If the script
number is set to 1 or 2 an execution error is output.
ExampleTo set the name of script 4 to “ENG TEST1” the command would be:
SCPTNM 4,ENG TEST1
Query command
format
SCPTNM?<ws><script number>
<script number> 1 to 10
All ten scripts can be read but only 3 to 10 can be set.
ResponseResponse is in the form of the command to set that state.
ExampleIf the script 5 name is “ENG TEST X” the command would be:
SCPTNM? 5
ResponseSCPTNM 5,ENG TEST X
th
4-14
SCPTRST (Reset Script)
This command resets a script to its default values.
SCPTSEL (Select Script)
Set command
format
Remarks‘ALL’ resets all 10 test scripts at once.
Example 1Reset script 3.
Example 2Reset all scripts
SCPTRST<ws><script number>
<script number> 1 to 10 | ‘ALL’
SCPTRST 3
SCPTRST ALL
SCPTSEL (Select Script)
Set or request the selected script to be executed. If this command is sent when in single test
mode, the selected test is executed.
Set command
format
ExampleSCPTSEL 1
Query command
format
ExampleIf the script selected was 5 the response would be:
ResponseSCPTSEL 5
SCPTSEL<ws><script number>
<script number> 1 to 10
SCPTSEL?
Response is in the form of the command to set that state.
SCPTTSTGP (Set Test Group State) (MT8852B and MT8852B-042 only)
This command is used to select which groups of tests are run as part of a script. The states of
all the tests in the selected group are affected by this command, e.g., turning off a group will
turn off all tests within that group.
STDTSTSTo set the status of all the basic rate tests in this script at
once.
EDRTSTSTo set the status of all the EDR tests in this script at
once.
BLETSTSTo set the status of all the BLE tests in this script at
once.
ALLTSTSTo set the status of all tests in this script at once.
<state>ON | OFF
4-15
General GPIB Commands
ExampleTo select the standard tests in script 4 the command would be:
SCPTTSTGP 4,STDTSTS,ON
Query command
format
ResponseThe response is a list of ON or OFF for each test group (Basic rate, EDR,
ExampleTo read the configuration of script 5 where basic rate tests are selected
ResponseSCPTTSTGP 5,ON,OFF,OFF
This command outputs the test group states of this script.
SCPTTSTGP?<ws><script number>
<script number> 1 to 10
and low energy tests) separated by commas.
but the EDR and BLE tests are not:
SCPTTSTGP? 5
SCRIPTMODE (Script Mode)
This command determines how the tests within the specified script are run.
Set command
format
ExampleSet the Script Mode for script 3 to NULL Packet
Query command
format
ResponseThe response is in the form of the command to set that state.
ExampleIf the script mode for script 9 is set to standard the command would be:
SCRIPTMODE<ws><script number><,><mode>
<script number> 3 to 10
<mode>
STANDARD
NULLPKT
SINGLEPAYLOAD
SCRIPTMODE 3,NULLPKT
SCRIPTMODE?<ws><script number>
<script number> 1 to 10
SCRIPTMODE? 9
Will produce the response:
SCRIPTMODE 9,STANDARD
4-16
SCRIPTMODE (Script Mode)
STATUS (Status Command)
This command requests the instrument measurement status. It can be sent any time. If it is
sent while a script is running, it provides information about the measurement that is
currently in progress. .
Set command
format
ResponseABCCDDEFGHIJKLM
A0Script mode
1Single test mode
2Basic Rate Signal generator mode (GFSK)
3CW Measurement mode
4AFH measurement
5EDR Signal generator mode (MT8852B and MT8852B-042 only)
6EDR CW Measurement mode (MT8852B and MT8852B-042 only)
7BLE Signal generator mode (Option 27 only and MT8852B-043 only)
B0Not in single remote test state
1In single remote test state
CCScript number selected: 1 to 10
DDTest selected :
OP Output power test
PC Power control test
STATUS
The response is extended depending on the value of characters “DD”:
ABCCDDEFGHIJKLMNNN (when “DD” is “EX”)
ABCCDDEFGHIJKLMOOOOO (when “DD” is “LE”)
EP Enhanced power control test
MI Modulation characteristics test
ICInitial carrier test
CD Carrier drift test
SS Single slot sensitivity test
MS Multi slot sensitivity test
MP Maximum input power sensitivity test
EX Extended EDR tests (see string ‘NNN’ for selected EDR test) (MT8852B and
MT8852B-042 only)
LE Extended BLE tests (see string 'OOO' for selected BLE test) (MT8852B-043
and units with option 27 only)
E0Not connected
1Connected
4-17
General GPIB Commands
FReceiver Range: 1 to 6 | A = Auto
G10 MHz reference source:
0Internal
1External
HEUT power state:
0EUT at minimum power
1EUT at intermediate power
2EUT at maximum power
ISCO Channel 1:
0Disconnected
1Connected
JSCO Channel 2:
0Disconnected
1Connected
KSCO Channel 3:
0Disconnected
1Connected
LEUT test mode:
0EUT in normal mode
1EUT in test mode
MUSB Connection status:
1USB device attached
2USB device removed
3Non Bluetooth USB device attached
NNNEDR Test selected:
ERPEDR Relative transmit power test (MT8852B and MT8852B-042 only)
ECM EDR Carrier frequency stability and modulation accuracy test (MT8852B
and MT8852B-042 only)
EDPEDR Differential phase encoding test (MT8852B and MT8852B-042 only)
EBSEDR Sensitivity test (MT8852B and MT8852B-042 only)
EFSEDR floor sensitivity test (MT8852B and MT8852B-042 only)
EMPEDR Maximum Input Power test (MT8852B and MT8852B-042 only)
EGTEDR Guard Time (MT8852B and MT8852B-042 only)
ESTEDR Synchronization Sequence and Trailer (MT8852B and MT8852B-042
only)
4-18
STERR (Request POST or *TST? Results)
OOOBLE Test selected: (Models with option 27 only)
LEPRBLE PER report integrity
LEOPBLE Output power test
LEMIBLE Modulation characteristics test
LECDBLE Carrier frequency offset and drift test
LESSBLE Receiver sensitivity test
LEMP BLE Maximum input signal level test
The following can appear with option 37:
LEPSBLE Tx power stability
STERR (Request POST or *TST? Results)
This command returns the results of the most recent Self-Test. It does not initiate a Self-Test
itself.
Set command
format
ResponseWhere the Self-Test has completed without failures the response is the
ExampleARMBOOT,VOLRAM 10FFF0F,DSPIF
Related
Commands
STERR
following string:-
ALL TESTS PASSED
Where the Self-Test has failed, the response is a list of those items
which have failed. If there is more than one item they are separated by
commas.
Indicates the Self-Test failed with ARM Boot checksum, Volatile RAM,
and DSP interface errors.
A list of self test items is shown in the table below.
BOOTSTATUS?, CONT,*TST
Self Test Items
The following is a list of all Self-Test items. For more information see the MT8852B Service
Manual.
Self test itemMeaning
FLASHCSUMFlash Code checksum error.
CALCSUMCalibration Data checksum error.
PERSONCSUMPersonality checksum error.
ARMBOOTARM Boot checksum error.
ARMCDARM Code checksum error.
FPGACSUMVirtex FPGA checksum error.
4-19
General GPIB Commands
ARMBTARM BT checksum error.
ARMDSPARM DSP checksum error.
ARMSPARTANARM SPARTAN checksum error.
VOLRAM<ws><A><BBBBBB>Volatile RAM. <A> indicates the type of test that failed
and <BBBBBB> is the list of addresses where the test
failed.
NONVOLRAMNon-Volatile RAM
DPRAM<ws><A><BBBBBB>CPU Dual Port RAM. <A> indicates the type of test
that failed and <BBBBBB> is the list of addresses
where the test failed.
DPRAMIF<ws><A><BBBBBB>IF Dual Port RAM. <A> indicates the type of test that
failed and <BBBBBB> is the list of addresses where
the test failed.
DSPRAM<ws><A><B><CCCCC><A> indicates the type of test that failed, <B>
indicates the type of RAM where the failure occurred
and <CCCCC> is the list of addresses where the test
failed.
DSPIFDSP Interface error.
UART<ws><A><BB><A> indicates the type of test that failed and <BB> is
the address on which the failure occurred.
HCIDPRAM<ws><A><BBBBBB>ARM CPU Dual Port RAM. <A> indicates the
type of test that failed and <BBBBBB> is the list of
addresses where the test failed.
ARMST<ws><A>ARM Self Test. <A> indicates the result of the self test
ARMHSARM handshake jumpers.
DISPLAYDisplay interface communication error.
KBDKeyboard interface communication error.
DSPERR<ws><AAAA>DSP Startup Error. <AAAA> indicates at which stage
the error occurred.
NORFPCBRF PCB communication error.
NOTCALEDNo Calibration Data found.
NOEDRREFPWRInvalid EDR reference power table.
NOEDRIQCALInvalid EDR IQ modulator correction tables.
VIRTEX<ws><AAAA>Virtex loading error. <AAAA> indicates at which stage
the error occurred.
SPARTAN<ws><AAAA>Spartan loading error. <AAAA> indicates at which
stage the error occurred.
ARMINITARM initialization error.
TEMPWARNOver temperature warning.
4-20
TXPWR (Transmitter Power Level)
TSTPAUSE (Test Pause)
This command specifies whether a Test Pause LMP test control is used between changes in a
test control format.
Set command
format
ExampleTurn Test Pause on for script 3.
Query command
format
ResponseThe response is in the form of the command to set that state.
ExampleIf Test Pause is turned off for script 5 then the command would be:
TSTPAUSE<ws><script number><,><state>
<script number> 1 to 10
<state> ON or OFF
TSTPAUSE 3,ON
TSTPAUSE?<ws><script number>
<script number> 1 to 10
TSTPAUSE? 5
Will produce the response
TSTPAUSE 5,OFF
TXPWR (Transmitter Power Level)
This command sets the default transmitter power level for a script. It is the power level at
which the connection and any inquiry are made. Individual tests within the script may
modify the power level for their own purposes but the level is returned to the script default on
completion of the test. If a connection already exists then executing a TXPWR command will
have immediate effect. For this reason do not use TXPWR whilst a test is in progress.
Set command
format
RemarksThe default transmitter power level can be set for all ten scripts.
ExampleTo set the default transmitter power level of script 3 to –10dBm.
Query command
format
ResponseThe response is in the form of the command to set that power level.
ExampleIf the transmitter power level for script 6 is –25.3 dBm then the
ResponseTXPWR 6,-25.3
TXPWR<ws><script number><,><power level>
<script number>1 to 10
<power Level>0.0 to –90.0 (dBm, in 0.1 dB steps)
TXPWR 3,-10.0
TXPWR?<ws><script number>
<script number> 1 to 10
command would be:
TXPWR? 6
4-21
General GPIB Commands
UNLOCK (Script Unlock)
This command will unlock a locked script so that it can be altered. If the unlock failed, an
execution error is indicated
Set command
format
ExampleTo unlock script 4 the command would be:
UNLOCK<ws><script number><,><password>
<script number> 3 to 10
<password>The lock/unlock password. Default is “1234”.
UNLOCK 4,1234
4-22
Chapter 5 — System Configuration
This chapter provides details of the system configuration command and the associated
parameters. The commands are listed in alphabetical order as detailed below.
SYSCFG (Set or Query System Configuration)
Set command
format
<config selection>
• AUTH(See sub-commands)Authentication settings
• BNCOUTPUTSet | QueryRear panel output
• BTADDRQueryTester Bluetooth address
• CONFIG(See sub-commands)Tester configuration
• DISPSOUND(See sub-commands)Tester display and sound control
• EUTADDRSet | Query EUT address
• EUTFEATQueryEUT supported features
• EUTHANDSHAKE Set | QueryEUT handshaking
• EUTNAMEQueryEUT user friendly name request
• EUTRS232Set | QueryEUT RS232 HCI set up
• EUTSRCESet | Query EUT address source
• HWINFOQuery Hardware information
• IDENTQueryTester identity
• INQSET(See sub-commands)Inquiry set up
• PAGSET(See sub-commands)Page scan and timeout
• SCPTSET(See sub-commands)Script set up
• USBADAPTOR(See sub-commands)USB Adaptor set up
• VERDATEQueryTester firmware date and time stamp
• VERNUM QueryTester firmware version numbers
SYSCFG<ws><config selection>[<,><parameters>……]
Query command
format
SYSCFG?<ws><config selection>[<,><parameters>……]
5-1
System Configuration
AUTH (Authentication Settings)
This command supports the following settings:
PINCODE Set | QueryPin Code setup
PINLENSet | QueryPin Code Length setup
STATESet | QueryEnable Connection Authentication
PINCODE (PIN Code)
This command sets the PIN Code
Set command
format
ExampleSYSCFG AUTH,PINCODE,0000
Query command
format
ExampleSYSCFG? AUTH,PINCODE
ResponseSYSCFG AUTH,PINCODE,0000
PINLEN (PIN Code Length)
This command sets the PIN Length
Set command
format
ExampleSYSCFG AUTH,PINLEN,4
Query command
format
ExampleSYSCFG? AUTH, PINLEN
ResponseSYSCFG AUTH,PINLEN,4
SYSCFG<ws>AUTH,PINCODE,<Variable>
<Variable> numeric value of PIN
SYSCFG?<ws>AUTH,PINCODE
SYSCFG<ws>AUTH,PINLEN,<Variable>
<Variable> Integer 1 to 16
SYSCFG?<ws>AUTH,PINLEN
STATE (Connection Authentication Enable)
This command enables/disables the connection authentication.
Set command
format
ExampleSYSCFG AUTH,STATE,ON
5-2
SYSCFG<ws><AUTH><,><STATE>,<Variable>
<Variable>
ON Enable Connection Authentication
OFF Disable Connection Authentication
BNCOUTPUT (Rear Panel Output)
Query command
format
ExampleSYSCFG? AUTH,STATE
ResponseSYSCFG AUTH,STATE,ON
SYSCFG?<ws>AUTH,STATE
BNCOUTPUT (Rear Panel Output)
This command defines the output directed to the rear panel BNC outputs.
The allowable selections are restricted as follows:
• Output 1 cannot be RXON and Output 2 cannot be TXON.
• If Output 1 is TXON, output 2 can be any value.
• If Output 2 is RXON, output 1 can be any value.
• Otherwise Output 1 and Output 2 must be set to the same value.
Set command
format
ExampleTo set the rear panel output to Tx ON on output 1 and Correlator fired
SYSCFG<ws>BNCOUTPUT<,><output 1><,><output 2>
<output>
TXON (output 1 only)
RXON (output 2 only)
TXDATA (Sig Gen Mode only)
RXDATA
CORRFIRED
on Output 2, the command would be:
SYSCFG BNCOUTPUT,TXON,CORRFIRED
Query command
format
ResponseThe information is returned in the order:
ExampleIf the information is as follows, the response would be:
ResponseSYSCFG BNCOUTPUT,TXON,RXON
SYSCFG?<ws>BNCOUTPUT
<OUTPUT 1>,<OUTPUT 2>
Output 1 – Tx on
Output 2 – Rx on
5-3
System Configuration
BTADDR (Tester Bluetooth Address)
This command allows the operator to read the MT8852B Bluetooth address.
Query command
format
ExampleSYSCFG? BTADDR
ResponseExample, if the BT address is 0x000123ABCDEF, the response would
SYSCFG?<ws>BTADDR
be:
000123ABCDEF
5-4
CONFIG (Tester Configuration)
CONFIG (Tester Configuration)
Under this system configuration section the following parameters can be controlled:
NPMODESet | QueryMeasurements done on POLL/NULL sequence
RANGESet | QueryTester measurement power range hold
RS232Set | Query Tester RS232 baud rate
RSMODESet | QueryTester rear panel RS232 mode
FILTER (Filter Setting)
This command is used to change the measurement bandwidth when performing the frequency
receiver tests (Initial Carrier, Carrier Drift and Modulation Index). The default
measurement bandwidth is set to 1.3 MHz, but this can be changed to 2 MHz.
Set command
format
ExampleSet the measurement bandwidth to 2MHZ:
Query command
format
ExampleSYSCFG? CONFIG,FILTER
ResponseSYSCFG CONFIG,FILTER,2MHZ
SYSCFG<ws>CONFIG,FILTER,<type>
where <type> is 2MHZ or 1.3MHZ
SYSCFG CONFIG,FILTER,2MHZ
SYSCFG?<ws>CONFIG,FILTER
5-5
System Configuration
GPIB (Tester GPIB Address)
Set command
format
SYSCFG<ws>CONFIG<,>GPIB<,><address>
<address> 1 to 30 (Default 27)
RemarksIf the GPIB address is changed, any further GPIB communication must
be performed to the new GPIB address.
ExampleTo set the GPIB address to 5 the command would be:
SYSCFG CONFIG,GPIB,5
Query command
SYSCFG?<ws>CONFIG<,>GPIB
format
ResponseThe response is returned in the form of the command to set that state.
ExampleSYSCFG? CONFIG,GPIB
If the GPIB address is 6 the response would be:
SYSCFG CONFIG,GPIB,6
LKTIMO (Link Timeout Setting)
This command sets the amount of time the unit waits after loosing a (Bluetooth) link before
abandoning the connection. This command is used before a link is made.
Set command
SYSCFG<ws>CONFIG<,>LKTIMO<,><timeout>
format
Timeout1 to 40 seconds. Default is 10. (Integers only)
ExampleTo set the link supervision timeout to 25 seconds:
SYSCFG CONFIG,LKTIMO,25
Query command
SYSCFG?<ws>CONFIG<,>LKTIMO
format
ResponseThe response is in the form of the command to set that value
ExampleIf the timeout value is 15 seconds the response would be
SYSCFG CONFIG,LKTIMO,15
5-6
CONFIG (Tester Configuration)
MODINDEX (Mod Index Setting)
The MT8852B default setting for the modulation index of the communication channel is 0.32.
This command allows this value to be changed.
Set command
format
SYSCFG<ws>CONFIG<,>MODINDEX<,><setting>
<setting> 0.25 to 0.50
ExampleTo set the mod index to 0.38 the command would be:
SYSCFG CONFIG,MODINDEX,0.38
Query command
SYSCFG? CONFIG,MODINDEX
format
ResponseThe response is returned in the form of the command to set that state.
ExampleSYSCFG? CONFIG,MODINDEX
ResponseIf the Mod index was set to 0.32 then the response would be:
SYSCFG CONFIG,MODINDEX,0.32
NPMODE (Poll/Null Measurement Mode)
This command has been maintained to ensure compatibility with software version 1.00. It
should not be used in any of the new test programs and ideally should be replaced in existing
test programs with the SCRIPTMODE command detailed in chapter 4 of this manual.
This command allows the MT8852B to make measurements on the POLL/NULL sequence
used to maintain the Bluetooth link rather than using Test mode. This allows some
measurements to be carried out even if test mode has not been fully implemented.
This command puts every script into NULL Packet mode. Refer to the SCRIPTMODE
command description.
Set command
format
SYSCFG<ws>CONFIG<,>NPMODE<,><setting>
<setting>
ON: Sets scripts 3 to 10 to NULL packet mode.
OFF: Sets scripts 3 to 10 to standard mode.
ExampleTo set the null packet measurement mode to ON the command would
be:
SYSCFG CONFIG,NPMODE,ON
Query command
SYSCFG?<ws>CONFIG<,>NPMODE
format
RemarksIf scripts 3 to 10 are all in NULL packet mode, this will return ON.
ResponseThe response is returned in the form of the command to set that state.
ExampleSYSCFG? CONFIG,NPMODE
ResponseIf the null packet measurement mode was OFF the response would be:
SYSCFG CONFIG,NPMODE,OFF
5-7
System Configuration
RANGE (Tester Measurement System Power Range)
This command allows the power range of the measurement system to be controlled if
required. There are six power ranges plus auto ranging which is the default.
Set command
format
SYSCFG<ws>CONFIG<,>RANGE<,><setting>
<setting>
0 Auto ranging
1+22 to +7 dBm
2+9 to –3 dBm
3+5 to –7 dBm
4–4 to –16 dBm
5–12 to –26 dBm
6–24 to –35 dBm
AUTOAuto ranging
ExampleTo set the range to auto the command would be:
SYSCFG CONFIG,RANGE,AUTO
Query command
SYSCFG?<ws>CONFIG<,>RANGE
format
ResponseThe response is returned in the form of the command to set that state.
ExampleSYSCFG? CONFIG,RANGE
ResponseIf the range was held at range 1 then the response would be:
SYSCFG CONFIG,RANGE,1
5-8
RS232 (Tester Communication RS232 Baud Rate)
CONFIG (Tester Configuration)
Set command
format
SYSCFG<ws>CONFIG<,>RS232<,><baud rate>
<baud rate>
1200
2400
4800
9600
19200
38400
57600
ExampleTo set the baud rate to 19200 the command would be:
SYSCFG CONFIG,RS232,19200
Query command
SYSCFG?<ws>CONFIG<,>RS232
format
ResponseThe response is returned in the form of the command to set that state.
ExampleSYSCFG? CONFIG,RS232
ResponseIf the baud rate is 38400 the response would be:
SYSCFG CONFIG,RS232,38400
5-9
System Configuration
RSMODE (Tester Rear Panel RS232 Mode)
This command sets the rear panel RS232 into one of the following modes:
EXTCOMThe connector can be used for GPIB type control and communication.
EXTHCIThe connector is used to send HCI commands directly to the Bluetooth core. In
this mode the standalone MT8852B cannot communicate to the internal
Bluetooth core. In this mode the baud rate is 57600.
Set command
format
SYSCFG<ws>CONFIG<,>RSMODE<,><mode>
<mode>
EXTCOM
EXTHCI
Note: All GPIB commands are disabled if RS232 mode is set to EXTHCI.
ExampleTo set the connector to be used for GPIB commands the command would
be:
SYSCFG CONFIG,RSMODE,EXTCOM
Query command
SYSCFG?<ws>CONFIG<,>RSMODE
format
ResponseThe response is returned in the form of the command to set that state.
ExampleSYSCFG? CONFIG,RSMODE
ResponseIf the mode is EXTHCI the response would be:
SYSCFG CONFIG,RSMODE,EXTHCI
5-10
DISPSOUND (Tester Display and Sound Control)
DISPSOUND (Tester Display and Sound Control)
This command configures the following sub-command group:
CONTRAST Set | QueryFront panel display contrast
ENTRYSet | QueryError beep on illegal entry
FOLTSTSet | QueryFollow test mode
KEYSet | QueryKeyboard tactile feedback
TEXTSet | QueryUser text string
TEXTSSet | QueryUser text display state
CONTRAST (Front Panel Display Contrast)
This command allows the contrast of the MT8852B LCD contrast to be altered.
Set command
format
ExampleTo set the contrast to 8 the command would be:
Query command
format
ResponseThe response is returned in the form of the command to set that state
ExampleSYSCFG? DISPSOUND<,>CONTRAST
ResponseIf contrast was 5 the response would be:
SYSCFG<ws>DISPSOUND<,>CONTRAST<,><contrast>
<contrast>
1 to 10
UP for increment by one
DOWN for decrement by one
SYSCFG DISPSOUND,CONTRAST,8
SYSCFG?<ws>DISPSOUND<,>CONTRAST
SYSCFG DISPSOUND,CONTRAST,5
5-11
System Configuration
ENTRY (Error Beep on Illegal Entry)
This command sets the instrument to make an audible beep when an illegal entry is made
from the front panel.
Set command
format
SYSCFG<ws>DISPSOUND<,>ENTRY<,><state>
<state> ON or OFF
ExampleTo set the entry error beep on the command would be:
SYSCFG DISPSOUND,ENTRY,ON
Query command
SYSCFG?<ws>DISPSOUND<,>ENTRY
format
ResponseThe response is returned in the form of the command to set that state
ExampleSYSCFG? DISPSOUND,ENTRY
ResponseIf the state was OFF the response would be:
SYSCFG DISPSOUND,ENTRY,OFF
FOLTST (Follow Test Mode)
This command is used to set the follow test display mode.
Set command
format
SYSCFG<ws>DISPSOUND<,>FOLTST<,><mode>
<mode>
OFF = the current results page displays
SUM = the summary results page displays
EXT = the extended results page displays.
ExampleTo set the follow test mode to Summary, the command would be:
SYSCFG DISPSOUND,FOLTST,SUM
Query command
SYSCFG?<ws>DISPSOUND<,>FOLTST
format
ResponseOFF, SUM, EXT
ExampleSYSCFG? DISPSOUND,FOLTST
ResponseIf the follow test mode is Extended:
SYSCFG DISPSOUND,FOLTST,EXT
5-12
DISPSOUND (Tester Display and Sound Control)
KEY (Tactile Feedback Control ‘Key Click’)
This command controls the key click from the front panel keypad.
Set command
format
SYSCFG<ws>DISPSOUND<,>KEY<,><state>
<state> ON or OFF
ExampleTo turn on the key click the command would be:
SYSCFG DISPSOUND,KEY,ON
Query command
SYSCFG?<ws>DISPSOUND<,>KEY
format
ResponseThe response is returned in the form of the command to set that state
ExampleSYSCFG? DISPSOUND,KEY
ResponseIf key click is OFF the response would be:
SYSCFG DISPSOUND,KEY,OFF
TEXT (User Text String)
Set command
format
SYSCFG<ws>DISPSOUND<,>TEXT<,><text>
<text> Up to ASCII 20 characters.
RemarksDefines the text string that is displayed using the TEXTS command.
ExampleTo set the text string to Bluetooth the command would be:
SYSCFG DISPSOUND,TEXT,Bluetooth
Query command
SYSCFG?<ws> DISPSOUND<,>TEXT
format
ResponseThe response is returned in the form of the command to set that state
ExampleSYSCFG? DISPSOUND,TEXT
ResponseIf the text was Bluetooth the response would be:
SYSCFG DISPSOUND,TEXT,Bluetooth
5-13
System Configuration
TEXTS (User Text Display State)
Set command
format
SYSCFG<ws>DISPSOUND<,>TEXTS<,><state>
<state> ON or OFF
ExampleTo set the user text display state to ON, the command would be:
SYSCFG DISPSOUND,TEXTS,ON
Query command
SYSCFG?<ws>DISPSOUND<,>TEXTS
format
ResponseThe response is returned in the form of the command to set that state
ExampleSYSCFG? DISPSOUND,TEXTS
ResponseIf the state was OFF the response would be:
SYSCFG DISPSOUND,TEXTS,OFF
5-14
EUTADDR (EUT Address)
EUTADDR (EUT Address)
This command is used to set the EUT address when the EUT address source is set to manual.
If the source is not set to manual the command is ignored and an execution error given.
The query command is used to request the EUT address. The present value is returned,
which could be the power up initialisation value of zeros. The only indication of a valid BT
address is after a connection has been made.
Set command
format
ExampleIf the Bluetooth address is 0x000123ABCDEF the command would be:
Query command
format
Response6 byte (12 character address) i.e. 000123ABCDEF
ExampleSYSCFG? EUTADDR
ResponseIf the address is 000123ABCDEF
SYSCFG<ws>EUTADDR<,><address>
<address> 6 byte hexadecimal string containing the address.
SYSCFG EUTADDR,000123ABCDEF
SYSCFG? EUTADDR
000123ABCDEF
EUTFEAT (EUT supported features)
This section allows the operator to read the supported features of the EUT.
Query command
format
ResponseThe response is a 16-character string representation of a hexadecimal
SYSCFG?<ws>EUTFEAT
number containing the features information coded in the form specified
in the Bluetooth HCI specification.
Example: 000018187805FFFF
5-15
System Configuration
EUTHANDSHAKE (EUT RS232 handshake setting)
This command is used to set the EUT RS232 handshake mode..
Set command
format
RemarksNONE: Handshaking is disabled.
ExampleTo set the EUT handshake mode to RTS/CTS the command would be:
Query command
format
ResponseThe response is returned in the form of the command to set that state.
ExampleSYSCFG? EUTHANDSHAKE
ResponseIf the handshake is disabled the response would be:
SYSCFG<ws>EUTHANDSHAKE<,><handshake mode>
<handshake mode>
NONE
RTS/CTS
RTS/CTS: Request to send / clear to send hardware handshaking
is enabled.
SYSCFG EUTHANDSHAKE,RTS/CTS
SYSCFG?<ws>EUTHANDSHAKE
SYSCFG EUTHANDSHAKE,NONE
EUTLEFEAT (EUT supported features for Low energy)
This section allows the operator to read the Low energy supported features of the EUT.
Query command
format
ResponseThe response is a 16-character string representation of a hexadecimal
SYSCFG?<ws>EUTLEFEAT
number containing the features information coded in the form specified
in the Bluetooth HCI specification for Low energy.
Example: 0000000000000120
5-16
EUTNAME (EUT User Friendly Name Request)
EUTNAME (EUT User Friendly Name Request)
This command returns the user-friendly name of the EUT if it is available. When a test or
script is run the standard connection procedure requests the user-friendly name. If the
connection has been made using the auxiliary commands the auxiliary user friendly name
command can be used to read the user-friendly name.
Set command
format
ResponseThe user friendly name is returned as a text string of up to 248
ExampleSYSCFG? EUTNAME
ResponseThe user friendly name is returned as a text string of up to 248
SYSCFG?<ws>EUTNAME
characters.
characters. If no user-friendly name is available, the string “not
available” is returned.
EUTRS232 (EUT RS232 HCI Set Up)
This section allows the operator to set the baud rate of the HCI RS232 connection to the EUT.
Set command
format
RemarksThe RS232 HCI link does not at present support the Bluetooth RS232
ExampleTo set the baud rate to 9600 the command would be:
SYSCFG<ws>EUTRS232<,><baud rate>
<baud rate>
1200
2400
4800
9600
19200
38400
57600
115200
230400
460800
protocol negotiation and compression or handshaking.
SYSCFG EUTRS232,9600
Query command
format
ResponseThe response is returned in the form of the command to set that state.
ExampleSYSCFG? EUTRS232
ResponseFor baud rate set to 19200 the response would be:
SYSCFG?<ws>EUTRS232
SYSCFG EUTRS232,19200
5-17
System Configuration
EUTSRCE (EUT Address Source)
Set command
format
RemarksThis command is used to set the source of the EUT address.
SYSCFG<ws>EUTSRCE<,><source>
<source>
MANUAL
RS232
INQUIRY
USB
BLE2WIRE
USBADAPTOR
USBBLE2WIRE
MANUALThe address of the EUT is entered via the front
panel or GPIB.
RS232The EUT address is acquired via the RS232
HCI link and the EUT is initialised for tests.
INQUIRYThe EUT Bluetooth address is obtained by
performing an inquiry. If the EUT address
source is set to inquiry, a GPIB Run command
will produce an execution error if the number of
responses is set to greater than “1”.
USBThe EUT address is acquired via the USB HCI
link and the EUT is initialised for tests.
BLE2WIREThe BLE2WIRE link is used to initialize the
EUT for tests.
USBADAPTORThe EUT address is acquired via the USB-
Serial link and the EUT is initialised for tests
USBBLE2WIREThe EUT address is acquired via the USB-
BLE2-Wire link and the EUT is initialised for
tests.
ExampleTo set the EUT address source to MANUAL the command would be:
SYSCFG EUTSRCE,MANUAL
Query command
format
ResponseResponse is in the form of the command to set that state.
ExampleIf the EUT address source was manual the response would be:
ResponseSYSCFG EUTSRCE,MANUAL
5-18
SYSCFG?<ws>EUTSRCE
SYSCFG? EUTSRCE
HWINFO (Hardware information)
HWINFO (Hardware information)
This command returns the RF PCB serial number and revision and the Control PCB serial
number and revision.
Query command
format
ResponseThe information is returned in the order:
ExampleIf the information is as follows, the response would be:
ResponseSYSCFG HWINFO,01090021,4,07020011,3
SYSCFG?<ws>HWINFO
<RF PCB ser no.>,<RF PCB rev>,
<control PCB ser no.>,<control PCB rev>
RF PCB serial number: 01090021
RF PCB revision:
4
Control PCB serial number:
07020011
Control PCB revision:
3
IDENT (Tester Identity)
This command allows the operator to read the identity, serial number and firmware version
number of the Anritsu Bluetooth test set. The response is the same as the standard ‘*IDN?’
command.
Query command
format
ResponseA string is returned containing the manufacturer’s name, the model
SYSCFG?<ws>IDENT
number, the serial number (10 digits), and the software revision.
Commas separate the items.
ANRITSU,MT8852B,00801001,4.16.000
5-19
System Configuration
INQSET (Inquiry Set Up)
This command configures the inquiry. The inquiry continues until the maximum number of
responses has been reached or the maximum period of time has expired. The inquiry can also
be terminated by the inquiry stop auxiliary command. The sub parameters are:
NAMESet | QueryUser-friendly EUT name control
RNUMSet | QueryNumber of responses before inquiry termination
TIMEOUTSet | QueryMax period over which the inquiry is done
NAME (Common Name During Inquiry)
This parameter controls whether the user-friendly name is requested for each of the inquired
devices after and inquiry has ended.
Set command
format
ExampleTo request the user friendly name after the inquiry the command would
Query command
format
ExampleSYSCFG? INQSET,NAME
ResponseIf this state was set off the response would be:
RNUM (Number of Response)
The inquiry can be configured to stop after a maximum number of responses. The command
parameters used to set this value.
Set command
format
ExampleTo set the maximum number of responses to 12 the command would be:
SYSCFG<ws>INQSET<,>NAME<,><state>
<state> ON or OFF
be:
SYSCFG INQSET,NAME,ON
SYSCFG?<ws>INQSET<,>NAME
SYSCFG INQSET,NAME,OFF
SYSCFG<ws>INQSET<,>RNUM<,><value>
<value>1 to 50
SYSCFG INQSET,RNUM,12
Query command
format
ExampleSYSCFG? INQSET,RNUM
ResponseIf the maximum number of responses set was 3 the response would be:
5-20
SYSCFG?<ws><INQSET<,>RNUM
SYSCFG INQSET,RNUM,3
INQSET (Inquiry Set Up)
TIMEOUT (Maximum Inquiry Time)
The inquiry can be configured to stop after a maximum period of time. The command
parameters used to set this value.
Set command
format
SYSCFG<ws>INQSET<,>TIMEOUT<,><value>
<value>5 to 60 (timeout in seconds)
ExampleTo set the inquiry time to approximately 12 seconds, the command
would be:
SYSCFG INQSET,TIMEOUT,12
Query command
SYSCFG?<ws>INQSET<,>TIMEOUT
format
ExampleSYSCFG? INQSET,TIMEOUT
ResponseIf the maximum timeout was set to 5 the response would be:
SYSCFG INQSET,TIMEOUT,5
5-21
System Configuration
PAGSET (Page Setting)
This command configures the following group:
EUTPSRM Set | QueryEUT Page Scan Repetition Mode
PAGETO Set | QuerySet | Query Page Timeout Setting
EUTPSRM (EUT Page Scan Repetition Mode)
This command is used to set the EUT page scan repetition mode.
Set command
format
ExampleTo set the page scan repetition mode to R1, the command would be:
Query command
format
ResponseR0, R1, R2
ExampleSYSCFG? PAGSET,EUTPSRM
ResponseIf the page scan repetition mode is R1
PAGETO (Page Timeout Setting)
This command changes the page timeout used for making a connection. When requesting a
test run or a connection, the MT8852B makes two connection attempts. The time set here is
the total paging time for both attempts.
SYSCFG<ws>PAGSET,EUTPSRM<,><psrm>
<psrm>
R0
R1
R2
SYSCFG PAGSET,EUTPSRM,R1
SYSCFG?<ws>PAGSET,EUTPSRM
SYSCFG PAGSET,EUTPSRM,R1
Set command
format
Query command
format
ResponseThe response is in the form of the command to set that value.
ExampleIf the page timeout value is 10 seconds the response would be:
5-22
SYSCFG<ws>PAGSET,PAGETO<,><time>
<time> 2 to 30 seconds (Integers only)
SYSCFG?<ws>PAGSET,PAGETO
SYSCFG PAGSET,PAGETO,10
SCPTSET (Script Set Up)
SCPTSET (Script Set Up)
This command group allows the set up of the action of the loop run command and the form in
which frequencies are displayed and reported over GPIB.
LOOPCNTSet | QueryLoop test/script a defined number of times
LPCONTSet | QueryLoop test/script continuously
LPSTFAILSet | QueryLoop test/script stop on fail
FRQDISPSet | Query Frequency display mode
LOOPCNT (Test Loop Count)
When running a test or script in loop mode this command allows the test or script to run a
number of times rather than continuously. When this loop continuous is ON the loop count
does not apply.
Set command
format
ExampleTo set the loop count to 50 the command would be:
Query command
format
ResponseThe response is returned in the form of the command to set that state.
ExampleSYSCFG? SCPTSET,LOOPCNT
ResponseIf the loop count value is 7 the response would be:
LPCONT (Loop Test/Script Continuously)
When running a test or script in loop mode this command allows the test or script to run
continuously. When this is ON the loop count will not apply.
Set command
format
ExampleTo set the loop continuously to ON the command would be:
SYSCFG<ws>SCPTSET<,>LOOPCNT<,><value>
<value> 2 to 100 (10 default)
SYSCFG SCPTSET,LOOPCNT,50
SYSCFG?<ws>SCPTSET,LOOPCNT
SYSCFG SCPTSET,LOOPCNT,7
SYSCFG<ws>SCPTSET<,>LPCONT<,><state>
<state> ON or OFF
SYSCFG SCPTSET,LPCONT,ON
Query command
format
ResponseThe response is returned in the form of the command to set that state.
ExampleSYSCFG? SCPTSET,LPCONT
ResponseIf the loop continuous state was OFF the response would be:
SYSCFG?<ws>SCPTSET,LPCONT
SYSCFG SCPTSET,LPCONT,OFF
5-23
System Configuration
LPSTFAIL (Loop test/script stop on fail)
When running a test or script in loop mode this command allows the testing to stop on a test
failing.
Set command
format
SYSCFG<ws>SCPTSET<,>LPSTFAIL<,><state>
<state> ON or OFF
ExampleTo set the stop on fail to ON the command would be:
SYSCFG SCPTSET,LPSTFAIL,ON
Query command
SYSCFG?<ws>SCPTSET,LPSTFAIL
format
ResponseThe response is returned in the form of the command to set that state.
ExampleSYSCFG? SCPTSET,LPSTFAIL
ResponseIf the stop on fail was OFF the response would be:
SYSCFG SCPTSET,LPSTFAIL,OFF
FRQDISP (Frequency Display Mode)
This command sets the way that the Bluetooth channels are reported and displayed between
the frequency and the channel number. Channel 0 = 2402 MHz and channel 78 =2480 MHz.
Set command
format
SYSCFG<ws>SCPTSET<,>FRQDISP<,><state>
<state>
FREQDisplay frequency
CHANChannel number
ExampleTo set the frequency display mode to frequency the command would be:
SYSCFG SCPTSET,FRQDISP,FREQ
Query command
SYSCFG?<ws>SCPTSET,FRQDISP
format
ResponseThe response is returned in the form of the command to set that state.
ExampleSYSCFG? SCPTSET,FRQDISP
ResponseIf the frequency display mode is channel number the response would be:
SYSCFG SCPTSET,FRQDISP,CHAN
5-24
USBADAPTOR (Adaptor Set Up)
USBADAPTOR (Adaptor Set Up)
This command group allows the set up of the USB port adaptor.
NUMPORTSQuery Query the number of ports on the USB->RS232 adaptor.
PORTSet | QuerySet or query the port in use on the USB->RS232 adaptor.
NUMPORTS (Number of USB Adaptor Ports)
Query command
format
ExampleIf the number of ports was 4, the response would be:
PORT (USB Adaptor Port)
Set command
format
ExampleTo set the port to A, the command would be:
Query command
format
ResponseThe response is returned in the form of the command to set that state.
ExampleSYSCFG? USBADAPTOR,PORT
ResponseIf the port was set to port A, the response would be:
SYSCFG?<ws>USBADAPTOR<,>NUMPORTS
4
SYSCFG<ws>USBADAPTOR<,>PORT<,><port>
<port> A, B, C, D
SYSCFG USBADAPTOR,PORT,A
SYSCFG?<ws>USBADAPTOR,PORT
SYSCFG USBADAPTOR,PORT,A
5-25
System Configuration
VERDATE (Tester Firmware Version and Date Stamp)
This command returns the version and date stamp information for all the modules within the
Anritsu Bluetooth test set.
This chapter provides details of the SCO configuration command and the associated
parameters. SCO connections are used to carry audio data. A SCO connection can only be set
up when an ACL connection has been made between the two units. The commands are listed
in alphabetical order as detailed below.
SCOCFG (Set SCO Configuration)
Command format SCOCFG<ws><config selection>[<,><parameters>……]
<config selection>
AIRCODESet | Query SCO air code format
BITPOSNSet | Query SCO bit position
INPUTCODESet | Query SCO input code format
INPUTDATASet | Query SCO input data format
LBMODESet | Query Loopback mode
PKTTYPESet | Query SCO packet type
SAMPSIZESet | Query SCO sample size
TONEGENSet | Query SCO tone generator
6-1
SCO Configuration
AIRCODE (SCO Air Code Format)
Set command
format
SCOCFG<ws>AIRCODE<,><format>
<format>
CVSD
ULAW
ALAW
RemarksThis command is used to set the format to be used over air for the SCO
connection. Both ends of the SCO link must use the same air code
format.
The value will also be used for the EUT if the MT8852B is controlling
an EUT via the front panel connection.
The command is only allowed when there is an ACL connection but no
SCO connection.
Query command
SCOCFG?<ws>AIRCODE
format
ResponseResponse is in the form of the command to set that state.
ExampleIf the air code format is CVSD the response would be:
ResponseSCOCFG AIRCODE,CVSD
BITPOSN (SCO Linear PCM Bit Position)
Set command
format
SCOCFG<ws>BITPOSN<,><posn>
<posn> 0 to 7
RemarksThis command is used to set the bit offset position for linear PCM input.
The PCM bit position is the number of bit positions that the MSB of the
sample is away from starting MSB (only for Linear PCM).
The value is only used by the MT8852B when it is controlling an EUT
via the front panel connection.
The command can only be used when there is an ACL connection (and if
the EUT is controlled via the front panel, no SCO connection).
Query command
SCOCFG?<ws>BITPOSN
format
ResponseResponse is in the form of the command to set that state.
ExampleIf the bit position is set to 0, the response would be:
ResponseSCOCFG BITPOSN,0
6-2
INPUTCODE (SCO Input Coding Format)
SCOCFG (Set SCO Configuration)
Set command
format
SCOCFG<ws>INPUTCODE<,><format>
<format>
LINEAR
ULAW
ALAW
RemarksThis command is used to set the input coding format for the audio
connection.
The value is only used by the MT8852B when it is controlling an EUT
via the front panel connection.
The command can only be used when there is an ACL connection (and if
the EUT is controlled via the front panel, no SCO connection).
Query command
SCOCFG?<ws>INPUTCODE
format
ResponseResponse is in the form of the command to set that state.
ExampleIf the input coding format is set to ULAW, the response would be:
ResponseSCOCFG INPUTCODE,ULAW
INPUTDATA (SCO Input Data Format)
Set command
format
SCOCFG<ws>INPUTDATA<,><format>
<format>
1SCOMP
2SCOMP
SIGNMAG
RemarksThis command is used to set the input data format for the audio
connection to either 1’s compliment, 2’s compliment or sign magnitude.
The value is only used by the MT8852B when it is controlling an EUT
via the front panel connection.
The command can only be used when there is an ACL connection (and if
the EUT is controlled via the front panel, no SCO connection).
Query command
SCOCFG?<ws>INPUTDATA
format
ResponseResponse is in the form of the command to set that state.
ExampleIf the input data format is set to sign magnitude, the response would be:
ResponseSCOCFG INPUTDATA,SIGNMAG
6-3
SCO Configuration
LBMODE (Loopback Mode)
Set command
format
SCOCFG<ws>LBMODE<,><status>
<status>
ON
OFF
RemarksThis command is used to set the unit into remote loopback mode. In this
mode all data received over air (including SCO data) is looped back and
sent back out over air.
The command is only allowed when there is an ACL connection but no
SCO connection.
Query command
SCOCFG?<ws>LBMODE
format
ResponseResponse is in the form of the command to set that state.
ExampleIf the unit is in loopback mode, the response would be:
ResponseSCOCFG LBMODE,ON
PKTTYPE (SCO Packet Type)
Set command
format
SCOCFG<ws>PKTTYPE<,><type>
<type>
HV1
HV2
HV3
RemarksThis command is used to set the SCO packet type. Only one packet type
can be selected.
Note: The packet type selected restricts the number of SCO connections
available, as follows:
Pkt. Type Max connections available
HV1 1
HV2 2
HV3 3
The command is only allowed when there is an ACL connection but no
SCO connection.
Query command
SCOCFG?<ws>PKTTYPE
format
ResponseResponse is in the form of the command to set that state.
ExampleIf the packet type is set to HV3, the response would be:
ResponseSCOCFG PKTTYPE,HV3
6-4
SAMPSIZE (SCO Input Sample Size)
SCOCFG (Set SCO Configuration)
Set command
format
SCOCFG<ws>SAMPSIZE<,><size>
<size>
8 BIT
16 BIT
RemarksThis command is used to set the input sample size for the audio
connection to either 8 bit or 16 bit.
The value is only used by the MT8852B when it is controlling an EUT
via the front panel connection.
The command can only be used when there is an ACL connection (and if
the EUT is controlled via the front panel, no SCO connection).
Query command
SCOCFG?<ws>SAMPSIZE
format
ResponseResponse is in the form of the command to set that state.
ExampleIf the input sample size is set to 16 bit, the response would be:
ResponseSCOCFG SAMPSIZE,16BIT
TONEGEN (SCO Tone Generator)
Set command
format
SCOCFG<ws>TONEGEN<,><state>
<state>
ON
OFF
RemarksThis command is used to turn the SCO tone generator on and off.
It is only allowed when there is an ACL and a SCO connection.
Query command
SCOCFG?<ws>TONEGEN
format
ResponseResponse is in the form of the command to set that state.
ExampleIf the tone generator is on, the response would be:
ResponseSCOCFG TONEGEN,ON
6-5
SCO Configuration
6-6
Chapter 7 — SCO Connections
This chapter provides details of the SCO connect and disconnect commands. A SCO
connection can only be created when an ACL connection already exists between the two units.
The following list is an example GPIB command sequence to create a SCO connection:
CONNECT
GETEUTFEAT
[SCOCFG … ]
SCOCONN 1
SCOCONN (SCO Connect)
Set command
format
RemarksThis command is used to create a SCO connection on the specified
SCOCONN<ws><channel>
<channel> 1 to 3
channel. When the connection has been completed the SCC bit in the
CHG register is set.
The current state of the SCO connections can be obtained by using the
STATUS command.
SCODISC (SCO Disconnect)
Set command
format
RemarksThis command is used to terminate a SCO connection on the specified
SCODISC<ws><channel>
<channel> 1 to 3
channel. When the disconnection has been completed the SCC bit in the
CHG register is set.
The current state of the SCO connections can be obtained by using the
STATUS command.
7-1
SCO Connections
7-2
Chapter 8 — AFH Measurement
This chapter provides details of the Adaptive Frequency Hopping (AFH) configuration
commands and associated parameters. AFH is a method used to improve the transmission
quality by preventing hopping to channels that are being used by an interfering signal. The
commands in this chapter are listed in alphabetical order as detailed below.
AFHCFG (Set AFH Configuration)
Command format AFHCFG<ws><config selection>[<,><parameters>…]
<config selection>
ACMQueryRead the MT8852B Active Channel Map.
AFHSet | QueryAFH on/off control.
DISPLAYSet | Query Control the display of Channel or FER page.
EUTRPTSet | QueryEUT reporting (on / off)
EUTRRATESet | Query EUT reporting rate.
FERQuery Read the EUT Frame Error Rate
MINCHANSet | Query Minimum number of active channels.