Swra 495 G
Swra 495 G
Swra 495 G
ABSTRACT
The CC26xx and CC13xx family is a low-power wireless MCU platform supporting multiple standards (that
is, Bluetooth® Low Energy, IEEE® 802.15.4, and proprietary RF protocols). The devices have integrated
24-MHz (CC13x0 and CC26x0) or 48-MHz (CC13x2 and CC26x2) and 32.768-kHz crystal oscillators TI
designed for use with low-cost quartz crystals. The 24/48-MHz oscillator (XOSC-HF) generates the
reference clock for the RF blocks and the MCU system. RF systems are dependent on accurate clocks for
correct operation. A deviation in clock frequency is reflected as a deviation in radio frequency. This
deviation can degrade RF performance, violate regulatory requirements, or lead to a nonfunctioning
system. In power-down mode, the high-frequency oscillator is typically turned off and a low-frequency
oscillator is the system clock. For time-synchronized protocols such as Bluetooth Low Energy, a tight
tolerance on the sleep clock enables longer time in low-power mode and reduced power consumption
important in battery-powered applications. For this low-frequency oscillator, typically a 32-kHz crystal
oscillator (XOSC-LF) is used.
The scope of this application report is to discuss the requirements and trade-offs of the crystal oscillators
for the CC26xx and CC13xx devices and provide information on how to select an appropriate crystal. This
document also presents steps to configure the device to operate with a given crystal. You must configure
the CC26xx and CC13xx based on the crystal used (that is, adjust the internal capacitor array to match
the loading capacitor of the crystal for the XOSC-HF). This application report also discusses some
measurement approaches that may be used to characterize certain performance metrics, including crystal
oscillator amplitude, and start-up time.
SWRA495G – December 2015 – Revised August 2019 Crystal Oscillator and Crystal Selection for the CC26xx and CC13xx Family 1
Submit Documentation Feedback of Wireless MCUs
Copyright © 2015–2019, Texas Instruments Incorporated
www.ti.com
Contents
1 Oscillator and Crystal Basics ............................................................................................... 3
2 Overview of CC26xx and CC13xx Crystal Oscillators ................................................................. 6
3 Selecting Crystals for the CC26xx and CC13xx ......................................................................... 7
4 PCB Layout of the Crystal ................................................................................................ 10
5 Measuring the Amplitude of the Oscillations of Your Crystal ........................................................ 11
6 Crystals for CC26xx and CC13xx ........................................................................................ 14
7 References .................................................................................................................. 16
List of Figures
1 Pierce Oscillator............................................................................................................. 3
2 Crystal Symbol and the Electrical Model of a Quartz Crystal .......................................................... 3
3 Simplified Block Diagram of the CC26xx and CC13xx High-Frequency Oscillator With Quartz Crystal ......... 6
4 Simplified Block Diagram of the 32.768-kHz Oscillator With Quartz Crystal ........................................ 7
5 Typical Frequency vs Temperature Curve for a 32.768-kHz Tuning Fork Crystal .................................. 8
6 Layout of the CC26xx EVM ............................................................................................... 11
7 Example Start-Up Time Plot .............................................................................................. 13
List of Tables
1 Crystal Parameters .......................................................................................................... 5
2 Using External Capacitor Results in Worse Frequency Stability Over Temperature ............................... 9
3 48-MHz Crystals Suitable for CC13x2 and CC26x2 ................................................................... 14
4 24-MHz Crystals Suitable for CC13x0 and CC26x0 ................................................................... 14
5 32.768 kHz Crystals Suitable for CC13xx and CC26xx ............................................................... 15
Trademarks
Bluetooth is a registered trademark of Bluetooth SIG, Inc.
IEEE is a registered trademark of Institute of Electrical and Electronics Engineers.
ZigBee is a registered trademark of ZigBee Alliance.
All other trademarks are the property of their respective owners.
2 Crystal Oscillator and Crystal Selection for the CC26xx and CC13xx Family SWRA495G – December 2015 – Revised August 2019
of Wireless MCUs Submit Documentation Feedback
Copyright © 2015–2019, Texas Instruments Incorporated
www.ti.com Oscillator and Crystal Basics
R1
X1
CL1 CL2
X1
LM RM CM
Figure 2. Crystal Symbol and the Electrical Model of a Quartz Crystal
SWRA495G – December 2015 – Revised August 2019 Crystal Oscillator and Crystal Selection for the CC26xx and CC13xx Family 3
Submit Documentation Feedback of Wireless MCUs
Copyright © 2015–2019, Texas Instruments Incorporated
Oscillator and Crystal Basics www.ti.com
4 Crystal Oscillator and Crystal Selection for the CC26xx and CC13xx Family SWRA495G – December 2015 – Revised August 2019
of Wireless MCUs Submit Documentation Feedback
Copyright © 2015–2019, Texas Instruments Incorporated
www.ti.com Oscillator and Crystal Basics
where:
gm — is the transconductance of the active element in the oscillator
CL — is the load capacitance
You can also find the negative resistance of the circuit by introducing a resistor in series with the crystal.
To avoid parasitic effects, TI recommends using a 0201 resistor for this task. The threshold of the sum of
the extra 0201 external resistance and ESR or the crystal where the oscillator is unable to start up is
approximately the same as the circuit negative resistance.
SWRA495G – December 2015 – Revised August 2019 Crystal Oscillator and Crystal Selection for the CC26xx and CC13xx Family 5
Submit Documentation Feedback of Wireless MCUs
Copyright © 2015–2019, Texas Instruments Incorporated
Overview of CC26xx and CC13xx Crystal Oscillators www.ti.com
Feedback
INV AMP
CL_INT x 2 CL_INT x 2
X24M CP X24P
CC26xx/CC13xx
CL1 CL2
X1
Figure 3. Simplified Block Diagram of the CC26xx and CC13xx High-Frequency Oscillator
With Quartz Crystal
The 24-MHz or 48-MHz crystal is controlled with a complex control loop described in Section 2.2 and
Section 2.3.
6 Crystal Oscillator and Crystal Selection for the CC26xx and CC13xx Family SWRA495G – December 2015 – Revised August 2019
of Wireless MCUs Submit Documentation Feedback
Copyright © 2015–2019, Texas Instruments Incorporated
www.ti.com Overview of CC26xx and CC13xx Crystal Oscillators
Feedback
INV AMP
X32K_Q1 X32K_Q2
CC26xx/CC13xx
CP
CL1 X1 CL2
Figure 4. Simplified Block Diagram of the 32.768-kHz Oscillator With Quartz Crystal
SWRA495G – December 2015 – Revised August 2019 Crystal Oscillator and Crystal Selection for the CC26xx and CC13xx Family 7
Submit Documentation Feedback of Wireless MCUs
Copyright © 2015–2019, Texas Instruments Incorporated
Selecting Crystals for the CC26xx and CC13xx www.ti.com
-200
-250
-300
-350
-400
-450
-50 0 50 100 150
Temperature (qC) D003
Figure 5. Typical Frequency vs Temperature Curve for a 32.768-kHz Tuning Fork Crystal
8 Crystal Oscillator and Crystal Selection for the CC26xx and CC13xx Family SWRA495G – December 2015 – Revised August 2019
of Wireless MCUs Submit Documentation Feedback
Copyright © 2015–2019, Texas Instruments Incorporated
www.ti.com Selecting Crystals for the CC26xx and CC13xx
Table 2. Using External Capacitor Results in Worse Frequency Stability Over Temperature
9-pF Internal CL Minimum Internal CL
Frequency variation –40°C to +90°C Set by crystal Set by crystal + 5 ppm
Voltage accuracy, ppm/V 6.9 9
The following presents the relative advantages of crystals with different CL values.
The disadvantages of lower CL are as follows:
• Crystals with < 7-pF CL are more difficult to source with short lead times.
• Frequency becomes more sensitive to changes in board capacitance as CL decreases. It is possible to
meet frequency stability specifications with a CL as low as 3 pF.
• Lowering CL results in degraded RF phase noise.
Advantages of lower CL are as follows:
æ 1 ö
¥ç ÷
• Lower CL causes a much faster start-up time. (Start-up time goes as ç C 2 ÷)
è Lø
• Lower CL causes a faster amplitude control loop response time.
• Lower CL makes it easier to use small size crystals (2.0 × 1.6 and so on) and maintain a start-up time
at or less than 400 µs. Start-up time worsens with smaller crystals due to an increase in LM.
NOTE: Crystals with higher ESR typically result in longer start-up times than crystals with lower
ESR. An higher-load capacitance decreases the negative resistance of the oscillator and
increases the start-up time.
SWRA495G – December 2015 – Revised August 2019 Crystal Oscillator and Crystal Selection for the CC26xx and CC13xx Family 9
Submit Documentation Feedback of Wireless MCUs
Copyright © 2015–2019, Texas Instruments Incorporated
Selecting Crystals for the CC26xx and CC13xx www.ti.com
NOTE: Do not use the internal DC-DC when applying a probe to the 24-MHz crystal oscillator pins.
Applying the probe can lead to the oscillator stopping and may lead to the internal DC-DC
producing a high-output voltage that may damage the device.
10 Crystal Oscillator and Crystal Selection for the CC26xx and CC13xx Family SWRA495G – December 2015 – Revised August 2019
of Wireless MCUs Submit Documentation Feedback
Copyright © 2015–2019, Texas Instruments Incorporated
www.ti.com Measuring the Amplitude of the Oscillations of Your Crystal
Figure 6 shows the top layer of the layout of the CC26xx reference design. The bottom layer is a solid
ground plane. For more details, see the SimpleLink™ CC2650 EVM Kit 4XD (CC2650EM-4XD) v1.0.3
Design Files. The same crystal layout can be used with CC13xx device.
Two functions exist in CC26XX/13XXWARE for measuring the amplitude of the oscillations of the crystal,
and comparing this amplitude to the expected amplitude. These functions are as follows:
• uint32_t OSCHF_DebugGetCrystalAmplitude( void );
• uint32_t OSCHF_DebugGetExpectedAvarageCrystalAmplitude( void );
The first function inserted into a piece of code returns the amplitude of the crystal in mV. The second
function returns the expected oscillation amplitude, also in mV. These are debug functions only. The first
function uses an on-chip ADC to measure the amplitude of the crystal. If these functions return greatly
different values, the crystal may have a problem. The uncertainty of the first function is ± 50 mV; a 50 mV
deviation from the expected value is not cause for concern.
SWRA495G – December 2015 – Revised August 2019 Crystal Oscillator and Crystal Selection for the CC26xx and CC13xx Family 11
Submit Documentation Feedback of Wireless MCUs
Copyright © 2015–2019, Texas Instruments Incorporated
Measuring the Amplitude of the Oscillations of Your Crystal www.ti.com
if (OSCClockSourceGet(OSC_SRC_CLK_HF) != OSC_RCOSC_HF) {
OSCClockSourceSet(OSC_SRC_CLK_HF, OSC_RCOSC_HF);
while (!OSCHfSourceReady());
OSCHfSourceSwitch();
}
while((HWREG(AUX_DDI0_OSC_BASE+DDI_0_OSC_O_STAT0)&DDI_0_OSC_STAT0_SCLK_LF_SRC_XOSCLF)!=DDI_0_OSC_S
TAT0_SCLK_LF_SRC_XOSCLF) {};
State = HWREG(GPIO_BASE+GPIO_O_DIN31_0)&GPIO_DIO_24_MASK;
PrevState=State;
while(State != 0 && PrevState !=GPIO_DIO_24_MASK )//Wait for negedge of XOSC_LF
{
PrevState=State;
State = HWREG(GPIO_BASE+GPIO_O_DIN31_0)&GPIO_DIO_24_MASK;
}
PrevState=0;
OSCHF_TurnOnXosc();
while
((HWREG(AUX_DDI0_OSC_BASE+DDI_0_OSC_O_STAT0)&DDI_0_OSC_STAT0_PENDINGSCLKHFSWITCHING)!=DDI_0_OSC_ST
AT0_PENDINGSCLKHFSWITCHING)
{//wait for pending bit
State = HWREG(GPIO_BASE+GPIO_O_DIN31_0)&GPIO_DIO_24_MASK;
}
return 65536*Count+(65536*PollCount)/PrevPollCount;
//(65536*PollCount)/PrevPollCount is to get the fractional part of XOSC_LF cycles remaining
uncounted by Count
12 Crystal Oscillator and Crystal Selection for the CC26xx and CC13xx Family SWRA495G – December 2015 – Revised August 2019
of Wireless MCUs Submit Documentation Feedback
Copyright © 2015–2019, Texas Instruments Incorporated
www.ti.com Measuring the Amplitude of the Oscillations of Your Crystal
70
60
40
30
20
10
0
-60 -40 -20 0 20 40 60 80 100
Temperature (q C) D002
SWRA495G – December 2015 – Revised August 2019 Crystal Oscillator and Crystal Selection for the CC26xx and CC13xx Family 13
Submit Documentation Feedback of Wireless MCUs
Copyright © 2015–2019, Texas Instruments Incorporated
Crystals for CC26xx and CC13xx www.ti.com
14 Crystal Oscillator and Crystal Selection for the CC26xx and CC13xx Family of SWRA495G – December 2015 – Revised August 2019
Wireless MCUs Submit Documentation Feedback
Copyright © 2015–2019, Texas Instruments Incorporated
www.ti.com Crystals for CC26xx and CC13xx
SWRA495G – December 2015 – Revised August 2019 Crystal Oscillator and Crystal Selection for the CC26xx and CC13xx Family of 15
Submit Documentation Feedback Wireless MCUs
Copyright © 2015–2019, Texas Instruments Incorporated
References www.ti.com
7 References
1. Part 15.4: Wireless Medium Access Control (MAC) and Physical Layer (PHY) Specifications for Low-
Rate Wireless Personal Area Networks (WPANs), 802.15.4-2006,
http://standards.ieee.org/getieee802/download/802.15.4-2006.pdf
2. Bluetooth Core Specifications, Version 4.2, https://www.bluetooth.org/en-us/specification/adopted-
specifications
3. Texas Instruments: CC2650 SimpleLink™ Multistandard Wireless MCU
4. Texas Instruments: SimpleLink™ CC2650 EVM Kit 4XD (CC2650EM-4XD) v1.0.3 Design Files
5. Texas Instruments: CC13x0, CC26x0 SimpleLink™ Wireless MCU Technical Reference Manual
16 Crystal Oscillator and Crystal Selection for the CC26xx and CC13xx Family SWRA495G – December 2015 – Revised August 2019
of Wireless MCUs Submit Documentation Feedback
Copyright © 2015–2019, Texas Instruments Incorporated
www.ti.com Revision History
Revision History
NOTE: Page numbers for previous revisions may differ from page numbers in the current version.
TI PROVIDES TECHNICAL AND RELIABILITY DATA (INCLUDING DATASHEETS), DESIGN RESOURCES (INCLUDING REFERENCE
DESIGNS), APPLICATION OR OTHER DESIGN ADVICE, WEB TOOLS, SAFETY INFORMATION, AND OTHER RESOURCES “AS IS”
AND WITH ALL FAULTS, AND DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION ANY
IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT OF THIRD
PARTY INTELLECTUAL PROPERTY RIGHTS.
These resources are intended for skilled developers designing with TI products. You are solely responsible for (1) selecting the appropriate
TI products for your application, (2) designing, validating and testing your application, and (3) ensuring your application meets applicable
standards, and any other safety, security, or other requirements. These resources are subject to change without notice. TI grants you
permission to use these resources only for development of an application that uses the TI products described in the resource. Other
reproduction and display of these resources is prohibited. No license is granted to any other TI intellectual property right or to any third
party intellectual property right. TI disclaims responsibility for, and you will fully indemnify TI and its representatives against, any claims,
damages, costs, losses, and liabilities arising out of your use of these resources.
TI’s products are provided subject to TI’s Terms of Sale (www.ti.com/legal/termsofsale.html) or other applicable terms available either on
ti.com or provided in conjunction with such TI products. TI’s provision of these resources does not expand or otherwise alter TI’s applicable
warranties or warranty disclaimers for TI products.
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2019, Texas Instruments Incorporated