OTA Measurement Manual r04

BlueMod+SR
OTA-Measurement
User Guide
Release r04
BlueMod+SR
OTA-Measurement
User Guide
Table of contents
1
Introduction ....................................................................................................... 4
1.1 Hardware Solution 1 ..................................................................................... 4
1.2 Hardware Solution 2 ..................................................................................... 5
1.3 Software Solution .......................................................................................... 6
1.4 HCI Access to the Baseband in HCI Direct Mode.......................................... 7
2
Measuring using BlueTest3 ............................................................................... 8
2.1 Installation..................................................................................................... 8
2.2 Getting Started.............................................................................................. 8
2.3 Configure TX Power .................................................................................... 10
2.4 Classic Bluetooth Testmodes ...................................................................... 11
2.4.1
Modulation ........................................................................................ 11
2.4.2
Test: Carrier Only (CW)..................................................................... 13
2.4.3
Test: Modulated TX Signal, Single Channel ...................................... 14
2.4.4
Test: Modulated TX Signal, Hopping ................................................. 15
2.4.5
Test: Constant RX ............................................................................. 17
2.5 Low Energy Testmodes .............................................................................. 18
3
2.5.1
Test: BLE Transmitter Test ............................................................... 18
2.5.2
Test: BLE Receiver Test ................................................................... 19
2.5.3
BLE Test End .................................................................................... 19
Measuring using Manufacturer specific HCI Commands ................................. 20
3.1 Command Structure .................................................................................... 20
3.1.1
Sequence Number ............................................................................ 20
3.1.2
Payload ............................................................................................. 20
3.2 Classic Bluetooth Test Commands ............................................................. 20
3.2.1
Configure TX Power .......................................................................... 20
3.2.2
Modulation ........................................................................................ 21
3.2.3
Carrier Only....................................................................................... 21
3.2.4
Modulated TX Signal, Single Channel ............................................... 21
3.2.5
Modulated TX Signal, Hopping .......................................................... 21
3.2.6
Constant RX...................................................................................... 21
Release r04
www.stollmann.de
Page 2 of 24
BlueMod+SR
OTA-Measurement
User Guide
3.3 Bluetooth Low Energy Test Commands ...................................................... 22
4
3.3.1
BLE Transmitter Test ........................................................................ 22
3.3.2
BLE Receiver Test ............................................................................ 22
3.3.3
BLE Test End .................................................................................... 22
3.3.4
Warm Reset ...................................................................................... 22
History ............................................................................................................. 23
Release r04
www.stollmann.de
Page 3 of 24
BlueMod+SR
OTA-Measurement
User Guide
1 Introduction
This document describes how to set the BlueMod+SR in radio test modes for over
the air measurements (OTA) without using a Bluetooth tester. This can be done by
either using the CSR software BlueTest3 or by sending directly manufacturer
specific HCI commands to the BlueMod+SR. The decision on which of the
mentioned methods has to be used should be made by the BlueMod+SR customer
based on the following facts.
A typical customer application implementing a BlueMod+SR consists of a customer
application CPU with customer specific peripherals and a UART connection to the
BlueMod+SR. Depending on the conditions in the customer’s product the following 3
solutions could be used.
1.1
Hardware Solution 1
a) Disconnect customer application CPU from the BlueMod+SR UART
b) Connect RS232 level shifter or serial TTL UART to USB converter to
BlueMod+SR UART
c) Connect this UART to a PC/Notebook
d) Continue with chapter 2 Measuring using BlueTest3 after having set the DUT
into the HCI Direct Mode (see chapter 1.4 HCI Access to the Baseband in HCI
Direct Mode)
PC/NOTEBOOK
RUNNING
-> Terminal Prg.
-> BlueTest3
USB with
VCP
Virtual COM Port
only
COM or
USB
RS232 LEVEL SHIFTER or
TTL UART TO USB CONVERTER
TTL UART
RXD, TXD, CTS, RTS, GND
DUT
BM+SR
APP
CPU
Release r04
DISCONNECT
UART
ADAPT
www.stollmann.de
Page 4 of 24
BlueMod+SR
OTA-Measurement
User Guide
1.2
Hardware Solution 2
a) Use 2nd UART of application CPU
b) Connect RS232 level shifter or serial TTL UART to USB converter to 2nd UART
of application CPU
c) Connect this UART to a PC/Notebook
d) Continue with chapter 2 Measuring using BlueTest3 after having set the DUT
into the HCI Direct Mode (see chapter 1.4 HCI Access to the Baseband in HCI
Direct Mode)
PC/NOTEBOOK
RS232 LEVEL SHIFTER or
TTL UART TO USB CONVERTER
COM or
USB
TTL UART
RXD, TXD,
CTS, RTS,
GND
RUNNING
-> Terminal Prg.
-> BlueTest3
USB with
VCP
Virtual COM Port
only
DUT
BM+SR
UART2
APP
CPU
UART
UART1
APP CPU SW TUNNELS UART2 TO UART1
FULL-DUPLEX
Release r04
www.stollmann.de
Page 5 of 24
BlueMod+SR
OTA-Measurement
User Guide
1.3
Software Solution
a) Implement the direct manufacturer specific HCI commands necessary for the
laboratory testing in your customer application CPU and send them to the
BlueMod+SR after having invoked the HCI Direct Mode
b) Use customer specific means to control which test case has to be set.
c) Continue with chapter 3 Measuring using after having set the DUT into the HCI
Direct Mode (see chapter 1.4 HCI Access to the Baseband in HCI Direct Mode)
DUT
CUSTOMER SPECIFIC STIMULI
FOR INVOKING DIFFERENT
TEST CASES
APP
CPU
BM+SR
UART
APP CPU SW SENDING DIRECTLY
CSR MANUFACTURER SPECIFIC
HCI COMMANDS
Release r04
www.stollmann.de
Page 6 of 24
BlueMod+SR
OTA-Measurement
User Guide
1.4
HCI Access to the Baseband in HCI Direct Mode
The BlueMod+SR is build with a Stollmann CPU running the Stollmann Bluetooth
Protocol Stack and a CSR Bluetooth baseband IC CSR8811. The Stollmann CPU
maintains 2 UART interfaces, one to the customer application CPU and one to the
CSR baseband CSR8811.
The command at+hcidirect tunnels the Stollmann Protocol Stack and connects
both UART interfaces full-duplex. So either the CSR PC software BlueTest3 or the
customer application CPU has direct access to the CSR Bluetooth baseband. How
to enable the HCI Direct Mode depends on customers decision if the hardware or
software solution has been chosen.
1) Hardware Solutions
a) Open a terminal program, e.g. ZOC, on your PC/notebook
b) Select appropriate COM port
WARNING: the CSR tool BlueTest3 runs only on COM1 to COM9
c) Set baud rate to 115k2 8N1
d) Check if at<ENTER> answers with string “OK”
 UART connection works
e) Issue command at+hcidirect<ENTER>
answers with string “OK”
f) Close terminal program
g) Start BlueTest3
2) Software Solution
a) Check if at<ENTER> answers with string “OK”
b) Issue command at+hcidirect<ENTER>,
check for answer string “OK”
c) Use direct manufacturer specific HCI commands to control radio behavior
of the CSR8811 baseband
Release r04
www.stollmann.de
Page 7 of 24
BlueMod+SR
OTA-Measurement
User Guide
2 Measuring using BlueTest3
To set the Bluetooth module in the radio testmodes, the Bluetooth baseband IC
manufacturer CSR provides the software BlueTest3. You can either
1) Download it from www.csrsupport.com
a) You’d need to register as user
b) Choose Bluetooth Tools
c) Choose Bluetooth PC Software/Tools
d) Download Install.exe and Release Note of the current BlueSuite
Development Tools
2) Ask Stollmann support department for help.
2.1
Installation
Install CSR BlueSuite2.5 or higher by clicking "InstallBlueSuite2.5.exe". Follow the
installation steps, for further information read the BlueSuite Release Notes. Leave
all checkboxes and installation options on the default values.
Restart your computer.
2.2
Getting Started
Start "BlueTest3" of the program group CSR BlueSuite.
The following transport options have to be selected:

H4

The COM port the DUT is connected to (use device manager if unclear)

115200 baud
Click OK to start the software.
Release r04
www.stollmann.de
Page 8 of 24
BlueMod+SR
OTA-Measurement
User Guide
The software connects to the configured COM port and shows a message
"Transport active”.
Release r04
www.stollmann.de
Page 9 of 24
BlueMod+SR
OTA-Measurement
User Guide
2.3
Configure TX Power
The TX power of the module has to be set using the CFG TX POWER mode. The
power shall be set to 8dBm.
CFG TX POWER

Power target (dBm): 8
The configured power is used for all subsequent TX tests. It has to be reconfigured if
the module is reset during tests.
This step does not start TX output over the air it only configures the power level for
the subsequent TX tests.
Release r04
www.stollmann.de
Page 10 of 24
BlueMod+SR
OTA-Measurement
User Guide
2.4
Classic Bluetooth Testmodes
The following testmodes for Classic Bluetooth (BR/EDR) are configured with the
described commands in the BlueTest3 interface.
2.4.1
Modulation
To set the modulation the packet type has to be configured (CFG PKT) according to
the values in the following table:
Release r04
www.stollmann.de
Page 11 of 24
BlueMod+SR
OTA-Measurement
User Guide
Packet
Packet Type
Packet Size
DH1
4
27
DH3
11
185
DH5
15
341
DM1
3
18
DM3
10
123
DM5
14
226
2-DH1
20
56
2-DH3
26
369
2-DH5
30
681
3-DH1
24
85
3-DH3
27
554
3-DH5
31
1023
Release r04
www.stollmann.de
Modulation
Basic Rate
EDR
Page 12 of 24
BlueMod+SR
OTA-Measurement
User Guide
2.4.2
Test: Carrier Only (CW)
TXStart

LO Freq. = 2441or 2402 for lowest channel or 2480 for highest channel

Power (Ext, Int) = ignore

Modulat'n Freq. = 0
Release r04
www.stollmann.de
Page 13 of 24
BlueMod+SR
OTA-Measurement
User Guide
2.4.3
Test: Modulated TX Signal, Single Channel
TXData1

LO Freq. = 2441 or 2402 lowest channel or 2480 highest channel

Power (Ext, Int) = ignore

Modulation according to packet type chosen via CFG_PKT
Release r04
www.stollmann.de
Page 14 of 24
BlueMod+SR
OTA-Measurement
User Guide
2.4.4
Test: Modulated TX Signal, Hopping
The parameter CFG HOPPING SEQ sets the channels for the hopping scheme. Set
all to 1 to activate normal hopping with 79 channels.
To simulate AFH set at least 20 channels to 1 and set the rest to 0. (E.g. channel
15-0 = 1111111111111111, channel 31-16 = 0000000000001111 and remaining
parameters to 0 sets the hopping scheme to the lower 20 channels).
Release r04
www.stollmann.de
Page 15 of 24
BlueMod+SR
OTA-Measurement
User Guide
TXData2

Country Code = 0

Power (Ext, Int) = ignore
Release r04
www.stollmann.de
Page 16 of 24
BlueMod+SR
OTA-Measurement
User Guide
2.4.5
Test: Constant RX
RXStart1

LO Freq. = 2441 or 2402 for lowest channel or 2480 for highest channel

High-side = False

RX Attenuation = 0
Release r04
www.stollmann.de
Page 17 of 24
BlueMod+SR
OTA-Measurement
User Guide
2.5
Low Energy Testmodes
The following testmodes for Bluetooth Low Energy (BLE) are configured with the
described commands in the BlueTest3 interface. Before beginning the BLE tests a
warm reset has to be done.
2.5.1
Test: BLE Transmitter Test
BLE TEST TX

Channel = channel to be tested

Length = 37

Bit Pattern = 0 (Pseudo-random bit sequence 9)
BLE TEST TX is ended by using BLE TEST END or a warm reset.
Release r04
www.stollmann.de
Page 18 of 24
BlueMod+SR
OTA-Measurement
User Guide
2.5.2
Test: BLE Receiver Test
BLE TEST RX

Channel = channel to be tested

Report Int = 0
BLE TEST RX is ended by using BLE TEST END or a warm reset.
2.5.3
BLE Test End
The BLE tests shall be ended using BLE TEST END from the menu or by
performing a warm reset. Otherwise no new tests can be started.
Release r04
www.stollmann.de
Page 19 of 24
BlueMod+SR
OTA-Measurement
User Guide
3 Measuring using Manufacturer specific HCI Commands
To set the module in testmodes without using the software BlueTest3, the user can
send the corresponding manufacturer specific HCI commands using a terminal
program or host processor.
3.1
Command Structure
The manufacturer specific HCI commands for radio tests consist of the following
structure:
Reserved (9 bytes)
SeqNo (2 bytes)
Payload (12 or 16 bytes)
1
3.1.1
2
3
…
16
Sequence Number
The sequence number is 2 bytes long. It is an ascending number and shall be
incremented on every command. On sending the first command it shall be 00 00, on
sending the second 01 00 and so on. Left byte is least significant and incremented
first. The sequence number is marked green.
3.1.2
Payload
The payload contains the test command. The values can be modified to configure
frequency, modulation, etc. More information can be found in the test command
description. The significant bytes containing the values to be set are marked in red.
3.2
Classic Bluetooth Test Commands
The following test commands for classic Bluetooth shall be sent to the module in
HCI direct mode as described in chapter 1.4. In all commands the sequence number
has to be modified.
3.2.1
Configure TX Power
01 00 fc 13 c2 02 00 09 00 00 00 04 50 00 00 34 00 08 00 00 00 00 00
Byte 7 of payload sets the power to 8dBm.
The configured power is used for all subsequent TX tests. It has to be reconfigured if
the module is reset during tests.
This step does not start TX output over the air it only configures the power level for
the subsequent TX tests.
Release r04
www.stollmann.de
Page 20 of 24
BlueMod+SR
OTA-Measurement
User Guide
3.2.2
Modulation
01 00 fc 13 c2 02 00 09 00 00 00 04 50 00 00 17 00 0f 00 53 01 00 00
Bytes 7 & 8 of payload set packet type to 15.
Bytes 9 & 10 of payload set packet size to 339.
3.2.3
Carrier Only
01 00 fc 13 c2 02 00 09 00 00 00 04 50 00 00 01 00 89 09 32 ff 00 00
Bytes 7 & 8 of payload set frequency to 2441 MHz.
3.2.4
Modulated TX Signal, Single Channel
01 00 fc 13 c2 02 00 09 00 00 00 04 50 00 00 04 00 89 09 32 ff 00 00
Bytes 7 & 8 of payload set frequency to 2441 MHz.
3.2.5
Modulated TX Signal, Hopping
01 00 fc 17 c2 02 00 0b 00 00 00 04 50 00 00 2d 00 ff ff 0f 00 00 00 00 00 00 00
Bytes 7 to 16 of payload set the hopping scheme to 20 channels, channels 0-19 will
be used.
01 00 fc 13 c2 02 00 09 00 00 00 04 50 00 00 05 00 00 00 32 ff 00 00
Bytes 7 & 8 of payload set the country code to 0.
3.2.6
Constant RX
01 00 fc 13 c2 02 00 09 00 00 00 04 50 00 00 02 00 89 09 00 00 00 00
Bytes 7 & 8 of payload set frequency to 2441 MHz.
Bytes 9 & 10 of payload set parameter HIGHSIDE to false.
Bytes 11 & 12 of payload set RX attenuation to 0.
Release r04
www.stollmann.de
Page 21 of 24
BlueMod+SR
OTA-Measurement
User Guide
3.3
Bluetooth Low Energy Test Commands
The following test commands for Bluetooth Low Energy shall be sent to the module
in HCI direct mode as described in chapter 1.4. In all commands the sequence
number has to be modified. If classic Bluetooth tests have been done before, a
warm reset has to be done before starting the BLE tests.
3.3.1
BLE Transmitter Test
01 00 fc 13 c2 02 00 09 00 00 00 8a 50 00 00 02 00 00 00 25 00 00 00
Bytes 7 & 8 of payload set channel to 0.
Bytes 9 & 10 of payload set length to 37.
Bytes 11 & 12 of payload set payload to "Pseudo random bit sequence 9".
3.3.2
BLE Receiver Test
01 00 fc 13 c2 02 00 09 00 00 00 8a 50 00 00 01 00 00 00 00 00 00 00
Bytes 7 & 8 of payload set channel to 0.
3.3.3
BLE Test End
01 00 fc 13 c2 02 00 09 00 00 00 8a 50 00 00 00 00 00 00 00 00 00 00
The BLE tests shall be ended using the command BLE TEST END or by performing
a warm reset. Otherwise no new tests can be started.
3.3.4
Warm Reset
01 00 fc 13 c2 02 00 09 00 00 00 8a 50 00 00 00 00 00 02 40 00 00 00
A warm reset has to be done between classic Bluetooth and Bluetooth Low Energy
test commands.
Release r04
www.stollmann.de
Page 22 of 24
BlueMod+SR
OTA-Measurement
User Guide
4 History
Version
Release Date
By
Change description
r00
15.05.2013
hb
Initial version
r01
17.05.2013
hb
Added HCI command section
r02
18.07.2013
hb
Revised section 3 Measuring using Manufacturer specific HCI
Commands
r03
14.03.2014
jj
Removed typo “P2x”
r04
11.12.2014
jj
Revised chapter structure and detailed descriptions on
strategies in introduction
Release r04
www.stollmann.de
Page 23 of 24
BlueMod+SR
OTA-Measurement
User Guide
Stollmann Entwicklungs- und Vertriebs-GmbH
Mendelssohnstraße 15 D
22761 Hamburg
Germany
Release r04
Phone: +49 (0)40 890 88-0
Fax:
+49 (0)40 890 88-444
E-mail: [email protected]
www.stollmann.de
www.stollmann.de
Page 24 of 24