Texas Instruments CC2650DK Benutzerhandbuch

Seite von 1570
Bluetooth Low Energy
Table 23-128. End of Generic RX Operation (continued)
Condition
Status Code
Result
No space in RX buffer to store received packet
BLE_ERROR_RXBUF
False
Illegal value of channel
BLE_ERROR_PAR
Abort
23.6.4.8 PHY Test Transmit Command
The test packet transmitter command may be used to transmit physical layer test packets.
A test packet transmitter operation is started by a CMD_BLE_TX_TEST command. In the command
structure, it has a pParams parameter of the type defined in
and a pOutput parameter of the
type defined in
At the start of a test TX operation, the radio CPU waits for the start trigger,
then programs the frequency based on the channel parameter of the command structure. The radio CPU
sets up the test mode packet access address and uses the CRC initialization value 0x555555. The
whitener is set up as defined in the whitening parameter. To produce PHY test packets conforming to the
BLE Test Specification, the whitener must be disabled.
The radio CPU transmits pParams->numPackets packets, then ends the operation. If pParams-
>numPackets is 0, transmission continues until the operation ends for another reason (timeout, stop, or
abort command). The time (number of radio timer ticks) between the start of each packet is given by
pParams->period. If this time is smaller than the duration of a packet, each packet is transmitted as soon
as possible. Each packet is assembled as follows by the radio CPU. The first byte is a header byte,
containing the value of pParams ->packetType, provided this one of the values listed in
. The
next byte is the length byte, which is the value of pParams->payloadLength, and followed by a number of
payload bytes which are as listed in
. The number of payload bytes is equal to pParams-
>payloadLength. If pParams->packetType is 0, the bytes are from the PRBS9 sequence. Otherwise, all
the bytes are the same, as listed in
. A 3-byte CRC, according to the BLE specification, is
appended.
Table 23-129. Supported PHY Test Packet Types
Value of Packet Type
Transmitted Bytes
0
PRBS9 sequence
1
Repeated 0x0F
2
Repeated 0x55
3
PRBS15 sequence
4
Repeated 0xFF
5
Repeated 0x00
6
Repeated 0xF0
7
Repeated 0xAA
The PRBS15 payload type defined in the BLE standard, which corresponds to payload type 3, is
implemented using the polynomial x
15
+ x
14
+ 1. The initialization is taken from the radio timer for the first
packet transmitted, and not re-initialized for subsequent packets.
If pParams->config.overrideDefault is 1, the packet is non-standard. The header contains the value given
in pParams->packetType, and each byte transmitted is as given in pParams->byteVal. If pParams-
>config.bUsePrbs9 is 1, the sequence is generated by XOR-ing each byte of the PRBS9 sequence used
for packet type 0 with pParams ->byteVal. If pParams->config.bUsePrbs15 is 1, the sequence is
generated by XOR-ing each byte of the PRBS15 sequence used for packet type 3 with pParams->byteVal.
If either of the PRBS sequences is used, whitening is disabled regardless of the setting in the whitening
parameter.
1544
Radio
SWCU117A – February 2015 – Revised March 2015
Copyright © 2015, Texas Instruments Incorporated