Page 1
BlueCore 01
BlueTest Instruction Manual
AN047
July 2001
bc01-an-047b
Unit 400 Cambridge Science Park
© Copyright CSR 2000
This material is subject to CSR’s non-disclosure agreement.
Milton Road
Cambridge CB4 0WH
UK
Registered in UK 3665875
Tel: +44 (0)1223 692000
Fax: +44 (0)1223 692001
http://www.csr.com
Page 2
BlueTest Instruction Manual
Contents
Contents...............................................................................................................................2
Introduction ..........................................................................................................................3
Getting Started Simple Tests ...............................................................................................4
Simple Tests ........................................................................................................................5
Quantitative Tests............................................................................................................... 10
Transmitter Only ............................................................................................................... 10
Receiver Only ................................................................................................................... 14
Loopback Test Mode ........................................................................................................ 16
Configuration Commands .................................................................................................. 22
Built-in-Self Test (BIST) Routines ....................................................................................... 22
Miscellaneous Test Routines ............................................................................................. 42
Persistent Store Keys ......................................................................................................... 49
Appendix 1.......................................................................................................................... 49
BIST Parameters .............................................................................................................. 49
Appendix 2.......................................................................................................................... 51
Known Software Issue(s) in BlueTest Version 1. 4 ........................................................... 51
Appendix 3.......................................................................................................................... 52
Combining Tests Using a Second Unit ............................................................................... 52
Appendix 4.......................................................................................................................... 52
Configuration Commands Available During Tests................................................................ 53
Appendix 5.......................................................................................................................... 54
Bluetooth Packet Types .................................................................................................... 54
bc01-an-047b
© Copyright CSR Ltd 2000
This material is subject to CSR’s non-disclosure agreement
Page 2 of 56
Page 3
Introduction
BlueTest Instruction Manual
All of the following tests are designed to run
with CSR’s firmware versions Beta 10.4 and
above.
BlueTest is a program that controls the
on-chip built-in-self-test (BIST) software for
RF testing. This document explains the
facilities offered by the BIST. BlueTest does
not execute any of these tests. It sends
commands to BlueCore01 and/or enables
the on -chip BIST, then reports any results.
The tests fall into six categories:
g Simple RF tests; used for PCB de -bug
and optimisation
g Quantitative tests for transmit and
receive; used to establish the
performance of the Bluetooth device.
g Loopback test modes; used for
qualification and regulatory testing
g Configuration commands to set
parameters for other tests
g Built-in self-test routines
Several tests include entries for
Spec Name
Bluetooth Special Interest Group (SIG) Test
Specification for RF document, rev. 0.9r,
dated 31 January 2000.
. These refer to tests in the
Related Test
g Miscellaneous test routines
Further details about commands,
parameters and packet types are included
in the appendices following the tests.
Running a Test
In a BlueTest dialog select the Standard
button to display the entire test. This applies
to all of the tests except for the BIT ERR1
and BIT ERR2 tests. Click on
display these results in a column format .
When running the tests, the results display in
a dialog box.
The default file name is logfile.txt . It is
located in the current directory in which the
program resides. Select
create your own file name and path (using
test examples provided).
To save test results to a file, tick
Some of these tests require two
Note:
Bluetooth modules to function correctly. The
PCM External Loopback test has notes
specifically for use with CSR’s Casira
development kit.
BlueTest Example Display
Bit Error to
Browse for File to
Save to File .
bc01-an -047b
© Copyright CSR Ltd 2000
This material is subject to CSR’s non-disclosure agreement.
Page 3 of 56
Page 4
Getting Started
Run Bluetest.exe .
Select a Protocol (Default BCSP ).
Select Port and Baud Rate (Default com1 , 115200 ).
BlueTest Instruction Manual
BlueCore
TM
01
bc01-an -047b
This material is subject to CSR’s non-disclosure agreement.
© Copyright CSR Ltd 2001
Page 4 of 56
Page 5
Simple Tests
RF Test Mode
Title PAUSE
Summary Halts the current test and stops any radio activity.
BlueTest Instruction Manual
BlueCore
Test Arguments
Return Data
Exit Click on Reset Chip or enter a new command.
None
None
bc01-an -047b
This material is subject to CSR’s non-disclosure agreement.
© Copyright CSR Ltd 2001
TM
01
PAUSE Example Display
Page 5 of 56
Page 6
Title RADIO STATUS
Summary Returns the values from the radio control registers.
BlueTest Instruction Manual
BlueCore
Test Arguments
Return Data
Exit Click on Reset Chip.
None
Internal transmission level
External transmission level
Internal receiver gain
Internal receiver attenuation
Local oscillator level
IQ trim
Signal/image ratio for IQ trim
TM
01
RADIO STATUS Example Display
bc01-an -047b
This material is subject to CSR’s non-disclosure agreement.
© Copyright CSR Ltd 2001
Page 6 of 56
Page 7
Title TXSTART
Summary
Test Arguments
Return Data
Exit Click on Reset Chip.
Enables the transmitter in continuous transmission at a
designated frequency
(Ext, Int)
Freq
LO Freq (Carrier Frequency in MHz) = 2402 to 2480
Power (Ext, Int) = gain of external amplifi er (if present) and internal
amplifier. Ext value is specific to the design and Int value is 0 to
63 (Default = 50 )
Modulat’n Freq = -32768 to 32767 in units of 1/4096MHz
None
Use RF Analyser to check carrier output .
and designated tone modulation frequency (Modulat’n
).
(LO Freq) with a designated output Power
BlueTest Instruction Manual
BlueCore
TM
01
bc01-an -047b
This material is subject to CSR’s non-disclosure agreement.
© Copyright CSR Ltd 2001
TXSTART Example Display
Page 7 of 56
Page 8
Title RXSTART1
Enables the receiver in continuous reception at a designated
frequency (LO Freq) with a choice of low or high side modulation
Summary
(hi-side ) and with a designated attenuation setting (RX
Attenuation). Requires a second unit to be running TXSTART.
Routes final IF to TEST_A pin.
BlueTest Instruction Manual
BlueCore
LO Freq (Carrier Frequency MHz)= 2402 to 2480
Test Arguments
Return Data None
Exit Click on Reset Chip.
bc01-an -047b
hi-side (default = False) set 0 or 1
RX Attenuation = 0 to 15 (Default = 0)
TM
01
RXSTART1 Example Display
This material is subject to CSR’s non-disclosure agreement.
© Copyright CSR Ltd 2001
Page 8 of 56
Page 9
Title RXSTART2
BlueTest Instruction Manual
BlueCore
Summary
Enables the receiver in continuous reception, at a designated
frequency (LO Freq), with a choice of low or high side
modulation (hi-side) and with a designated attenuation setting
(RX Attenuation ). Digitises the RSSI and sends report regularly to
host. Requires a second unit to be running TXSTART .
LO Freq (Carrier Frequency MHz) = 2402 to 2480
Test Arguments
hi-side (default = false) set 0 or 1
RX Attenuation = 0 to 15 (Default = 0)
RSSI values, as a uint 16, sent over BCSP channel 3 at a rate of
Return Data
about 10 per second. Can be saved to log file. H4 and USB use
manufacturer’s extensions.
Exit Click on Reset Chip.
TM
01
RXSTART2 Example Display
bc01-an -047b
This material is subject to CSR’s non-disclosure agreement.
© Copyright CSR Ltd 2001
Page 9 of 56
Page 10
Quantitative Tests
Quantitative Tests
Transmitter Only
Transmitter Only
Title TXDATA1
Summary
Related Test
Spec Name
Test Arguments
Enables the transmitter, with a designated frequency
(Ext, Int)
Payload is PRBS9 data.
Receiver is not operating.
Packet type and duty cycle can be configured. Refer to Configuration Commands
section.
TRM/CA/03/C (power control), TRM/CA/04/C (Tx output spectrum – frequency
range), TRM/CA/05/C (Tx output spectrum – 20dB bandwidth), TRM/CA/06/C
(Adjacent channel power), TRM/CA/08/C (Initial carrier frequency tolerance),
TRC/CA/01/C (Out-of-band spurious emissions).
LO Freq (Carrier Frequency MHz)= 2402 to 2480
Power (Ext, Int) = gain of external amplifier (if present) and internal amplifier. Ext
value is specific to the design and Int value is 0 to 63 (Default = 50).
.
(LO Freq) and output Power
BlueTest Instruction Manual
Note : TXDATA and RXDATA require the
same Bluetooth address in each module
for
by
the address used by the BIST.
RXDATA to receive data transmitted
TXDATA. Us e CFG_UAP_LAP to set
BlueCore
BlueCore
TM
TM
01
01
None
Return Data
Use an RF Analyser to check carrier output.
Exit Click on Reset Chip or select another TXDATA command.
bc01-an -047b
© Copyright CSR Ltd 2001
This material is subject to CSR’s non-disclosure agreement.
TXDATA1 Example Display
Page 10 of 56
Page 11
Title TXDATA2
BlueTest Instruction Manual
BlueCore
Enables the transmitter, with a simplified hop sequenc e
designated by
Payload is PRBS9 data (Default DH1).
Summary
Receiver is not operating.
Packet type and duty cycle can be configured. Refer to
Configuration Commands section.
Country Code and sets output Power (Ext, Int).
Related Test
Spec Name
Test Arguments
Return Data
Exit Click on Reset Chip or select another TXDATA command.
TRM/CA/01/C (output power), TRM/CA/02/C (power density)
Country Code = 0 to 3 (Default = 0)
None
Use RF Analyser to check carrier output .
TM
01
TXDATA2 Example Display
bc01-an -047b
This material is subject to CSR’s non-disclosure agreement.
© Copyright CSR Ltd 2001
Page 11 of 56
Page 12
Title TXDATA3
Enables the transmitter, with a designated frequency (LO
Freq) and output Power (Ext, Int).
BlueTest Instruction Manual
BlueCore
Summary
Related Test
Spec Name
Test
Arguments
Return Data
Exit Click on Reset Chip or select another TXDATA command.
Payload is sequence 101010.…
Receiver is not operating.
Packet type and duty cycle can be configured. Refer to
Configuration Commands section.
TRM/CA/07/C (modulation characteristic), TRM/CA/09/C
(carrier frequency drift)
LO Freq (Carrier Frequency MHz)= 2402 to 2480
Power (Ext, Int) = gain of external amplifier (if present) and
internal amplifier. Ext value is specific to the design and Int
value is 0 to 63 (Default = 50).
None
Use RF Analyser to check out carrier
TXDATA3 Example Display
TM
01
bc01-an -047b
This material is subject to CSR’s non-disclosure agreement.
© Copyright CSR Ltd 2001
Page 12 of 56
Page 13
Title TXDATA4
Enables the transmitter with a designated frequency (LO Freq ) and
output Power (Ext, Int) .
Payload is sequence 1111000011110000.…
Summary
Receiver is not operating.
BlueTest Instruction Manual
Related Test
Spec Name
Test Arguments
Return Data
Exit Click on Reset Chip or select another TXDATA command.
bc01-an -047b
Packet type and duty cycle can be configured. Refer to
Configuration Commands section.
TRM/CA/07/C (modulation characteristic), TRM/CA/09/C (carrier
frequency drift)
LO Freq (Carrier Frequency MHz) = 2402 to 2480
Power (Ext, Int) = gain of external amplifier (if present) and internal
amplifier. Ext value is specific to the design and Int value is 0 to
63 (Default = 50).
None
Use an RF Analyser to check out carrier.
This material is subject to CSR’s non-disclosure agreement.
© Copyright CSR Ltd 2001
TM
TXDATA4 Example Display
Page 13 of 56
Page 14
Receiver Only
Title RXDATA1
Summary Enables the receiver, at a designated frequency (LO Freq) with a
choice of low or high side modulation (
attenuation setting
(RX Attenuation ).
hi-side), and with a designated
BlueTest Instruction Manual
Note : TXDATA and RXDATA require the same
Bluetooth address in each module for
to receive data transmitted by
CFG_UAP_LAP to set the address used by the
BIST.
TXDATA. Use
RXDATA
Test Arguments LO Freq (Carrier Frequency MHz)= 2402 to 2480
Return data NP = number of packets
Exit Click on Reset Chip.
bc01-an -047b
The software counts the number of received packet and the number
of payloads with correctable errors .
The payload itself is thrown away . The time between receive slots and
report frequency can be set. Refer to Configuration Commands
section.
hi-side = 0 or 1 (default = 0)
RX Attenuation = 0 to 15 (default = 0)
NP = number of good packets,
NCP = number of corrected packets
RSSI = value as shown
True = RSSI is reliable, otherwise false
The numbers wrap, rather than being reset to 0.
© Copyright CSR Ltd 2001
This material is subject to CSR’s non-disclosure agreement.
TM
RXDATA1 example display
Page 14 of 56
Page 15
Title RXDATA2
Enables the receiver with a simplified hop sequence designated
by
Country Code, with a choice of low or high side modulation
(hi-side ) and with a designated attenuation setting (RX
Attenuation
BlueTest Instruction Manual
).
Summary
Related Test
Spec Name
Test Arguments
Return Data
Exit Click on Reset Chip.
The software counts the number of received packet s and the
number of payloads with correctable errors.
The payload itself is thrown away. The time between receive slots
and report frequency can be set. Refer to Configuration
Commands Section.
Standby mode spurious emissions (FCC test)
Country Code = 0 to 3 (default = 0)
hi-side = 0 or 1 (default = 0 )
RX Attenuation = 0 to 15 (default = 0)
NP = number of packets
NG = number of good packets
NCP = number of corrected packets
RSSI = value as shown
True = RSSI is reliable, otherwise false
The numbers wrap, rather than being reset to 0.
TM
RXDATA2 Example Display
bc01-an -047b
This material is subject to CSR’s non-disclosure agreement.
© Copyright CSR Ltd 2001
Page 15 of 56
Page 16
Title BIT ERR1
BlueTest Instruction Manual
Summary
Enables the receiver at a designated frequency (
choice of low or high side modulation (
attenuation setting
Returns a set of reports to the host:
g Number of data bits received (payload excluding FEC and CRC)
g Number of data bits that were in error. Assumes PRBS9 data
starting with 1FF in each packet
g Number of packets received
g Number of packets expected, based on txrx_freq (default
12500)
g Number of packets with header errors as reported by hardware
g Number of packets with CRC errors
g Number of packets with uncorrected errors (currently same as
CRC errors)
g Number of sync timeouts. Note that until a transmission is
received a long timeout is used, so this does not reflect the
number of packets expected
Each report has two unint32 values. First is value since last report,
second is summed over the last
1.6Mbits).
(RX Attenuation ).
hi-side) and with a designated
bits_count (default =
LO Freq) with a
TM
bc01-an -047b
Reports are sent according to
second ). The times between receive slots and report frequency can
be set, and the count reset. Refer to Configuration Commands
section.
report_freq set (default = 1
© Copyright CSR Ltd 2001
This material is subject to CSR’s non-disclosure agreement.
BIT ERR1 Example Display
Page 16 of 56
Page 17
Title BIT ERR1 (Continued)
BlueTest Instruction Manual
Related Test Spec
Name
Test Arguments
Note
Return Data Eight reports, each two uint32 values (refer to BIT ERR1 Summary).
Exit Click on Reset Chip.
RCV/CA/01/C and RCV/CA/02/C (sensitivity), RCV/CA/03/C (C/I
performance), RCV/CA/04/C (blocking performance), RCV/CA/05/C
(intermodulation performance), RCV/CA/06/C (maximum input level)
LO Freq (Carrier Frequency MHz) = 2402 to 2480
hi-side = 0 or 1 (default = 0)
RX Attenuation = 0 to 15 (default = 0)
With a second unit, execute
Execute
address on the Equipment Under Test (EUT) before executing
TXDATA1 then execute CFG UAP/LAP to set the same Bluetooth
CFG UAP/LAP to set the Bluetooth address.
BIT ERR1 .
TM
bc01-an -047b
This material is subject to CSR’s non-disclosure agreement.
© Copyright CSR Ltd 2001
Page 17 of 56