Texas Instruments CC13 Series Application Report Download Page 4

Antenna Diversity Patch

www.ti.com

4

SWRA523B – September 2016 – Revised March 2017

Submit Documentation Feedback

Copyright © 2016–2017, Texas Instruments Incorporated

CC13xx Antenna Diversity

2.2

Automatic Gain Control (AGC)

The antenna diversity algorithm has a dedicated automatic gain control (AGC) (ANT_DIV AGC).

There is no gain adjustment during a preamble search. The AGC performs one front-end gain adjustment
when entering the Sync Search state (see

Figure 1

) and then uses the RSSI from the selected antenna to

calculate the optimal RF gain setting.

The user can change the signal level where the AGC starts to reduce the front-end gain by programming
the AGC RSSI reference level (

AgcRssiRef

) (see

Table 3

). The AGC uses the measured RSSI and the

programmed RSSI reference level to calculate the AGC_ERROR and optimum RF gain level, as shown in

Equation 1

.

AGC_ERROR = RSSI – AgcRssiRef_dBm

(1)

2.3

Recommended Operating Limits

The antenna diversity algorithm is flexible when it comes to data rate, but has a limitation related to the
minimum preamble length.

Equation 2

shows the calculation for the minimum preamble length.

Minimum Preamble Length = 4 ×

PreTimeout

+ 8 [symbols]

(2)

The worst-case scenario occurs when a signal is received at the sensitivity level. For example, if the first
antenna misses the desired preamble and the signal level is too low for the second antenna, two preamble
time-outs have occurred without receiving a preamble hit. Then the receiver gets a preamble hit and must
check the other antenna. This is the theory behind the worst-case scenario of 4-preamble time-outs. In
addition, it is necessary to add the internal hardware delay.

Thus, for the default setting with

PreTimeout

= 10 symbols, the minimum preamble length is 6 bytes.

Because there is no AGC during antenna switching, the algorithm might not select the antenna with
highest RSSI if both antenna signals are above approximately –50 dBm.

2.4

Register Overrides

SmartRF™ Studio

[2]

should be used to generate the register settings. However, three of the radio

register settings from the SmartRF Studio must be removed (see

Table 1

when using the antenna

diversity patch and one must be added (see

Table 2

).

Table 1. Register Overrides to be Removed from SmartRF™ Studio Code Export

Override

Comment

HW_REG_OVERRIDE(0x6084,0xXXXX)

Remove from SmartRF Studio code export

HW_REG_OVERRIDE(0x6088,0xXXXX)

Remove from SmartRF Studio code export

HW_REG_OVERRIDE(0x608C,0xXXXX)

Remove from SmartRF Studio code export

Table 2

lists the radio register settings from the SmartRF Studio that must be changed to use the antenna

diversity patch.

Table 2. Register Override to be Added to the SmartRF™ Studio Code Export

Override

Comment

MCE_RFE_OVERRIDE(1, 0, 0, 1, 0, 0)

Run the MCE and RFE patches

[4]

contains a smartrf_settings.c file that has the complete override list to be used with the patch.

Summary of Contents for CC13 Series

Page 1: ...8 4 PER vs Input Power Level 8 Byte Preamble 6 dB Attenuator on One Antenna 9 5 PER vs Input Power Level 6 Byte Preamble 6 dB Attenuator on One Antenna 9 6 PER vs Input Power Level 8 Byte Preamble 6...

Page 2: ...ternal Switch The antenna diversity algorithm controls an external antenna using an internal signal from the RF Core RFC_SMI_CL_OUT The RFC_SMI_CL_OUT signal can be routed to any available digital I O...

Page 3: ...oggle the switch PQT1 1 PreTimeout 1 and PQT1 0 CsQual 1 and CS 0 PQT2 1 PQT2 0 Yes No S y n cT im e o u t 1 www ti com Antenna Diversity Patch 3 SWRA523B September 2016 Revised March 2017 Submit Docu...

Page 4: ...ignal level is too low for the second antenna two preamble time outs have occurred without receiving a preamble hit Then the receiver gets a preamble hit and must check the other antenna This is the t...

Page 5: ...icant bytes of the register address 52B0 52B4 6088 or 6090 YYYY is the value to write As an example the following register write sets the carrier sense threshold to 111 dBm HW_REG_OVERRIDE 0x6090 0x0A...

Page 6: ...has been to default location 1 The smartrf_settings c file must be replaced with the one included with this document 4 2 The following defines must be added define PINCC26XX_MUX_RFC_SMI_CL_OUT 0x37 d...

Page 7: ...March 2017 Submit Documentation Feedback Copyright 2016 2017 Texas Instruments Incorporated CC13xx Antenna Diversity For the transmitter use the SmartRF Studio and the 50 kbps setting with the preambl...

Page 8: ...e 25 kHz deviation 868 MHz 6 or 8 byte preamble 4 byte sync word 0x930B 51DE Carrier sense CS threshold set to 111 dBm 4 2 Conducted Measurements 4 2 1 Sensitivity Table 5 lists the sensitivity measur...

Page 9: ...6 2017 Texas Instruments Incorporated CC13xx Antenna Diversity 4 2 2 2 8 Byte Preamble Figure 4 shows the PER versus the input power level with an 8 byte preamble and a 6 dB attenuator on one antenna...

Page 10: ...mber 2016 Revised March 2017 Submit Documentation Feedback Copyright 2016 2017 Texas Instruments Incorporated CC13xx Antenna Diversity 4 2 3 2 8 Byte Preamble Figure 6 shows the PER versus the input p...

Page 11: ...t the same time and with the same fading conditions Figure 7 shows a block diagram of the test setup and Figure 8 shows the test board Figure 7 Block Diagram of Antenna Diversity Test Setup Notes with...

Page 12: ...m the 0x4004 5178 register see Table 4 The following code was used to read the register and to track the number of packets that were received on each antenna RF_Stat status RF_runImmediateCmd rfHandle...

Page 13: ...he PER for Test 1 Table 6 Test 1 PER for Boards Using ANT1 ANT2 or Diversity DIV Antenna Number of Received Packets Number of Sent Packets PER ANT1 2647 3000 11 8 ANT2 2078 3000 30 7 DIV 2672 3000 10...

Page 14: ...ANT1 46 632 3000 78 9 42 1551 2000 22 5 38 1971 2000 1 5 ANT2 46 2696 3000 10 1 42 1900 2000 5 0 38 1983 2000 0 8 DIV 46 2751 3000 8 3 42 1944 2000 2 8 38 1999 2000 0 In this test an increase in TX p...

Page 15: ...016 2017 Texas Instruments Incorporated CC13xx Antenna Diversity 5 References 1 Texas Instruments CC13xxEM 7793_4L Reference Design 2 Texas Instruments SmartRF Studio 7 3 Texas Instruments SimpleLink...

Page 16: ...History NOTE Page numbers for previous revisions may differ from page numbers in the current version Changes from December 23 2016 to March 31 2017 Page Added SDK and reference information to Section...

Page 17: ...TI Resource NO OTHER LICENSE EXPRESS OR IMPLIED BY ESTOPPEL OR OTHERWISE TO ANY OTHER TI INTELLECTUAL PROPERTY RIGHT AND NO LICENSE TO ANY TECHNOLOGY OR INTELLECTUAL PROPERTY RIGHT OF TI OR ANY THIRD...

Reviews: