0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
CC1021RHH

CC1021RHH

  • 厂商:

    BURR-BROWN(德州仪器)

  • 封装:

    VQFN32_EP

  • 描述:

    IC RF TXRX FOR NARROWBAND 32QFN

  • 数据手册
  • 价格&库存
CC1021RHH 数据手册
Product Folder Order Now Technical Documents Tools & Software Support & Community CC1021 SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 CC1021 Single-Chip Low-Power RF Transceiver for Narrowband Systems Not Recommended for New Designs NRND 1 Device Overview 1.1 Features 1 • True Single-Chip UHF RF Transceiver • Frequency Range 402 MHz to 470 MHz and 804 MHz to 930 MHz • High Sensitivity – Up to –112 dBm for 38.4 kHz Receiver Channel Filter Bandwidth – Up to –106 dBm for 102.4 kHz Receiver Channel Filter Bandwidth • Programmable Output Power • Low Current Consumption – RX: 19.9 mA • Low Supply Voltage – From 2.3 V to 3.6 V • Very Few External Components Required • Small Size – QFN 32 Package 1.2 • • Pb-Free Package Digital RSSI and Carrier Sense Indicator Data Rate Up to 153.6 kBaud OOK, FSK, and GFSK Data Modulation Integrated Bit Synchronizer Image Rejection Mixer Programmable Frequency Automatic Frequency Control (AFC) Suitable for Frequency Hopping Systems Suited for Systems Targeting Compliance With EN 300 220 and FCC CFR47 Part 15 • Easy-to-Use Software for Generating the CC1021 Configuration Data • Fully Compatible With CC1020 for Receiver Channel Filter Bandwidths of 38.4 kHz and Higher Applications Low-Power UHF Wireless Data Transmitters and Receivers With Channel Spacings of 50 kHz or Higher 433-, 868-, 915-, 930-MHz ISM/SRD Band Systems 1.3 • • • • • • • • • • • • • • • AMR – Automatic Meter Reading Wireless Alarm and Security Systems Home Automation Low-Power Telemetry Automotive (RKE/TPMS) Description The CC1021 device is a true single-chip UHF transceiver designed for very low power and very low voltage wireless applications. The circuit is mainly intended for the ISM (Industrial, Scientific and Medical) and SRD (Short Range Device) frequency bands at 433 MHz, 868 MHz, and 915 MHz, but can easily be programmed for multichannel operation at other frequencies in the 402- to 470-MHz and 804- to 930-MHz range. The CC1021 device is especially suited for narrowband systems with channel spacing of 50 kHz and higher complying with EN 300 220 and CC CFR47 part 15. The CC1021 device main operating parameters can be programmed through a serial bus, thus making the CC1021 device a very flexible and easy to use transceiver. In a typical system, the CC1021 device is used together with a microcontroller and a few external passive components. Table 1-1. Device Information (1) (1) PART NUMBER PACKAGE BODY SIZE (NOM) CC1021 VQFNP (32) 7.00 mm × 7.00 mm For more information, see Section 8, Mechanical Packaging and Orderable Information. 1 An IMPORTANT NOTICE at the end of this data sheet addresses availability, warranty, changes, use in safety-critical applications, intellectual property matters and other important disclaimers. PRODUCTION DATA. Not Recommended for New Designs NRND CC1021 SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 1.4 www.ti.com Functional Block Diagram Figure 1-1 shows the system block diagram of the CC1021 device. ADC LNA 2 LNA ADC Multiplexer 0 90 - Digital RSSI - Gain Control - Image Suppression - Channel Filtering - Demodulation LOCK :2 DIO 0 90 :2 FREQ SYNTH CONTROL LOGIC RF_IN DIGITAL DEMODULATOR DIGITAL INTERFACE TO mC DCLK PDO PDI PCLK Power Control PSEL DIGITAL MODULATOR Multiplexer RF_OUT - Modulation - Data shaping - Power Control PA BIAS PA_EN LNA_EN R_BIAS XOSC XOSC_Q1 XOSC_Q2 VC CHP_OUT Figure 1-1. Functional Block Diagram 2 Device Overview Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 Not Recommended for New Designs NRND CC1021 www.ti.com SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 Table of Contents 1 2 3 Device Overview ......................................... 1 5.7 Data Rate Programming ............................ 22 1.1 Features .............................................. 1 5.8 Frequency Programming ............................ 24 1.2 Applications ........................................... 1 5.9 Receiver ............................................. 25 1.3 Description ............................................ 1 5.10 Transmitter .......................................... 38 1.4 Functional Block Diagram ............................ 2 5.11 Input and Output Matching and Filtering ............ 40 Revision History ......................................... 3 Terminal Configuration and Functions .............. 4 5.12 Frequency Synthesizer .............................. 44 5.13 VCO and LNA Current Control ...................... 48 .......................................... 4 3.2 Pin Configuration ..................................... 4 Specifications ............................................ 6 4.1 Absolute Maximum Ratings .......................... 6 4.2 ESD Ratings .......................................... 6 4.3 Recommended Operating Conditions ................ 6 4.4 RF Transmit .......................................... 6 4.5 RF Receive ........................................... 8 4.6 RSSI / Carrier Sense ................................ 10 4.7 Intermediate Frequency (IF) ........................ 11 4.8 Crystal Oscillator .................................... 11 4.9 Frequency Synthesizer .............................. 12 4.10 Digital Inputs / Outputs .............................. 12 4.11 Current Consumption ............................... 13 5.14 Power Management ................................. 48 5.15 On-Off Keying (OOK) 5.16 Crystal Oscillator .................................... 51 5.17 Built-in Test Pattern Generator 5.18 Interrupt on Pin DCLK ............................... 54 5.19 PA_EN and LNA_EN Digital Output Pins ........... 54 5.20 System Considerations and Guidelines ............. 55 5.21 Antenna Considerations............................. 58 5.22 Configuration Registers 3.1 4 Pin Diagram 4.12 5 6 7 Detailed Description ................................... 15 5.1 5.2 5.3 5.4 5.5 5.6 ............................................ Functional Block Diagram ........................... Configuration Overview ............................. Microcontroller Interface............................. 4-wire Serial Configuration Interface ................ Signal Interface ...................................... Overview 15 15 16 17 8 ..................... ............................. 50 53 59 Applications, Implementation, and Layout........ 78 6.1 Thermal Resistance Characteristics for VQFNP Package ............................................. 14 ............................... Application Information .............................. 78 ............................... ............................. Device and Documentation Support ............... 7.1 Device Support ...................................... 7.2 Documentation Support ............................. 7.3 Trademarks.......................................... 7.4 Electrostatic Discharge Caution ..................... 7.5 Export Control Notice ............................... 7.6 Glossary ............................................. 6.2 Design Requirements 80 6.3 PCB Layout Guidelines 81 82 82 82 83 83 83 83 18 Mechanical Packaging and Orderable Information .............................................. 83 20 8.1 Packaging Information .............................. 83 2 Revision History Changes from August 20, 2016 to November 30, 2018 • • Page Global: Changed upper frequency from 960 MHz to 930 MHz ................................................................. 1 Global: Removed references to ARIB STD-T96 .................................................................................. 1 Revision History Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 3 Not Recommended for New Designs NRND CC1021 SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 www.ti.com 3 Terminal Configuration and Functions 3.1 Pin Diagram Figure 3-1 shows pin names and locations for the CC1021 device. AGND AD_REF AVDD AVDD CHP_OUT DGND PSEL DVDD 32 31 30 29 28 27 26 25 PCLK 1 24 VC PDI 2 23 AVDD PDO 3 22 AVDD DGND 4 21 RF_OUT DVDD 5 20 AVDD DGND 6 19 RF_IN DCLK 7 18 AVDD DIO 8 17 R_BIAS 9 10 11 12 13 14 15 16 AVDD PA_EN AVDD LNA_EN AVDD XOSC_Q1 XOSC_Q2 LOCK AGND Exposed die attached pad Figure 3-1. Package 7-mm × 7-mm VQFNP (Top View) 3.2 Pin Configuration Table 3-1. Pin Attributes (1) (2) (1) (2) 4 PIN NO. PIN NAME TYPE DESCRIPTION — AGND Ground (analog) Exposed die attached pad. Must be soldered to a solid ground plane as this is the ground connection for all analog modules. See Section 6.3 for more details. 1 PCLK Digital input Programming clock for SPI configuration interface Programming data input for SPI configuration interface 2 PDI Digital input 3 PDO Digital output 4 DGND Ground (digital) Ground connection (0 V) for digital modules and digital I/O 5 DVDD Power (digital) Power supply (3 V typical) for digital modules and digital I/O 6 DGND Ground (digital) Ground connection (0 V) for digital modules (substrate) 7 DCLK Digital output 8 DIO Digital input/output 9 LOCK Digital output PLL Lock indicator, active low. Output is asserted (low) when PLL is in lock. The pin can also be used as a general digital output, or as receive data output in synchronous NRZ/Manchester mode 10 XOSC_Q1 Analog input Crystal oscillator or external clock input 11 XOSC_Q2 Analog output 12 AVDD Power (analog) Power supply (3 V typical) for crystal oscillator 13 AVDD Power (analog) Power supply (3 V typical) for the IF VGA 14 LNA_EN Digital output General digital output. Can be used for controlling an external LNA if higher sensitivity is needed. 15 PA_EN Digital output General digital output. Can be used for controlling an external PA if higher output power is needed. Programming data output for SPI configuration interface Clock for data in both receive and transmit mode Can be used as receive data output in asynchronous mode Data input in transmit mode; data output in receive mode Can also be used to start power-up sequencing in receive Crystal oscillator DCLK, DIO and LOCK are high-impedance (3-state) in power down (BIAS_PD = 1 in the MAIN register). The exposed die attached pad must be soldered to a solid ground plane as this is the main ground connection for the chip. Terminal Configuration and Functions Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 Not Recommended for New Designs NRND CC1021 www.ti.com SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 Table 3-1. Pin Attributes(1)(2) (continued) PIN NO. PIN NAME TYPE 16 AVDD Power (analog) DESCRIPTION 17 R_BIAS Analog output 18 AVDD Power (analog) 19 RF_IN RF Input 20 AVDD Power (analog) 21 RF_OUT RF output 22 AVDD Power (analog) Power supply (3 V typical) for LO buffers, mixers, prescaler, and first PA stage 23 AVDD Power (analog) Power supply (3 V typical) for VCO 24 VC Analog input 25 AGND Ground (analog) Ground connection (0 V) for analog modules (guard) 26 AD_REF Power (analog) 3 V reference input for ADC 27 AVDD Power (analog) Power supply (3 V typical) for charge pump and phase detector 28 CHP_OUT Analog output 29 AVDD Power (analog) Power supply (3 V typical) for ADC 30 DGND Ground (digital) Ground connection (0 V) for digital modules (guard) 31 DVDD Power (digital) Power supply connection (3 V typical) for digital modules 32 PSEL Digital input Power supply (3 V typical) for global bias generator and IF anti-alias filter Connection for external precision bias resistor (82 kΩ, ±1%) Power supply (3 V typical) for LNA input stage RF signal input from antenna (external AC-coupling) Power supply (3 V typical) for LNA RF signal output to antenna VCO control voltage input from external loop filter PLL charge pump output to external loop filter Programming chip select, active low, for configuration interface. Internal pullup resistor. Terminal Configuration and Functions Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 5 Not Recommended for New Designs NRND CC1021 SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 www.ti.com 4 Specifications Absolute Maximum Ratings (1) 4.1 over operating free-air temperature range (unless otherwise noted) PARAMETER MIN MAX Supply voltage, VDD –0.3 5 Voltage on any pin –0.3 UNIT V VDD + 0.3, max 5.0 V Input RF level 10 dBm Package body temperature 260 °C Humidity non-condensing 5% 85% Storage temperature range, Tstg –50 150 (1) (2) CONDITION All supply pins must have the same voltage Norm: IPC/JEDEC J-STD-020 (2) °C Stresses beyond those listed under absolute maximum ratings may cause permanent damage to the device. These are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated under recommended operating conditions is not implied. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability. The reflow peak soldering temperature (body temperature) is specified according to IPC/JEDEC J-STD_020 “Moisture/Reflow Sensitivity Classification for Nonhermetic Solid State Surface Mount Devices”. 4.2 ESD Ratings VESD Electrostatic discharge (ESD) performance: VALUE UNIT All pads except RF Human Body Model (HBM), per ANSI/ESDA/JEDEC JS001 (1) (2) RF Pads Charged Device Model (CDM) (1) (2) 4.3 ±1 kV ±0.4 kV 250 V JEDEC document JEP155 states that 500-V HBM allows safe manufacturing with a standard ESD control process. Manufacturing with less than 500-V HBM is possible with the necessary precautions. According to JEDEC STD 22, method A114, Human Body Model Recommended Operating Conditions over operating free-air temperature range (unless otherwise noted) MIN RF Frequency Range MAX UNIT CONDITION 402 TYP 470 MHz Programmable in < 300 Hz steps Programmable in < 600 Hz steps 804 930 MHz Operating ambient temperature range –40 85 °C Supply voltage 2.3 3.6 V 4.4 3.0 The same supply voltage should be used for digital (DVDD) and analog (AVDD) power. RF Transmit All measurements were performed using the two-layer PCB CC1020EMX reference design. See Figure 6-1. The electrical specifications given for 868 MHz are also applicable for 902 to 928 MHz. TA = 25°C, AVDD = DVDD = 3.0 V, fC = 14.7456 MHz if nothing else stated. PARAMETER Transmit data rate Binary FSK frequency separation 6 MIN TYP MAX UNIT CONDITION Minimum data rate for OOK is 2.4 kBaud NRZ or Manchester encoding can be used. 153.6 kBaud equals 153.6 kbps using NRZ coding and 76.8 kbps using Manchester coding. See Section 5.4.2 for details The data rate is programmable. See Section 5.7 for details. 0.45 153.6 kBaud in 402 to 470 MHz range 0 108 kHz in 804 to 930 MHz range 0 216 kHz Specifications 108/216 kHz is the maximum specified separation at 1.84 MHz reference frequency. Larger separations can be achieved at higher reference frequencies. Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 Not Recommended for New Designs NRND CC1021 www.ti.com SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 RF Transmit (continued) All measurements were performed using the two-layer PCB CC1020EMX reference design. See Figure 6-1. The electrical specifications given for 868 MHz are also applicable for 902 to 928 MHz. TA = 25°C, AVDD = DVDD = 3.0 V, fC = 14.7456 MHz if nothing else stated. PARAMETER Output power Output power tolerance Harmonics, radiated CW Adjacent channel power (GFSK) Occupied bandwidth (99.5%,GFSK) Modulation bandwidth, 868 MHz MIN TYP MAX UNIT CONDITION Delivered to 50 Ω single-ended load. The output power is programmable and should not be programmed to exceed +10/+5 dBm at 433/868 MHz under any operating conditions. See Section 5.11 for details. 433 MHz –20 to +10 dBm 868 MHz –20 to +5 dBm At 2.3 V, +85°C –4 dB At 3.6 V, –40°C 3 dB 2nd harmonic, 433 MHz, +10 dBm –50 dBc 3rd harmonic, 433 MHz, +10 dBm –50 dBc 2nd harmonic, 868 MHz, +5 dBm –50 dBc 3rd harmonic, 868 MHz, +5 dBm –50 dBc 433 MHz –46 dBc 868 MHz –42 dBc 433 MHz 60 kHz 868 MHz 60 kHz 19.2 kBaud, ±9.9 kHz frequency deviation 48 kHz 38.4 kBaud, ±19.8 kHz frequency deviation 106 kHz 47 to 74 MHz, 87.5 to 118 MHz, 174 to 230 MHz, 470 to 862 MHz –54 dBm 9 kHz to 1 GHz –36 dBm 1 to 4 GHz –30 dBm Spurious emission, radiated CW At maximum output power Harmonics are measured as EIRP values according to EN 300 220. The antenna (SMAFF-433 and SMAFF868 from R.W. Badland) plays a part in attenuating the harmonics. ACP is measured in a 100 kHz bandwidth at ±100 kHz offset. Modulation: 19.2 kBaud NRZ PN9 sequence, ±19.8 kHz frequency deviation. Bandwidth for 99.5% of total average power. Modulation: 19.2 kBaud NRZ PN9 sequence, ±19.8 kHz frequency deviation. Bandwidth where the power envelope of modulation equals –36 dBm. Spectrum analyzer RBW = 1 kHz. At maximum output power, +10/+5 dBm at 433/868 MHz. To comply with EN 300 220 and FCC CFR47 part 15, an external (antenna) filter, as implemented in the application circuit in Figure 5-22, must be used and tailored to each individual design to reduce out-ofband spurious emission levels. Spurious emissions can be measured as EIRP values according to EN 300 220. The antenna (SMAFF-433 and SMAFF-868 from R.W. Badland) plays a part in attenuating the spurious emissions. If the output power is increased using an external PA, a filter must be used to attenuate spurs below 862 MHz when operating in the 868 MHz frequency band in Europe. Application Note Application Note AN036 CC1020/1021 Reducing Spurious Emission (SWRA057) presents and discusses a solution that reduces the TX mode spurious emission close to 862 MHz by increasing the REF_DIV from 1 to 7. Specifications Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 7 Not Recommended for New Designs NRND CC1021 SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 www.ti.com RF Transmit (continued) All measurements were performed using the two-layer PCB CC1020EMX reference design. See Figure 6-1. The electrical specifications given for 868 MHz are also applicable for 902 to 928 MHz. TA = 25°C, AVDD = DVDD = 3.0 V, fC = 14.7456 MHz if nothing else stated. PARAMETER Optimum load impedance 4.5 MIN TYP MAX UNIT 433 MHz 54 + j44 Ω 868 MHz 15 + j24 Ω 915 MHz 20 + j35 Ω CONDITION Transmit mode. For matching details see Section 5.11. RF Receive All measurements were performed using the two-layer PCB CC1020EMX reference design. See Figure 6-1. The electrical specifications given for 868 MHz are also applicable for 902 to 928 MHz. TA = 25°C, AVDD = DVDD = 3.0 V, fC = 14.7456 MHz if nothing else stated. PARAMETER Receiver Sensitivity, 433 MHz, FSK MIN TYP MAX UNIT CONDITION Sensitivity is measured with PN9 sequence at BER = 10−3 (1) 38.4 kHz receiver channel filter bandwidth: 4.8 kBaud, NRZ coded data, ±4.95 kHz frequency deviation. (2) 102.4 kHz receiver channel filter bandwidth: 19.2 kBaud, NRZ coded data, ±19.8 kHz frequency deviation. (3) 102.4 kHz receiver channel filter bandwidth: 38.4 kBaud, NRZ coded data, ±19.8 kHz frequency deviation. (4) 307.2 kHz receiver channel filter bandwidth: 153.6 kBaud, NRZ coded data, ±72 kHz frequency deviation. See Table 5-6 and Table 5-7 or typical sensitivity figures at other channel filter bandwidths. 38.4 kHz channel filter BW (1) –109 dBm 102.4 kHz channel filter BW (2) –104 dBm 102.4 kHz channel filter BW (3) –104 dBm 307.2 kHz channel filter BW (4) –96 dBm 38.4 kHz channel filter BW (1) –108 dBm 102.4 kHz channel filter BW (2) –103 dBm 102.4 kHz channel filter BW (3) –103 dBm 307.2 kHz channel filter BW (4) –94 dBm 9.6 kBaud –103 dBm 153.6 kBaud –81 dBm 9.6 kBaud –104 dBm 153.6 kBaud –87 dBm FSK and OOK 10 dBm FSK: Manchester/NRZ coded data OOK: Manchester coded data BER = 10−3 38.4 to 307.2 kHz The receiver channel filter 6 dB bandwidth is programmable from 38.4 kHz to 307.2 kHz. See Section 5.9.2 for details. 7 dB NRZ coded data –23 dBm LNA2 maximum gain –18 dBm LNA2 medium gain –16 dBm LNA2 minimum gain –18 dBm LNA2 maximum gain –15 dBm LNA2 medium gain –13 dBm LNA2 minimum gain –11 dB Receiver Sensitivity, 868 MHz, FSK Receiver sensitivity, 433 MHz, OOK Receiver sensitivity, 868 MHz, OOK Saturation (maximum input level) System noise bandwidth Noise figure, cascaded 433 and 868 MHz 433 MHz, 102.4 kHz channel filter BW Input IP3 (1) 868 MHz, 102.4 kHz channel filter BW Co-channel rejection, FSK and OOK (1) 8 433 MHz and 868 MHz, 102.4 kHz channel filter BW Manchester coded data. See Table 5-14 for typical sensitivity figures at other data rates. Sensitivity is measured with PN9 sequence at BER = 10−3 Wanted signal 3 dB above the sensitivity level, CW jammer at operating frequency, BER = 10−3 Two tone test (+10 MHz and +20 MHz) Specifications Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 Not Recommended for New Designs NRND CC1021 www.ti.com SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 RF Receive (continued) All measurements were performed using the two-layer PCB CC1020EMX reference design. See Figure 6-1. The electrical specifications given for 868 MHz are also applicable for 902 to 928 MHz. TA = 25°C, AVDD = DVDD = 3.0 V, fC = 14.7456 MHz if nothing else stated. PARAMETER Adjacent channel rejection (ACR) Image channel rejection Selectivity (2) Blocking / Desensitization (3) Image frequency suppression MIN Input impedance (2) (3) UNIT 32 dB 868 MHz, 102.4 kHz channel filter BW 30 dB No I/Q gain and phase calibration 25/25 dB I/Q gain and phase calibrated 50/50 dB 433 MHz, 102.4 kHz channel filter BW ±200 kHz offset 45 dB ±300 kHz offset 53 dB 868 MHz, 102.4 kHz channel filter BW ±200 kHz offset 45 dB ±300 kHz offset 50 dB ±1 MHz 52/58 dB ±2 MHz 56/64 dB ±5 MHz 58/64 dB ±10 MHz 64/66 dB No I/Q gain and phase calibration 35/35 dB I/Q gain and phase calibrated 60/60 dB 433/868 MHz 433/868 MHz 433/868 MHz 37 433/868 MHz dB < –80/–66 dBm –64 dBm 9 kHz to 1 GHz < –60 dBm 1 to 4 GHz < –60 dBm 433 MHz 58 – j10 Ω 868 MHz 54 – j22 Ω VCO leakage Spurious emission, radiated CW MAX 433 MHz, 102.4 kHz channel filter BW Spurious rejection LO leakage TYP CONDITION Measured at ±100 kHz offset. See Figure 5-13 through Figure 516. Wanted signal 3 dB above the sensitivity level, CW jammer at adjacent channel, BER = 10−3. Wanted signal 3 dB above the sensitivity level, CW jammer at image frequency, BER = 10−3. 102.4 kHz channel filter bandwidth. See Figure 5-13 through Figure 5-16. Image rejection after calibration will depend on temperature and supply voltage. Refer to Section 5.9.6. Wanted signal 3 dB above the sensitivity level. CW jammer is swept in 20 kHz steps within ±1 MHz from wanted channel. BER = 10−3. Adjacent channel and image channel are excluded. See Figure 5-13 through Figure 516. Wanted signal 3 dB above the sensitivity level, CW jammer at ±1, 2, 5 and 10 MHz offset, BER = 10−3. 102.4 kHz channel filter bandwidth. Complying with EN 300 220, class 2 receiver requirements. Ratio between sensitivity for a signal at the image frequency to the sensitivity in the wanted channel. Image frequency is RF− 2 IF. BER = 10−3. 102.4 kHz channel filter bandwidth. Ratio between sensitivity for an unwanted frequency to the sensitivity in the wanted channel. The signal source is swept over all frequencies 100 MHz to 2 GHz. Signal level for BER = 10−3. 102.4 kHz channel filter bandwidth. VCO frequency resides between 1608 to 1880 MHz Complying with EN 300 220 and FCC CFR47 part 15. Spurious emissions can be measured as EIRP values according to EN 300 220. Receive mode. See Section 5.11 for details. Close-in spurious response rejection. Out-of-band spurious response rejection. Specifications Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 9 Not Recommended for New Designs NRND CC1021 SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 www.ti.com RF Receive (continued) All measurements were performed using the two-layer PCB CC1020EMX reference design. See Figure 6-1. The electrical specifications given for 868 MHz are also applicable for 902 to 928 MHz. TA = 25°C, AVDD = DVDD = 3.0 V, fC = 14.7456 MHz if nothing else stated. PARAMETER Matched input impedance, S11 Matched input impedance MIN TYP MAX 433 MHz –14 dB 868 MHz –12 dB 433 MHz 39 – j14 Ω 868 MHz 32 – j10 Ω Bit synchronization offset Data latency 4.6 UNIT 8000 ppm NRZ mode 4 Baud Manchester mode 8 Baud CONDITION Using application circuit matching network. See Section 5.11 for details. Using application circuit matching network. See Section 5.11 for details. The maximum bit rate offset tolerated by the bit synchronization circuit for 6 dB degradation (synchronous modes only) Time from clocking the data on the transmitter DIO pin until data is available on receiver DIO pin RSSI / Carrier Sense All measurements were performed using the two-layer PCB CC1020EMX reference design. See Figure 6-1. The electrical specifications given for 868 MHz are also applicable for 902 to 928 MHz. TA = 25°C, AVDD = DVDD = 3.0 V, fC = 14.7456 MHz if nothing else stated. TYP UNIT RSSI dynamic range PARAMETER 55 dB See Section 5.9.5 for details. RSSI accuracy ±3 dB See Section 5.9.5 for details. RSSI linearity ±1 dB 51.2 kHz channel filter BW 730 µs 102.4 kHz channel filter BW 380 µs 307.2 kHz channel filter BW 140 µs RSSI attach time Carrier sense programmable range Carrier sense at ±100 kHz and ±200 kHz offset 10 102.4 kHz channel filter BW, 433 MHz 102.4 kHz channel filter BW, 868 MHz 40 dB ±100 kHz –57 dBm ±200 kHz –44 dBm ±100 kHz –60 dBm ±200 kHz –44 dBm Specifications CONDITION Shorter RSSI attach times can be traded for lower RSSI accuracy. See Section 5.9.5 for details. Shorter RSSI attach times can also be traded for reduced sensitivity and selectivity by increasing the receiver channel filter bandwidth. Accuracy is as for RSSI At carrier sense level –98 dBm, CW jammer at ±100 kHz and ±200 kHz offset. Carrier sense is measured by applying a signal at ±100 kHz and ±200 kHz offset and observe at which level carrier sense is indicated. Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 Not Recommended for New Designs NRND CC1021 www.ti.com 4.7 SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 Intermediate Frequency (IF) All measurements were performed using the two-layer PCB CC1020EMX reference design. See Figure 6-1. The electrical specifications given for 868 MHz are also applicable for 902 to 928 MHz. TA = 25°C, AVDD = DVDD = 3.0 V, fC = 14.7456 MHz if nothing else stated. PARAMETER Intermediate frequency (IF) Digital channel filter bandwidth AFC resolution 4.8 TYP UNIT 307.2 kHz See Section 5.9.1 for details. CONDITION 38.4 to 307.2 kHz The channel filter 6 dB bandwidth is programmable from 9.6 kHz to 307.2 kHz. See Section 5.9.2 for details. 1200 Hz At 19.2 kBaud Given as Baud rate / 16. See Section 5.9.13 for details. Crystal Oscillator All measurements were performed using the two-layer PCB CC1020EMX reference design. See Figure 6-1. The electrical specifications given for 868 MHz are also applicable for 902 to 928 MHz. TA = 25°C, AVDD = DVDD = 3.0 V, fC = 14.7456 MHz if nothing else stated. PARAMETER MIN Crystal Oscillator Frequency 4.9152 Crystal operation Crystal load capacitance 14.7456 MAX 19.6608 UNIT MHz 4.9 to 6 MHz, 22 pF recommended 12 22 30 pF 6 to 8 MHz, 16 pF recommended 12 16 30 pF 8 to 19.6 MHz, 16 pF recommended 12 16 16 pF 1.55 ms 7.3728 MHz, 12 pF load 1 ms 9.8304 MHz, 12 pF load 0.9 ms 14.7456 MHz, 16 pF load 0.95 ms 17.2032 MHz, 12 pF load 0.6 ms 19.6608 MHz, 12 pF load 0.63 ms External clock signal drive, sine wave 300 External clock signal drive, full-swing digital external clock 0 – VDD CONDITION Recommended frequency is 14.7456 MHz. See Section 5.16 for details. C4 and C5 are loading capacitors. See Section 5.16 for details. Parallel 4.9152 MHz, 12 pF load Crystal oscillator start-up time TYP The external clock signal must be connected to XOSC_Q1 using a DC block (10 nF). Set XOSC_BYPASS = 0 in the mVpp INTERFACE register when using an external clock signal with low amplitude or a crystal. V The external clock signal must be connected to XOSC_Q1. No DC block shall be used. Set XOSC_BYPASS = 1 in the INTERFACE register when using a full-swing digital external clock. Specifications Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 11 Not Recommended for New Designs NRND CC1021 SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 4.9 www.ti.com Frequency Synthesizer All measurements were performed using the two-layer PCB CC1020EMX reference design. See Figure 6-1. The electrical specifications given for 868 MHz are also applicable for 902 to 928 MHz. TA = 25°C, AVDD = DVDD = 3.0 V, fC = 14.7456 MHz if nothing else stated. PARAMETER Phase noise, 402 to 470 MHz Phase noise, 804 to 930 MHz PLL loop filter bandwidth TYP UNIT At 12.5 kHz offset from carrier –79 dBc/Hz At 25 kHz offset from carrier –80 dBc/Hz At 50 kHz offset from carrier –87 dBc/Hz At 100 kHz offset from carrier –100 dBc/Hz At 1 MHz offset from carrier –105 dBc/Hz At 12.5 kHz offset from carrier –73 dBc/Hz At 25 kHz offset from carrier –74 dBc/Hz At 50 kHz offset from carrier –81 dBc/Hz At 100 kHz offset from carrier –94 dBc/Hz At 1 MHz offset from carrier –111 dBc/Hz Loop filter 2, up to 19.2 kBaud 15 kHz Loop filter 3, up to 38.4 kBaud 30.5 kHz Loop filter 2, up to 19.2 kBaud 140 µs Loop filter 3, up to 38.4 kBaud 75 µs Loop filter 5, up to 153.6 kBaud 14 µs Loop filter 2, up to 19.2 kBaud 1300 µs Loop filter 3, up to 38.4 kBaud 1080 µs Loop filter 5, up to 153.6 kBaud 700 µs PLL lock time (RX / TX turn time) PLL turn-on time. From power down mode with crystal oscillator running. CONDITION Unmodulated carrier Measured using loop filter components given in Table 6-2. The phase noise will be higher for larger PLL loop filter bandwidth. Unmodulated carrier Measured using loop filter components given in Table 6-2. The phase noise will be higher for larger PLL loop filter bandwidth. After PLL and VCO calibration. The PLL loop bandwidth is programmable. See Table 5-12 for loop filter component values. 307.2 kHz frequency step to RF frequency within ±10 kHz, ±15 kHz, ±50 kHz settling accuracy for loop filter 2, 3 and 5 respectively. Depends on loop filter component values and PLL_BW register setting. See Table 5-13 for more details. Time from writing to registers to RF frequency within ±10 kHz, ±15 kHz, ±50 kHz settling accuracy for loop filter 2, 3 and 5 respectively. Depends on loop filter component values and PLL_BW register setting. See Table 5-12 for more details. 4.10 Digital Inputs / Outputs All measurements were performed using the two-layer PCB CC1020EMX reference design. See Figure 6-1. The electrical specifications given for 868 MHz are also applicable for 902 to 928 MHz. TA = 25°C, AVDD = DVDD = 3.0 V, fC = 14.7456 MHz if nothing else stated. PARAMETER MIN TYP MAX UNIT CONDITION Logic "0" input voltage 0 0.3 × VDD V Logic "1" input voltage 0.7 × VDD VDD V Logic "0" output voltage 0 0.4 V Output current –2.0 mA, 3.0 V supply voltage Logic "1" output voltage 2.5 VDD V Output current 2.0 mA, 3.0 V supply voltage Logic "0" input current N/A –1 µA Input signal equals GND. PSEL has an internal pullup resistor and during configuration the current will be –350 mA. Logic "1" input current N/A 1 µA Input signal equals VDD ns TX mode, minimum time DIO must be ready before the positive edge of DCLK. Data should be set up on the negative edge of DCLK. DIO setup time 12 20 Specifications Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 Not Recommended for New Designs NRND CC1021 www.ti.com SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 Digital Inputs / Outputs (continued) All measurements were performed using the two-layer PCB CC1020EMX reference design. See Figure 6-1. The electrical specifications given for 868 MHz are also applicable for 902 to 928 MHz. TA = 25°C, AVDD = DVDD = 3.0 V, fC = 14.7456 MHz if nothing else stated. PARAMETER MIN DIO hold time TYP MAX 10 UNIT CONDITION ns TX mode, minimum time DIO must be held after the positive edge of DCLK. Data should be set up on the negative edge of DCLK. Serial interface (PCLK, PDI, PDO and PSEL) timing specification Source current Pin drive, LNA_EN, PA_EN Sink current See Table 5-1 for more details 0 V on LNA_EN, PA_EN pins 0.90 mA 0.5 V on LNA_EN, PA_EN pins 0.87 mA 1.0 V on LNA_EN, PA_EN pins 0.81 mA 1.5 V on LNA_EN, PA_EN pins 0.69 mA 3.0 V on LNA_EN, PA_EN pins 0.93 mA 2.5 V on LNA_EN, PA_EN pins 0.92 mA 2.0 V on LNA_EN, PA_EN pins 0.89 mA 1.5 V on LNA_EN, PA_EN pins 0.79 mA See Figure 5-32 for more details. 4.11 Current Consumption All measurements were performed using the two-layer PCB CC1020EMX reference design. See Figure 6-1. The electrical specifications given for 868 MHz are also applicable for 902 to 928 MHz. TA = 25°C, AVDD = DVDD = 3.0 V, fC = 14.7456 MHz if nothing else stated. TYP MAX UNIT Power Down mode PARAMETER 0.2 1.8 µA Current Consumption, receive mode 433 and 868 MHz 19.9 mA P = –20 dBm 12.3/14.5 mA P = –5 dBm 14.4/17.0 mA P = 0 dBm 16.2/20.5 mA P = +5 dBm 20.5/25.1 mA 27.1 mA Current Consumption, crystal oscillator 77 µA 14.7456 MHz, 16 pF load crystal Current Consumption, crystal oscillator and bias 500 µA 14.7456 MHz, 16 pF load crystal Current Consumption, crystal oscillator, bias and synthesizer 7.5 mA 14.7456 MHz, 16 pF load crystal Current Consumption, transmit mode 433/868 MHz MIN P = +10 dBm (433 MHz only) CONDITION Oscillator core off The output power is delivered to a 50 Ω single-ended load. See Section 5.10.2 for more details. Specifications Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 13 Not Recommended for New Designs NRND CC1021 SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 www.ti.com 4.12 Thermal Resistance Characteristics for VQFNP Package °C/W (1) NAME DESCRIPTION RθJC(top) Junction-to-case (top) RθJB Junction-to-board 6.9 RθJA Junction-to-free air 30.7 PsiJT Junction-to-package top 0.2 PsiJB Junction-to-board 6.9 RθJC(bottom) Junction-to-case (bottom) 1.0 (1) (2) 14 (2) 16.2 °C/W = degrees Celsius per watt. These values are based on a JEDEC-defined 2S2P system (with the exception of the Theta JC [RθJC] value, which is based on a JEDEC-defined 1S0P system) and will change based on environment as well as application. For more information, see these EIA/JEDEC standards: • JESD51-2, Integrated Circuits Thermal Test Method Environmental Conditions - Natural Convection (Still Air) • JESD51-3, Low Effective Thermal Conductivity Test Board for Leaded Surface Mount Packages • JESD51-7, High Effective Thermal Conductivity Test Board for Leaded Surface Mount Packages • JESD51-9, Test Boards for Area Array Surface Mount Package Thermal Measurements Power dissipation of 2 W and an ambient temperature of 70ºC is assumed. Specifications Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 Not Recommended for New Designs NRND CC1021 www.ti.com SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 5 Detailed Description 5.1 Overview A simplified block diagram of the CC1021 device is shown in Figure 5-1. Only signal pins are shown. The CC1021 device features a low-IF receiver. The received RF signal is amplified by the low-noise amplifier (LNA and LNA2) and down-converted in quadrature (I and Q) to the intermediate frequency (IF). At IF, the I/Q signal is complex filtered and amplified, and then digitized by the ADCs. Automatic gain control, fine channel filtering, demodulation and bit synchronization is performed digitally. The CC1021 device outputs the digital demodulated data on the DIO pin. A synchronized data clock is available at the DCLK pin. RSSI is available in digital format and can be read via the serial interface. The RSSI also features a programmable carrier sense indicator. In transmit mode, the synthesized RF frequency is fed directly to the power amplifier (PA). The RF output is frequency shift keyed (FSK) by the digital bit stream that is fed to the DIO pin. Optionally, a Gaussian filter can be used to obtain Gaussian FSK (GFSK). The frequency synthesizer includes a completely on-chip LC VCO and a 90 degrees phase splitter for generating the LO_I and LO_Q signals to the down-conversion mixers in receive mode. The VCO operates in the frequency range 1.608 to 1.880 GHz. The CHP_OUT pin is the charge pump output and VC is the control node of the on-chip VCO. The external loop filter is placed between these pins. A crystal is to be connected between XOSC_Q1 and XOSC_Q2. A lock signal is available from the PLL. The 4-wire SPI serial interface is used for configuration. Functional Block Diagram ADC RF_IN LNA 2 LNA ADC Multiplexer 0 90 DIGITAL DEMODULATOR - Digital RSSI - Gain Control - Image Suppression - Channel Filtering - Demodulation LOCK :2 DIO 0 90 :2 FREQ SYNTH CONTROL LOGIC 5.2 DIGITAL INTERFACE TO mC DCLK PDO PDI PCLK Power Control PSEL DIGITAL MODULATOR Multiplexer RF_OUT - Modulation - Data shaping - Power Control PA BIAS PA_EN LNA_EN R_BIAS XOSC XOSC_Q1 XOSC_Q2 VC CHP_OUT Figure 5-1. CC1021 Device Simplified Block Diagram Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 15 Not Recommended for New Designs NRND CC1021 SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 5.3 www.ti.com Configuration Overview The CC1021 device can be configured to achieve the optimum performance for different applications. Through the programmable configuration registers the following key parameters can be programmed: • Receive / transmit mode • RF output power • Frequency synthesizer key parameters: – RF output frequency – FSK frequency separation – Crystal oscillator reference frequency • Power-down / power-up mode • Crystal oscillator power up or power down • Data rate and data format (NRZ, Manchester coded or UART interface) • Synthesizer lock indicator mode • Digital RSSI and carrier sense • FSK / GFSK / OOK modulation 5.3.1 Configuration Software TI provides users of the CC1021 device with a software program, SmartRF™ Studio (Windows interface), that generates all necessary CC1021 device configuration data based on the user's selections of various parameters. These hexadecimal numbers will then be the necessary input to the microcontroller for the configuration of the CC1021 device. In addition, the program will provide the user with the component values needed for the input/output matching circuit, the PLL loop filter and the LC filter. Figure 5-2 shows the user interface of the CC1021 device configuration software. Figure 5-2. SmartRF™ Studio User Interface 16 Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 Not Recommended for New Designs NRND CC1021 www.ti.com 5.4 SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 Microcontroller Interface Used in a typical system, the CC1021 device will interface to a microcontroller. This microcontroller must be able to: • Program the CC1021 device into different modes via the 4-wire serial configuration interface (PDI, PDO, PCLK and PSEL) • Interface to the bi-directional synchronous data signal interface (DIO and DCLK) • Optionally, the microcontroller can do data encoding / decoding • Optionally, the microcontroller can monitor the LOCK pin for frequency lock status, carrier sense status or other status information. • Optionally, the microcontroller can read back the digital RSSI value and other status information via the 4-wire serial interface. 5.4.1 Configuration Interface The microcontroller interface is shown in Figure 5-3. The microcontroller uses 3 or 4 I/O pins for the configuration interface (PDI, PDO, PCLK and PSEL). PDO should be connected to a microcontroller input. PDI, PCLK and PSEL must be microcontroller outputs. One I/O pin can be saved if PDI and PDO are connected together and a bi-directional pin is used at the microcontroller. The microcontroller pins connected to PDI, PDO and PCLK can be used for other purposes when the configuration interface is not used. PDI, PDO and PCLK are high impedance inputs as long as PSEL is not activated (active low). PSEL has an internal pullup resistor and should be left open (tri-stated by the microcontroller) or set to a high level during power down mode in order to prevent a trickle current flowing in the pullup. Figure 5-3. Microcontroller Interface 5.4.2 Signal Interface A bi-directional pin is usually used for data (DIO) to be transmitted and data received. DCLK providing the data timing should be connected to a microcontroller input. As an option, the data output in receive mode can be made available on a separate pin. See Section 5.6 further details. 5.4.3 PLL Lock Signal Optionally, one microcontroller pin can be used to monitor the LOCK signal. This signal is at low logic level when the PLL is in lock. It can also be used for carrier sense and to monitor other internal test signals. Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 17 Not Recommended for New Designs NRND CC1021 SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 5.5 www.ti.com 4-wire Serial Configuration Interface The CC1021 device is configured via a simple 4-wire SPI-compatible interface (PDI, PDO, PCLK and PSEL) where the CC1021 device is the slave. There are 8-bit configuration registers, each addressed by a 7-bit address. A Read/Write bit initiates a read or write operation. A full configuration of the CC1021 device requires sending 33 data frames of 16 bits each (7 address bits, R/W bit and 8 data bits). The time needed for a full configuration depends on the PCLK frequency. With a PCLK frequency of 10 MHz the full configuration is done in less than 53 ms. Setting the device in power down mode requires sending one frame only and will in this case take less than 2 ms. All registers are also readable. During each write-cycle, 16 bits are sent on the PDI-line. The seven most significant bits of each data frame (A6:0) are the address-bits. A6 is the MSB (Most Significant Bit) of the address and is sent as the first bit. The next bit is the R/W bit (high for write, low for read). The 8 data-bits are then transferred (D7:0). During address and data transfer the PSEL (Program SELect) must be kept low. See Figure 5-4. The timing for the programming is also shown in Figure 5-4 with reference to Table 5-1. The clocking of the data on PDI is done on the positive edge of PCLK. Data should be set up on the negative edge of PCLK by the microcontroller. When the last bit, D0, of the 8 data-bits has been loaded, the data word is loaded into the internal configuration register. The configuration data will be retained during a programmed power down mode, but not when the power supply is turned off. The registers can be programmed in any order. The configuration registers can also be read by the microcontroller via the same configuration interface. The seven address bits are sent first, then the R/W bit set low to initiate the data read-back. The CC1021 device then returns the data from the addressed register. PDO is used as the data output and must be configured as an input by the microcontroller. The PDO is set at the negative edge of PCLK and should be sampled at the positive edge. The read operation is illustrated in Figure 5-5. PSEL must be set high between each read/write operation. THS TSS TCL,min TCH,min TSD THD PCLK Address PDI 6 5 4 Data byte Write mode 3 2 1 0 W 7 6 5 4 3 2 1 0 PDO PSEL Figure 5-4. Configuration Registers Write Operation 18 Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 Not Recommended for New Designs NRND CC1021 www.ti.com SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 THS TSS TCH,min TCL,min PCLK Address PDI 6 5 4 Read mode 3 2 1 0 R Data byte PDO PSEL 7 6 5 4 3 2 1 0 TSH Figure 5-5. Configuration Registers Read Operation Table 5-1. Serial Interface, Timing Specification (1) PARAMETER MIN MAX UNIT 10 MHz CONDITIONS FPCLK PCLK, clock frequency TCL,min PCLK low pulse duration 50 ns The minimum time PCLK must be low. TCH,min PCLK high pulse duration 50 ns The minimum time PCLK must be high. TSS PSEL setup time 25 ns The minimum time PSEL must be low before positive edge of PCLK. THS PSEL hold time 25 ns The minimum time PSEL must be held low after the negative edge of PCLK. TSH PSEL high time 50 ns The minimum time PSEL must be high. TSD PDI setup time 25 ns The minimum time data on PDI must be ready before the positive edge of PCLK. THD PDI hold time 25 ns The minimum time data must be held at PDI, after the positive edge of PCLK. Trise Rise time 100 ns The maximum rise time for PCLK and PSEL Tfall Fall time 100 ns The maximum fall time for PCLK and PSEL (1) The setup and hold times refer to 50% of VDD. The rise and fall times refer to 10% / 90% of VDD. The maximum load that this table is valid for is 20 pF. Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 19 Not Recommended for New Designs NRND CC1021 SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 5.6 www.ti.com Signal Interface The CC1021 device can be used with NRZ (Non-Return-to-Zero) data or Manchester (also known as biphase-level) encoded data. The CC1021 device can also synchronize the data from the demodulator and provide the data clock at DCLK. The data format is controlled by the DATA_FORMAT[1:0] bits in the MODEM register. The CC1021 device can be configured for three different data formats: • Synchronous NRZ mode • Transparent Asynchronous UART mode • Synchronous Manchester encoded mode 5.6.1 Synchronous NRZ Mode In transmit mode, the CC1021 device provides the data clock at DCLK and DIO is used as data input. Data is clocked into the CC1021 device at the rising edge of DCLK. The data is modulated at RF without encoding. In receive mode, the CC1021 device performs the synchronization and provides received data clock at DCLK and data at DIO. The data should be clocked into the interfacing circuit at the rising edge of DCLK. See Figure 5-6. 5.6.2 Transparent Asynchronous UART Mode In transmit mode, DIO is used as data input. The data is modulated at RF without synchronization or encoding. In receive mode, the raw data signal from the demodulator is sent to the output (DIO). No synchronization or decoding of the signal is done in the CC1021 device and should be done by the interfacing circuit. If SEP_DI_DO = 0 in the INTERFACE register, the DIO pin is the data output in receive mode and data input in transmit mode. The DCLK pin is not active and can be set to a high or low level by DATA_FORMAT[0]. If SEP_DI_DO = 1 in the INTERFACE register, the DCLK pin is the data output in receive mode and the DIO pin is the data input in transmit mode. In TX mode the DCLK pin is not active and can be set to a high or low level by DATA_FORMAT[0]. See Figure 5-8. 5.6.3 Synchronous Manchester Encoded Mode In transmit mode, the CC1021 device provides the data clock at DCLK and DIO is used as data input. Data is clocked into the CC1021 device at the rising edge of DCLK and should be in NRZ format. The data is modulated at RF with Manchester code. The encoding is done by the CC1021 device. In this mode, the effective bit rate is half the baud rate due to the coding. As an example, 19.2 kBaud Manchester encoded data corresponds to 9.6 kbps. In receive mode, the CC102 device performs the synchronization and provides received data clock at DCLK and data at DIO. The CC1021 device performs the decoding and NRZ data is presented at DIO. The data should be clocked into the interfacing circuit at the rising edge of DCLK. See Figure 5-7. In synchronous NRZ or Manchester mode the DCLK signal runs continuously both in RX and TX unless the DCLK signal is gated with the carrier sense signal or the PLL lock signal. Refer to Section 5.18 for more details. If SEP_DI_DO = 0 in the INTERFACE register, the DIO pin is the data output in receive mode and data input in transmit mode. As an option, the data output can be made available at a separate pin. This is done by setting SEP_DI_DO = 1 in the INTERFACE register. Then, the LOCK pin will be used as data output in synchronous mode, overriding other use of the LOCK pin. 20 Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 Not Recommended for New Designs NRND CC1021 www.ti.com 5.6.3.1 SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 Manchester Encoding and Decoding In the Synchronous Manchester encoded mode, the CC1021 device uses Manchester coding when modulating the data. The CC1021 device also performs the data decoding and synchronization. The Manchester code is based on transitions; a “0” is encoded as a low-to-high transition, a “1” is encoded as a high-to-low transition. See Figure 5-7. The Manchester code ensures that the signal has a constant DC component, which is necessary in some FSK demodulators. Using this mode also ensures compatibility with CC400 and CC900 designs. Transmitter side: DCLK Clock provided by CC1021 DIO Data provided by microcontroller “RF” FSK modulating signal (NRZ), internal in CC1021 Receiver side: “RF” Demodulated signal (NRZ), internal in CC1021 DCLK Clock provided by CC1021 DIO Data provided by CC1021 Figure 5-6. Synchronous NRZ Mode (SEP_DI_DO = 0) Transmitter side: DCLK Clock provided by CC1021 DIO Data provided by microcontroller “RF” FSK modulating signal (Manchester encoded), internal in CC1021 Receiver side: “RF” Demodulated signal (Manchester encoded), internal in CC1021 DCLK Clock provided by CC1021 DIO Data provided by CC1021 Figure 5-7. Synchronous Manchester Encoded Mode (SEP_DI_DO = 0) Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 21 Not Recommended for New Designs NRND CC1021 SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 www.ti.com Transmitter side: DCLK is not used in transmit mode, and is used as data output in receive mode. It can be set to default high or low in transmit mode. DCLK DIO Data provided by UART (TXD) “RF” FSK modulating signal, internal in CC1021 Receiver side: “RF” Demodulated signal (NRZ), internal in CC1021 DCLK DCLK is used as data output provided by CC1021. Connect to UART (RXD) DIO is not used in receive mode. Used only as data input in transmit mode DIO Figure 5-8. Transparent Asynchronous UART Mode (SEP_DI_DO = 1) 1 0 1 1 0 0 0 1 1 0 1 Tx data Time Figure 5-9. Manchester Encoding 5.7 Data Rate Programming The data rate (baud rate) is programmable and depends on the crystal frequency and the programming of the CLOCK (CLOCK_A and CLOCK_B) registers. The baud rate (B.R.) is given by Equation 1. fxosc B.R. = 8 ´ (REF _ DIV + 1) ´ DIV1 ´ DIV2 (1) Where: DIV1 and DIV2 are given by the value of MCLK_DIV1 and MCLK_DIV2. Table 5-4 shows some possible data rates as a function of crystal frequency in synchronous mode. In asynchronous transparent UART mode, any data rate up to 153.6 kBaud can be used. Table 5-2. DIV2 for Different Settings of MCLK_DIV2 22 MCLK_DIV2[1:0] DIV2 00 1 01 2 10 4 11 8 Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 Not Recommended for New Designs NRND CC1021 www.ti.com SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 Table 5-3. DIV1 for Different Settings of MCLK_DIV1 MCLK_DIV1[2:0] DIV1 000 2.5 001 3 010 4 011 7.5 100 12.5 101 40 110 48 111 64 Table 5-4. Some Possible Data Rates Versus Crystal Frequency DATA RATE [kBaud] CRYSTAL FREQUENCY [MHz] 4.9152 0.45 7.3728 9.8304 X X X X X X X X X X X X X X X X X X X X X 4 X 4.096 X X 7.2 X X X X X X X X X X 14.4 X X X X X X X X 16.384 X X 28.8 X X X X X X X X X X 57.6 X X X X X X X X X 64 X 65.536 X X X X X X 128 153.6 X X 32 32.768 115.2 X X 16 76.8 X X 8 8.192 38.4 X X 3.6 19.2 X X 2 9.6 19.6608 X X 1.8 4.8 X X 1 2.4 17.2032 X 0.9 1.2 14.7456 X 0.5 0.6 12.288 X X X X X X X X X X X Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 23 Not Recommended for New Designs NRND CC1021 SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 5.8 www.ti.com Frequency Programming Programming the frequency word in the configuration registers sets the operation frequency. There are two frequency words registers, termed FREQ_A and FREQ_B, which can be programmed to two different frequencies. One of the frequency words can be used for RX (local oscillator frequency) and the other for TX (transmitting carrier frequency) in order to be able to switch very fast between RX mode and TX mode. They can also be used for RX (or TX) at two different channels. The F_REG bit in the MAIN register selects frequency word A or B. The frequency word is located in FREQ_2A:FREQ_1A:FREQ_0A and FREQ_2B:FREQ_1B:FREQ_0B for the FREQ_A and FREQ_B word respectively. The LSB of the FREQ_0 registers are used to enable dithering (see Section 5.8.1). The PLL output frequency is given by Equation 2 in the frequency band 402 to 470 MHz, and by Equation 3 in the frequency band 804 to 930 MHz. æ 3 FREQ + 0.5 ´ DITHER ö f c = f ref ´ ç + ÷ 32768 è4 ø (2) æ 3 FREQ + 0.5 ´ DITHER ö f c = f ref ´ ç + ÷ 16384 è2 ø (3) The BANDSELECT bit in the ANALOG register controls the frequency band used. BANDSELECT = 0 gives 402 to 470 MHz, and BANDSELECT = 1 gives 804 to 930 MHz. The reference frequency is the crystal oscillator clock frequency divided by REF_DIV (3 bits in the CLOCK_A or CLOCK_B register), a number between 1 and 7, as shown in Equation 4. fxosc fref = REF _ DIV + 1 (4) FSK frequency deviation is programmed in the DEVIATION register. The deviation programming is divided into a mantissa (TXDEV_M[3:0]) and an exponent (TXDEV_X[2:0]). Generally REF_DIV should be as low as possible, but the requirements shown in Equation 5 must be met in the frequency band 402 to 470 MHz. f 9.8304 ³ fref > c [MHz ] 256 (5) The requirements shown in Equation 6 must be met in the frequency band 804 to 930 MHz. f 9.8304 ³ fref > c [MHz ] 512 (6) The PLL output frequency equations give the carrier frequency, fc , in transmit mode (centre frequency). The two FSK modulation frequencies are given by Equation 7 and Equation 8. f0 = fc – fdev f1 = fc + fdev (7) (8) Where: fdev is set by the DEVIATION register. fdev is set by the DEVIATION register shown in Equation 9 in the frequency band 402 to 470 MHz. fdev = fref × TXDEV_M × 2(TXDEV_X –16) (9) fdev is set by the DEVIATION register shown in Equation 10 in the frequency band 804 to 930 MHz. fdev = fref × TXDEV_M × 2(TXDEV_X –15) (10) OOK (On-Off Keying) is used if TXDEV_M[3:0] = 0000. The TX_SHAPING bit in the DEVIATION register controls Gaussian shaping of the modulation signal. 24 Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 Not Recommended for New Designs NRND CC1021 www.ti.com SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 In receive mode, the frequency must be programmed to be the LO frequency. Low side LO injection is used, hence Equation 11. fLO = fc – fIF (11) Where: fIF is the IF frequency (ideally 307.2 kHz). 5.8.1 Dithering Spurious signals will occur at certain frequencies depending on the division ratios in the PLL. To reduce the strength of these spurs, a common technique is to use a dithering signal in the control of the frequency dividers. Dithering is activated by setting the DITHER bit in the FREQ_0 registers. It is recommended to use the dithering in order to achieve the best possible performance. 5.9 5.9.1 Receiver IF Frequency The IF frequency is derived from the crystal frequency as shown in Equation 12. f xoscx f IF = 8 ´ (ADC _ DIV [2 : 0] + 1) (12) Where: ADC_DIV[2:0] is set in the MODEM register. The analog filter succeeding the mixer is used for wideband and anti-alias filtering which is important for the blocking performance at 1 MHz and larger offsets. This filter is fixed and centered on the nominal IF frequency of 307.2 kHz. The bandwidth of the analog filter is about 160 kHz. Using crystal frequencies which gives an IF frequency within 300 to 320 kHz means that the analog filter can be used (assuming low frequency deviations and low data rates). Large offsets, however, from the nominal IF frequency will give an un-symmetric filtering (variation in group delay and different attenuation) of the signal, resulting in decreased sensitivity and selectivity. For IF frequencies other than 300 to 320 kHz and for high frequency deviation and high data rates (typically ≥ 76.8 kBaud), the analog filter must be bypassed by setting FILTER_BYPASS = 1 in the FILTER register. In this case the blocking performance at 1 MHz and larger offsets will be degraded. The IF frequency is always the ADC clock frequency divided by 4. The ADC clock frequency should therefore be as close to 1.2288 MHz as possible. 5.9.2 Receiver Channel Filter Bandwidth In order to meet different channel spacing requirements, the receiver channel filter bandwidth is programmable. It can be programmed from 38.4 to 307.2 kHz. The minimum receiver channel filter bandwidth depends on data rate, frequency separation and crystal tolerance. The signal bandwidth must be smaller than the available receiver channel filter bandwidth. The signal bandwidth (SBW) can be approximated by (Carson’s rule) as shown in Equation 13. SBW = 2 × fm + 2 × frequency deviation (13) Where: fm is the modulating signal. Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 25 Not Recommended for New Designs NRND CC1021 SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 www.ti.com In Manchester mode, the maximum modulating signal occurs when transmitting a continuous sequence of 0s (or 1s). In NRZ mode the maximum modulating signal occurs when transmitting a 0-1-0 sequence. In both Manchester and NRZ mode 2 × fm is then equal to the programmed baud rate. The equation for SBW can then be rewritten as shown in Equation 14. SBW = Baud rate + frequency separation (14) Furthermore, the frequency offset of the transmitter and receiver must also be considered. Assuming equal frequency error in the transmitter and receiver (same type of crystal) the total frequency error is shown in Equation 15. f_error = ±2 × XTAL_ppm × f_RF (15) Where: XTAL_ppm is the total accuracy of the crystal including initial tolerance, temperature drift, loading and ageing. f_RF is the RF operating frequency. The minimum receiver channel filter bandwidth (ChBW) can then be estimated as shown in Equation 16. ChBW > SBW + 2 × f_error (16) The DEC_DIV[2:0] bits in the FILTER register control the receiver channel filter bandwidth. The 6 dB bandwidth is given by Equation 17. 307.2 ChBW = [kHz] (DEC _ DIV + 1) (17) Where: IF frequency is set to 307.2 kHz. Table 5-5 shows the available channel filter bandwidths. There is a tradeoff between selectivity as well as sensitivity and accepted frequency tolerance. In applications where larger frequency drift is expected, the filter bandwidth can be increased, but with reduced adjacent channel rejection (ACR) and sensitivity. Table 5-5. Channel Filter Bandwidth 26 FILTER BANDWIDTH [kHz] FILTER.DEC_DIV[2:0] [decimal(binary)] 38.4 7 (111b) 43.9 6 (110b) 51.2 5 (101b) 61.4 4 (100b) 76.8 3 (011b) 102.4 2 (010b) 153.6 1 (001b) 307.2 0 (000b) Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 Not Recommended for New Designs NRND CC1021 www.ti.com 5.9.3 SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 Demodulator, Bit Synchronizer and Data Decision The block diagram for the demodulator, data slicer and bit synchronizer is shown in Figure 5-10. The builtin bit synchronizer synchronizes the internal clock to the incoming data and performs data decoding. The data decision is done using over-sampling and digital filtering of the incoming signal. This improves the reliability of the data transmission. Using the synchronous modes simplifies the data-decoding task substantially. The recommended preamble is a ‘010101…’ bit pattern. The same bit pattern should also be used in Manchester mode, giving a ‘011001100110…‘chip’ pattern. This is necessary for the bit synchronizer to synchronize to the coding correctly. The data slicer does the bit decision. Ideally the two received FSK frequencies are placed symmetrically around the IF frequency. However, if there is some frequency error between the transmitter and the receiver, the bit decision level should be adjusted accordingly. In the CC1021 device, this is done automatically by measuring the two frequencies and use the average value as the decision level. The digital data slicer in the CC1021 device uses an average value of the minimum and maximum frequency deviation detected as the comparison level. The RXDEV_X[1:0] and RXDEV_M[3:0] in the AFC_CONTROL register are used to set the expected deviation of the incoming signal. Once a shift in the received frequency larger than the expected deviation is detected, a bit transition is recorded and the average value to be used by the data slicer is calculated. The minimum number of transitions required to calculate a slicing level is 3. That is, a 010 bit pattern (NRZ). The actual number of bits used for the averaging can be increased for better data decision accuracy. This is controlled by the SETTLING[1:0] bits in the AFC_CONTROL register. If RX data is present in the channel when the RX chain is turned on, then the data slicing estimate will usually give correct results after 3 bit transitions. The data slicing accuracy will increase after this, depending on the SETTLING[1:0] bits. If the start of transmission occurs after the RX chain has turned on, the minimum number of bit transitions (or preamble bits) before correct data slicing will depend on the SETTLING[1:0] bits. The automatic data slicer average value function can be disabled by setting SETTLING[1:0] = 00. In this case a symmetrical signal around the IF frequency is assumed. The internally calculated average FSK frequency value gives a measure for the frequency offset of the receiver compared to the transmitter. This information can also be used for an automatic frequency control (AFC) as described in Section 5.9.13. Average filter Digital filtering Frequency detector Decimator Data filter Data slicer comparator Bit synchronizer and data decoder Figure 5-10. Demodulator Block Diagram Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 27 Not Recommended for New Designs NRND CC1021 SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 5.9.4 www.ti.com Receiver Sensitivity versus Data Rate and Frequency Separation The receiver sensitivity depends on the channel filter bandwidth, data rate, data format, FSK frequency separation and the RF frequency. Typical figures for the receiver sensitivity (BER = 10−3) are shown in Table 5-6 and Table 5-7 for FSK. For best performance, the frequency deviation should be at least half the baud rate in FSK mode. The sensitivity is measured using the matching network shown in the application circuit in Figure 6-1, which includes an external T/R switch. Table 5-6. Typical Receiver Sensitivity as a Function of Data Rate at 433 MHz, FSK Modulation, BER = 10−3, Pseudo-Random Data (PN9 Sequence) SENSITIVITY [dBm] DATA RATE [kBaud] DEVIATION [kHz] FILTER BW [kHz] NRZ MODE MANCHESTER MODE UART MODE 4.8 ±4.95 38.4 –109 –112 –109 19.2 ±9.9 51.2 –107 –108 –107 19.2 ±19.8 102.4 –104 –106 –104 38.4 ±19.8 102.4 –104 –104 –104 76.8 ±36.0 153.6 –101 –101 –101 153.6 ±72.0 307.2 –96 –97 –96 Table 5-7. Typical Receiver Sensitivity as a Function of Data Rate at 868 MHz, FSK Modulation, BER = 10−3, Pseudo-Random Data (PN9 Sequence) SENSITIVITY [dBm] DATA RATE [kBaud] DEVIATION [kHz] FILTER BW [kHz] NRZ MODE MANCHESTER MODE UART MODE 5.9.5 4.8 ±4.95 38.4 –108 –111 –108 19.2 ±9.9 51.2 –107 –107 –107 19.2 ±19.8 102.4 –103 –106 –103 38.4 ±19.8 102.4 –103 –103 –103 76.8 ±36.0 153.6 –99 –100 –99 153.6 ±72.0 307.2 –94 –94 –94 RSSI The CC1021 device has a built-in RSSI (Received Signal Strength Indicator) giving a digital value that can be read form the RSSI register. The RSSI reading must be offset and adjusted for VGA gain setting (VGA_SETTING[4:0] in the VGA3 register). The digital RSSI value is ranging from 0 to 106 (7 bits). The RSSI reading is a logarithmic measure of the average voltage amplitude after the digital filter in the digital part of the IF chain as shown in Equation 18. RSSI = 4 log2 (signal amplitude) (18) The relative power is then given by RSSI × 1.5 dB in a logarithmic scale. The number of samples used to calculate the average signal amplitude is controlled by AGC_AVG[1:0] in the VGA2 register. The RSSI update rate is given by Equation 19. f filter _ clock f RSSI = AGC _ AVG[1:0] + 1 2 (19) 28 Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 Not Recommended for New Designs NRND CC1021 www.ti.com SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 Where: AGC_AVG[1:0] is set in the VGA2 register. ffilter_clock = 2 × ChBW. Maximum VGA gain is programmed by the VGA_SETTING[4:0] bits. The VGA gain is programmed in approximately 3 dB/LSB. The RSSI measurement can be referred to the power (absolute value) at the RF_IN pin by using Equation 20. P = 1.5 × RSSI – 3 × VGA_SETTING – RSSI_Offset [dBm] (20) The RSSI_Offset depends on the channel filter bandwidth used due to different VGA settings. Figure 5-11 and Figure 5-12 show typical plots of RSSI reading as a function of input power for different channel filter bandwidths. Equation 21 can be used to calculate the power, P, in dBm from the RSSI readout values in Figure 5-11 and Figure 5-12. P = 1.5 × [RSSI – RSSI_ref] + P_ref (21) Where: P is the output power in dBm for the current RSSI readout value. RSSI_ref is the RSSI readout value taken from Figure 5-11 or Figure 5-12 for an input power level of P_ref. NOTE The RSSI readings in decimal value changes for different channel filter bandwidths. The analog filter has a finite dynamic range and is the reason why the RSSI reading is saturated at lower channel filter bandwidths. Higher channel filter bandwidths are typically used for high frequency deviation and data rates. The analog filter bandwidth is about 160 kHz and is bypassed for high frequency deviation and data rates and is the reason why the RSSI reading is not saturated for 153.6 kHz and 307.2 kHz channel filter bandwidths in Figure 5-11 and Figure 5-12. Figure 5-11. Typical RSSI Value vs Input Power for Different Channel Filter Bandwidths, 433 MHz Figure 5-12. Typical RSSI Value vs Input Power for Different Channel Filter Bandwidths, 868 MHz Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 29 Not Recommended for New Designs NRND CC1021 SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 5.9.6 www.ti.com Image Rejection Calibration For perfect image rejection, the phase and gain of the “I” and “Q” parts of the analog RX chain must be perfectly matched. To improve the image rejection, the “I” and “Q” phase and gain difference can be finetuned by adjusting the PHASE_COMP and GAIN_COMP registers. This allows compensation for process variations and other nonidealities. The calibration is done by injecting a signal at the image frequency, and adjusting the phase and gain difference for minimum RSSI value. During image rejection calibration, an unmodulated carrier should be applied at the image frequency (614.4 kHz below the desired channel), No signal should be present in the desired channel. The signal level should be 50 to 60 dB above the sensitivity in the desired channel, but the optimum level will vary from application to application. Too large input level gives poor results due to limited linearity in the analog IF chain, while too low input level gives poor results due to the receiver noise floor. For best RSSI accuracy, use AGC_AVG(1:0] = 11 during image rejection calibration (RSSI value is averaged over 16 filter output samples). The RSSI register update rate then equals the receiver channel bandwidth (set in FILTER register) divided by 8, as the filter output rate is twice the receiver channel bandwidth. This gives the minimum waiting time between RSSI register reads (0.5 ms is used below). TI recommends the following image calibration procedure: 1. Define 3 variables: XP = 0, XG = 0 and DX = 64. Go to step 3. 2. Set DX = DX/2. 3. Write XG to GAIN_COMP register. If XP + 2 × DX < 127, then write XP + 2 × DX to PHASE_COMP register else write 127 to PHASE_COMP register. 4. Wait at least 3 ms. Measure signal strength Y4 as filtered average of 8 reads from RSSI register with 0.5 ms of delay between each RSSI read. 5. Write XP+DX to PHASE_COMP register. 6. Wait at least 3 ms. Measure signal strength Y3 as filtered average of 8 reads from RSSI register with 0.5 ms of delay between each RSSI read. 7. Write XP to PHASE_COMP register. 8. Wait at least 3 ms. Measure signal strength Y2 as filtered average of 8 reads from RSSI register with 0.5 ms of delay between each RSSI read. 9. Write XP-DX to PHASE_COMP register. 10. Wait at least 3 ms. Measure signal strength Y1 as filtered average of 8 reads from RSSI register with 0.5 ms of delay between each RSSI read. 11. Write XP – 2 × DX to PHASE_COMP register. 12. Wait at least 3 ms. Measure signal strength Y0 as filtered average of 8 reads from RSSI register with 0.5 ms of delay between each RSSI read. 13. Set AP = 2 × (Y0 – Y2 + Y4) – (Y1 + Y3). 14. If AP > 0 then set DP = ROUND ( 7 × DX × (2 × (Y0 – Y4) + Y1 – Y3) / (10 × AP)) else if Y0 + Y1 > Y3 + Y4 then set DP = DX else set DP = –DX. 15. If DP > DX then set DP = DX else if DP < –DX then set DP = –DX. 16. Set XP = XP + DP. 17. Write XP to PHASE_COMP register. 30 Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 Not Recommended for New Designs NRND CC1021 www.ti.com 18. SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 If XG + 2 × DX < 127 then write XG + 2 × DX to GAIN_COMP register else write 127 to GAIN_COMP register. 19. Wait at least 3 ms. Measure signal strength Y4 as 0.5 ms of delay between each RSSI read. 20. Write XG + DX to GAIN_COMP register. 21. Wait at least 3 ms. Measure signal strength Y3 as 0.5 ms of delay between each RSSI read. 22. Write XG to GAIN_COMP register. 23. Wait at least 3 ms. Measure signal strength Y2 as 0.5 ms of delay between each RSSI read. 24. Write XG – DX to GAIN_COMP register. 25. Wait at least 3 ms. Measure signal strength Y1 as 0.5 ms of delay between each RSSI read. 26. Write XG – 2 × DX to GAIN_COMP register. 27. Wait at least 3 ms. Measure signal strength Y0 as 0.5 ms of delay between each RSSI read. 28. Set AG = 2 × (Y0 – Y2 + Y4) – (Y1 + Y3). 29. If AG > 0 then filtered average of 8 reads from RSSI register with filtered average of 8 reads from RSSI register with filtered average of 8 reads from RSSI register with filtered average of 8 reads from RSSI register with filtered average of 8 reads from RSSI register with set DG = ROUND (7 × DX × (2 × (Y0 – Y4) + Y1 – Y3) / (10 × AG) else if Y0 + Y1 > Y3 + Y4 then set DG = DX else set DG = –DX. 30. If DG > DX then set DG = DX else if DG < –DX then set DG = –DX 31. Set XG = XG + DG. 32. If DX > 1 then go to step 2. 33. Write XP to PHASE_COMP register and XG to GAIN_COMP register. If repeated calibration gives varying results, try to change the input level or increase the number of RSSI reads N. A good starting point is N=8. As accuracy is more important in the last fine-calibration steps, it can be worthwhile to increase N for each loop iteration. For high frequency deviation and high data rates (typically ≥ 76.8 kBaud) the analog filter succeeding the mixer must be bypassed by setting FILTER_BYPASS = 1 in the FILTER register. In this case the image rejection is degraded. The image rejection is reduced for low supply voltages (typically < 2.5 V) when operating in the 402 to 470 MHz frequency range. Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 31 Not Recommended for New Designs NRND CC1021 SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 5.9.7 www.ti.com Blocking and Selectivity Figure 5-13 shows the blocking/selectivity for 102.4 kHz channel filter bandwidth at 433 MHz and 19.2 kBaud data rate. Figure 5-14 shows the blocking/selectivity for 102.4 kHz channel filter bandwidth at 433 MHz and 38.4 kBaud data rate. Figure 5-15 shows the blocking/selectivity for 102.4 kHz channel filter bandwidth at 868 MHz and 19.2 kBaud data rate. Figure 5-16 shows the blocking/selectivity for 102.4 kHz channel filter bandwidth at 868 MHz and 38.4 kBaud data rate. The blocking rejection is the ratio between a blocker (interferer) and a wanted signal 3 dB above the sensitivity limit. Figure 5-13. Typical Blocker Rejection. Carrier Frequency Set to 434.3072 MHz (102.4 kHz Channel Filter Bandwidth, 19.2 kBaud) Figure 5-14. Typical Blocker Rejection. Carrier Frequency Set to 434.3072 MHz (102.4 kHz Channel Filter Bandwidth, 38.4 kBaud) Figure 5-15. Typical Blocker Rejection. Carrier Frequency Set to 868.3072 MHz (102.4 kHz Channel Filter Bandwidth, 19.2 kBaud) Figure 5-16. Typical Blocker Rejection. Carrier Frequency Set to 868.3072 MHz (102.4 kHz Channel Filter Bandwidth, 38.4 kBaud) 32 Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 Not Recommended for New Designs NRND CC1021 www.ti.com 5.9.8 SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 Linear IF Chain and AGC Settings The CC1021 device is based on a linear IF chain where the signal amplification is done in an analog VGA (Variable Gain Amplifier). The gain is controlled by the digital part of the IF chain after the ADC (Analog to Digital Converter). The AGC (Automatic Gain Control) loop ensures that the ADC operates inside its dynamic range by using an analog/digital feedback loop. The maximum VGA gain is programmed by the VGA_SETTING[4:0] in the VGA3 register. The VGA gain is programmed in approximately 3 dB/LSB. The VGA gain should be set so that the amplified thermal noise from the front-end balance the quantization noise from the ADC. Therefore the optimum maximum VGA gain setting will depend on the channel filter bandwidth. A digital RSSI is used to measure the signal strength after the ADC. The CS_LEVEL[4:0] in the VGA4 register is used to set the nominal operating point of the gain control (and also the carrier sense level). Further explanation can be found in Figure 5-17. The VGA gain will be changed according to a threshold set by the VGA_DOWN[2:0] in the VGA3 register and the VGA_UP[2:0] in the VGA4 register. Together, these two values specify the signal strength limits used by the AGC to adjust the VGA gain. To avoid unnecessary tripping of the VGA, an extra hysteresis and filtering of the RSSI samples can be added. The AGC_HYSTERESIS bit in the VGA2 register enables this. The time dynamics of the loop can be altered by the VGA_BLANKING bit in the ANALOG register, and VGA_FREEZE[1:0] and VGA_WAIT[2:0] bits in the VGA1 register. When VGA_BLANKING is activated, the VGA recovery time from DC offset spikes after a gain step is reduced. VGA_FREEZE determines the time to hold bit synchronization, VGA and RSSI levels after one of these events occur: • RX power-up • The PLL has been out of lock • Frequency register setting is switched between A and B This feature is useful to avoid AGC operation during start-up transients and to ensure minimum dwell time using frequency hopping. This means that bit synchronization can be maintained from hop to hop. VGA_WAIT determines the time to hold the present bit synchronization and RSSI levels after changing VGA gain. This feature is useful to avoid AGC operation during the settling of transients after a VGA gain change. Some transients are expected due to DC offsets in the VGA. At the sensitivity limit, the VGA gain is set by VGA_SETTING. In order to optimize selectivity, this gain should not be set higher than necessary. The SmartRF™ Studio software gives the settings for VGA1 through VGA4 registers. For reference, the following method can be used to find the AGC settings: 1. Disable AGC and use maximum LNA2 gain by writing BFh to the VGA2 register. Set minimum VGA gain by writing to the VGA3 register with VGA_SETTING = 0. 2. Apply no RF input signal, and measure ADC noise floor by reading the RSSI register. 3. Apply no RF input signal, and write VGA3 register with increasing VGA_SETTING value until the RSSI register value is approximately 4 larger than the value read in step 2. This places the front-end noise floor around 6 dB above the ADC noise floor. 4. Apply an RF signal with strength equal the desired carrier sense threshold. The RF signal should preferably be modulated with correct Baud rate and deviation. Read the RSSI register value, subtract 8, and write to CS_LEVEL in the VGA4 register. Vary the RF signal level slightly and check that carrier sense indication (bit 3 in STATUS register) switches at the desired input level. Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 33 Not Recommended for New Designs NRND CC1021 SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 www.ti.com 5. If desired, adjust the VGA_UP and VGA_DOWN settings according to the explanation in Figure 5-17. 6. Enable AGC and select LNA2 gain change level. Write 55h to VGA2 register if the resulting VGA_SETTING>10. Otherwise, write 45h to VGA2. Modify AGC_AVG in the above VGA2 value if faster carrier sense and AGC settling is desired. RSSI Level Note that the AGC works with "raw" filter output signal strength, while the RSSI readout value is compensated for VGA gain changes by the AGC. The AGC keeps the signal strength in this range. Minimize VGA_DOWN for best selectivity, but leave some margin to avoid frequent VGA gain changes during reception. The AGC keeps the signal strength above carrier sense level + VGA_UP. Minimize VGA_UP for best selectivity, but increase if first VGA gain reduction occurs too close to the noise floor. (signal strength, 1.5dB/step) AGC decreases gain if above this level (unless at minimum). VGA_DOWN+3 AGC increases gain if below this level (unless at maximum). VGA_UP Carrier sense is turned on here. To set CS_LEVEL, subtract 8 from RSSI readout with RF input signal at desired carrier sense level. CS_LEVEL+8 Zero level depends on front-end settings and VGA_SETTING value. 0 Figure 5-17. Relationship Between RSSI, Carrier Sense Level, and AGC Settings CS_LEVEL, VGA_UP and VGA_DOWN 5.9.9 AGC Settling After turning on the RX chain, the following occurs: A. The AGC waits 16-128 ADC_CLK (1.2288 MHz) periods, depending on the VGA_FREEZE setting in the VGA1 register, for settling in the analog parts. B. The AGC waits 16-48 FILTER_CLK periods, depending on the VGA_WAIT setting in the VGA1 register, for settling in the analog parts and the digital channel filter. C. The AGC calculates the RSSI value as the average magnitude over the next 2-16 FILTER_CLK periods, depending of the AGC_AVG setting in the VGA2 register. D. If the RSSI value is higher than CS_LEVEL+8, then the carrier sense indicator is set (if CS_SET = 0). If the RSSI value is too high according to the CS_LEVEL, VGA_UP and VGA_DOWN settings, and the VGA gain is not already at minimum, then the VGA gain is reduced and the AGC continues from B). E. If the RSSI value is too low according to the CS_LEVEL and VGA_UP settings, and the VGA gain is not already at maximum (given by VGA_SETTING), then the VGA gain is increased and the AGC continues from B). Two to three VGA gain changes should be expected before the AGC has settled. Increasing AGC_AVG increases the settling time, but may be worthwhile if there is the time in the protocol, and for reducing false wake-up events when setting the carrier sense close to the noise floor. The AGC settling time depends on the FILTER_CLK (= 2 × ChBW). Thus, there is a trade off between AGC settling time and receiver sensitivity because the AGC settling time can be reduced for data rates lower than 76.8 kBaud by using a wider receiver channel filter bandwidth (that is, larger ChBW). 34 Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 Not Recommended for New Designs NRND CC1021 www.ti.com SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 5.9.10 Preamble Length and Sync Word The rules for choosing a good sync word are as follows: 1. The sync word should be significantly different from the preamble. 2. A large number of transitions is good for the bit synchronization or clock recovery. Equal bits reduce the number of transitions. The recommended sync word has at the most 3 equal bits in a row. 3. Autocorrelation. The sync word should not repeat itself, as this will increase the likelihood for errors. 4. In general the first bit of sync should be opposite of last bit in preamble, to achieve one more transition. The recommended sync words for the CC1021 device are 2 bytes (D391), 3 bytes (D391DA) or 4 bytes (D391DA26) and are selected as the best compromise of the above criteria. Using the register settings provided by the SmartRF™ Studio software, packet error rates (PER) less than 0.5% can be achieved when using 24 bits of preamble and a 16 bit sync word (D391). Using a preamble longer than 24 bits will improve the PER. When performing the PER measurements described above the packet format consisted of 10 bytes of random data, 2 bytes CRC and 1 dummy byte in addition to the sync word and preamble at the start of each package. For the test, 1000 packets were sent 10 times. The transmitter was put in power down between each packet. Any bit error in the packet, either in the sync word, in the data or in the CRC caused the packet to be counted as a failed packet. 5.9.11 Carrier Sense The carrier sense signal is based on the RSSI value and a programmable threshold. The carrier sense function can be used to simplify the implementation of a CSMA (Carrier Sense Multiple Access) medium access protocol. Carrier sense threshold level is programmed by CS_LEVEL[4:0] in the VGA4 register and VGA_SETTING[4:0] in the VGA3 register. VGA_SETTING[4:0] sets the maximum gain in the VGA. This value must be set so that the ADC works with optimum dynamic range for a certain channel filter bandwidth. The detected signal strength (after the ADC) will therefore depend on this setting. CS_LEVEL[4:0] sets the threshold for this specific VGA_SETTING[4:0] value. If the VGA_SETTING[4:0] is changed, the CS_LEVEL[4:0] must be changed accordingly to maintain the same absolute carrier sense threshold. See Figure 5-17 for an explanation of the relationship between RSSI, AGC and carrier sense settings. The carrier sense signal can be read as the CARRIER_SENSE bit in the STATUS register. The carrier sense signal can also be made available at the LOCK pin by setting LOCK_SELECT[3:0] = 0100 in the LOCK register. Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 35 Not Recommended for New Designs NRND CC1021 SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 www.ti.com 5.9.12 Automatic Power-Up Sequencing The CC1021 device has a built-in automatic power-up sequencing state machine. By setting the CC1021 device into this mode, the receiver can be powered-up automatically by a wake-up signal and will then check for a carrier signal (carrier sense). If carrier sense is not detected, it returns to power-down mode. A flow chart for automatic power-up sequencing is shown in Figure 5-18. The automatic power-up sequencing mode is selected when PD_MODE[1:0] = 11 in the MAIN register. When the automatic power-up sequencing mode is selected, the functionality of the MAIN register is changed and used to control the sequencing. By setting SEQ_PD = 1 in the MAIN register, the CC1021 device is set in power down mode. If SEQ_PSEL = 1 in the SEQUENCING register the automatic power-up sequence is initiated by a negative transition on the PSEL pin. If SEQ_PSEL = 0 in the SEQUENCING register, then the automatic power-up sequence is initiated by a negative transition on the DIO pin (as long as SEP_DI_DO = 1 in the INTERFACE register). Sequence timing is controlled through RX_WAIT[2:0] and CS_WAIT[3:0] in the SEQUENCING register. VCO and PLL calibration can also be done automatically as a part of the sequence. This is controlled through SEQ_CAL[1:0] in the MAIN register. Calibration can be done every time, every 16th sequence, every 256th sequence, or never. See the register description for details. A description of when to do, and how the VCO and PLL self-calibration is done, is given in Section 5.12.2. 5.9.13 Automatic Frequency Control The CC1021 device has a built-in feature called AFC (Automatic Frequency Control) that can be used to compensate for frequency drift. The average frequency offset of the received signal (from the nominal IF frequency) can be read in the AFC register. The signed (2-complement) 8-bit value AFC[7:0] can be used to compensate for frequency offset between transmitter and receiver. The frequency offset is given by Equation 22. Baud rate DF = AFC ´ 16 (22) The receiver can be calibrated against the transmitter by changing the operating frequency according to the measured offset. The new frequency must be calculated and written to the FREQ register by the microcontroller. The AFC can be used for an FSK/GFSK signal, but not for OOK. The AFC feature reduces the crystal accuracy requirement. 36 Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 Not Recommended for New Designs NRND CC1021 www.ti.com SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 Turn on crystal oscillator/bias Frequency synthesizer off Receive chain off Sequencing wake-up event (negative transition on PSEL pin or DIO pin) Power down Crystal oscillator and bias off Frequency synthesizer off Receive chain off Crystal oscillator and bias on Turn on frequency synthesizer Receive chain off Wait for PLL lock or timeout, 127 filter clocks PLL timeout Set SEQ_ERROR flag in STATUS register Optional calibration Programmable: each time, once in 16, or once in 256 Receive chain off PLL in lock Optional waiting time before turning on receive chain Programmable: 32-256 ADC clocks Crystal oscillator and bias on Frequency synthesizer on Turn on receive chain Wait for carrier sense or timeout Programmable: 20-72 filter clocks Carrier sense timeout Carrier sense Receive mode Sequencing power-down event Crystal oscillator and bias on Frequency synthesizer on (Positive transition on SEQ_PD in MAIN register) Receive chain on A. B. Filter clock (FILTER_CLK):ffilter_clock = 2 × ChBW where ChBW is defined in Section 5.9.2. ADC clock (ADC_CLK): fADC = fxoscx 2 ´ (ADC _ DIV [2 : 0] + 1) where ADC_DIV[2:0] is set in the MODEM register. Figure 5-18. Automatic Power-Up Sequencing Flow Chart Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 37 Not Recommended for New Designs NRND CC1021 SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 www.ti.com 5.9.14 Digital FM It is possible to read back the instantaneous IF from the FM demodulator as a frequency offset from the nominal IF frequency. This digital value can be used to perform a pseudo analog FM demodulation. The frequency offset can be read from the GAUSS_FILTER register and is a signed 8-bit value coded as 2-complement. The instantaneous deviation is given by Equation 23. Baud rate F = GAUSS _ FILTER ´ 8 (23) The digital value should be read from the register and sent to a DAC and filtered in order to get an analog audio signal. The internal register value is updated at the MODEM_CLK rate. MODEM_CLK is available at the LOCK pin when LOCK_SELECT[3:0] = 1101 in the LOCK register, and can be used to synchronize the reading. For audio (300 to 4000 Hz) the sampling rate should be higher than or equal to 8 kHz (Nyquist) and is determined by the MODEM_CLK. The MODEM_CLK, which is the sampling rate, equals 8 times the baud rate. That is, the minimum baud rate, which can be programmed, is 1 kBaud. However, the incoming data will be filtered in the digital domain and the 3-dB cut-off frequency is 0.6 times the programmed Baud rate. Thus, for audio the minimum programmed Baud rate should be approximately 7.2 kBaud. The GAUSS_FILTER resolution decreases with increasing baud rate. A accumulate and dump filter can be implemented in the uC to improve the resolution. NOTE Each GAUSS_FILTER reading should be synchronized to the MODEM_CLK. As an example, accumulating four readings and dividing the total by 4 will improve the resolution by 2 bits. Furthermore, to fully utilize the GAUSS_FILTER dynamic range the frequency deviation must be 16 times the programmed baud rate. 5.10 Transmitter 5.10.1 FSK Modulation Formats The data modulator can modulate FSK, which is a two level FSK (Frequency Shift Keying), or GFSK, which is a Gaussian filtered FSK with BT = 0.5. The purpose of the GFSK is to make a more bandwidth efficient system. The modulation and the Gaussian filtering are done internally in the chip. The TX_SHAPING bit in the DEVIATION register enables the GFSK. Figure 5-19 shows a typical eye diagram for 153.6 kBaud data rate at 868 MHz operation. 38 Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 Not Recommended for New Designs NRND CC1021 www.ti.com SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 Figure 5-19. GFSK Eye Diagram. 153.6 kBaud, NRZ, ±79.2 kHz Frequency Deviation. 5.10.2 Output Power Programming The RF output power from the device is programmable by the 8-bit PA_POWER register. Figure 5-20 and Figure 5-21 show the output power and total current consumption as a function of the PA_POWER register setting. It is more efficient in terms of current consumption to use either the lower or upper 4-bits in the register to control the power, as shown in Figure 5-20 and Figure 5-21. However, the output power can be controlled in finer steps using all the available bits in the PA_POWER register. Figure 5-20. Typical Output Power and Current Consumption, 433 MHz Figure 5-21. Typical Output Power and Current Consumption, 868 MHz 5.10.3 TX Data Latency The transmitter will add a delay due to the synchronization of the data with DCLK and further clocking into the modulator. The user should therefore add a delay equivalent to at least 2 bits after the data payload has been transmitted before switching off the PA (that is, before stopping the transmission). Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 39 Not Recommended for New Designs NRND CC1021 SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 www.ti.com 5.10.4 Reducing Spurious Emission and Modulation Bandwidth Modulation bandwidth and spurious emission are normally measured with the PA continuously on and a repeated test sequence. In cases where the modulation bandwidth and spurious emission are measured with the CC1021 device switching from power down mode to TX mode, a PA ramping sequence could be used to minimize modulation bandwidth and spurious emission. PA ramping should then be used both when switching the PA on and off. A linear PA ramping sequence can be used where register PA_POWER is changed from 00h to 0Fh and then from 50h to the register setting that gives the desired output power (for example, F0h for +10 dBm output power at 433 MHz operation). The longer the time per PA ramping step the better, but setting the total PA ramping time equal to 2 bit periods is a good compromise between performance and PA ramping time. 5.11 Input and Output Matching and Filtering When designing the impedance matching network for the CC1021 device, the circuit must be matched correctly at the harmonic frequencies as well as at the fundamental tone. A recommended matching network is shown in Figure 5-22. Component values for various frequencies are given in Table 5-8. Component values for other frequencies can be found using the SmartRF™ Studio software. As can be seen from Figure 5-22 and Table 5-8, the 433 MHz network utilizes a T-type filter, while the 868/915 MHz network has a π-type filter topology. It is important to remember that the physical layout and the components used contribute significantly to the reflection coefficient, especially at the higher harmonics. For this reason, the frequency response of the matching network should be measured and compared to the response of the TI reference design. Refer to Figure 5-24 and Table 5-9 as well as Figure 5-25 and Table 5-10. The use of an external T/R switch reduces current consumption in TX for high output power levels and improves the sensitivity in RX. A recommended application circuit is available from the TI web site (CC1020EMX). The external T/R switch can be omitted in certain applications, but performance will then be degraded. The match can also be tuned by a shunt capacitor array at the PA output (RF_OUT). The capacitance can be set in 0.4 pF steps and used either in RX mode or TX mode. The RX_MATCH[3:0] and TX_MATCH[3:0] bits in the MATCH register control the capacitor array. Table 5-8. Component Values for the Matching Network Described in Figure 5-22 (1) 40 ITEM 433 MHz 868 MHz 915 MHz C1 10 pF, 5%, NP0, 0402 47 pF, 5%, NP0, 0402 47 pF, 5%, NP0, 0402 C3 5.6 pF, 5%, NP0, 0402 10 pF, 5%, NP0, 0402 10 pF, 5%, NP0, 0402 C60 220 pF, 5%, NP0, 0402 220 pF, 5%, NP0, 0402 220 pF, 5%, NP0, 0402 C71 DNM (1) 8.2 pF 5%, NP0, 0402 8.2 pF 5%, NP0, 0402 C72 4.7 pF, 5%, NP0, 0402 8.2 pF 5%, NP0, 0402 8.2 pF 5%, NP0, 0402 L1 33 nH, 5%, 0402 82 nH, 5%, 0402 82 nH, 5%, 0402 L2 22 nH, 5%, 0402 3.6 nH, 5%, 0402 3.6 nH, 5%, 0402 L70 47 nH, 5%, 0402 5.1 nH, 5%, 0402 5.1 nH, 5%, 0402 L71 39 nH, 5%, 0402 0 Ω resistor, 0402 0 Ω resistor, 0402 R10 82 Ω, 5%, 0402 82 Ω, 5%, 0402 82 Ω, 5%, 0402 DNM = Do Not Mount Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 Not Recommended for New Designs NRND CC1021 www.ti.com SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 AVDD = 3 V R10 CC1021 C60 ANTENNA L2 L70 C3 RF_OUT C71 RF_IN L71 C72 C1 T/R SWITCH L1 Figure 5-22. Input and Output Matching Network Figure 5-23. Typical LNA Input Impedance, 200 to 1000 MHz Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 41 Not Recommended for New Designs NRND CC1021 SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 www.ti.com Figure 5-24. Typical Optimum PA Load Impedance, 433 MHz. The frequency is swept from 300 MHz to 2500 MHz. Values are listed in Table 5-9 Table 5-9. Impedances at the First 5 Harmonics (433 MHz Matching Network) 42 FREQUENCY (MHz) REAL (Ohms) 433 54 44 866 20 173 1299 288 –563 1732 14 –123 2165 5 –66 Detailed Description IMAGINARY (Ohms) Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 Not Recommended for New Designs NRND CC1021 www.ti.com SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 Figure 5-25. Typical Optimum PA Load Impedance, 868/915 MHz. The frequency is swept from 300 MHz to 2800 MHz. Values are listed in Table 5-10 Table 5-10. Impedances at the First 3 Harmonics (868/915 MHz Matching Network) FREQUENCY (MHz) REAL (Ohms) IMAGINARY (Ohms) 868 15 24 915 20 35 1736 1.5 18 1830 1.7 22 2604 3.2 44 2745 3.6 45 Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 43 Not Recommended for New Designs NRND CC1021 SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 www.ti.com 5.12 Frequency Synthesizer 5.12.1 VCO, Charge Pump, and PLL Loop Filter The VCO is completely integrated and operates in the 1608 to 1880 MHz range. A frequency divider is used to get a frequency in the UHF range (402 to 470 and 804 to 930 MHz). The BANDSELECT bit in the ANALOG register selects the frequency band. The VCO frequency is given by Equation 24. FREQ + 0.5 ´ DITHER ö æ f VCO = f ref ´ ç 3 + ÷ 8192 è ø (24) The VCO frequency is divided by 2 and by 4 to generate frequencies in the two bands, respectively. The VCO sensitivity (sometimes referred to as VCO gain) varies over frequency and operating conditions. Typically the VCO sensitivity varies between 12 and 36 MHz/V. For calculations the geometrical mean at 21 MHz/V can be used. The PLL calibration (explained below) measures the actual VCO sensitivity and adjusts the charge pump current accordingly to achieve correct PLL loop gain and bandwidth (higher charge pump current when VCO sensitivity is lower). Equation 25 through Equation 29 can be used for calculating PLL loop filter component values, see Figure 6-1, for a desired PLL loop bandwidth, BW. æ f ö C7 = 3037 ç ref 2 ÷ - 7 [pF] è BW ø (25) æ BW ö R2 = 7126 ç ÷ [kW ] è fref ø (26) æ f ö C6 = 80.75 ç ref 2 ÷ [nF] è BW ø (27) æ BW ö R3 = 21823 ç ÷ [kW ] è fref ø (28) æ f ö C8 = 839 ç ref 2 ÷ - 6 [pF] è BW ø (29) Define a minimum PLL loop bandwidth as shown in Equation 30. BWmin = 80.75 ´ f ref 220 (30) If BWmin > Baud rate/3 then set BW = BWmin and if BWmin < Baud rate/3 then set BW = Baud rate/3 in Equation 25 through Equation 29. There is one special case when using the recommended 14.7456 MHz crystal: If the data rate is 4.8 kBaud or below the following loop filter components are recommended: C6 = 100 nF C7 = 3900 pF C8 = 1000 pF R2 = 2.2 kΩ R3 = 6.8 kΩ After calibration, the PLL bandwidth is set by the PLL_BW register in combination with the external loop filter components calculated above. The PLL_BW can be found from Equation 31. æ f ref ö PLL _ BW = 174 + 16 log2çç ÷÷ è 7.126 ø (31) 44 Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 Not Recommended for New Designs NRND CC1021 www.ti.com SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 Where: fref is the reference frequency (in MHz). The PLL loop filter bandwidth increases with increasing PLL_BW setting. After calibration, the applied charge pump current (CHP_CURRENT[3:0]) can be read in the STATUS1 register. The charge pump current is approximately given by Equation 32. I CHP = 16 ´ 2CHP _ CURRENT / 4 [mA] (32) The combined charge pump and phase detector gain (in A/rad) is given by the charge pump current divided by 2π. The PLL bandwidth will limit the maximum modulation frequency and hence, data rate. 5.12.2 VCO and PLL Self-Calibration To compensate for supply voltage, temperature and process variations, the VCO and PLL must be calibrated. The calibration is performed automatically and sets the maximum VCO tuning range and optimum charge pump current for PLL stability. After setting up the device at the operating frequency, the self-calibration can be initiated by setting the CAL_START bit in the CALIBRATE register. The calibration result is stored internally in the chip, and is valid as long as power is not turned off. If large supply voltage drops (typically more than 0.25 V) or temperature variations (typically more than 40°C) occur after calibration, a new calibration should be performed. The nominal VCO control voltage is set by the CAL_ITERATE[2:0] bits in the CALIBRATE register. The CAL_COMPLETE bit in the STATUS register indicates that calibration has finished. The calibration wait time (CAL_WAIT) is programmable and is proportional to the internal PLL reference frequency. The highest possible reference frequency should be used to get the minimum calibration time. It is recommended to use CAL_WAIT[1:0] = 11 in order to get the most accurate loop bandwidth. Table 5-11. Typical Calibration Times CALIBRATION TIME [MS] REFERENCE FREQUENCY [MHz] CAL_WAIT 1.8432 7.3728 9.8304 0 49 ms 12 ms 10 ms 1 60 ms 15 ms 11 ms 10 71 ms 18 ms 13 ms 11 109 ms 27 ms 20 ms The CAL_COMPLETE bit can also be monitored at the LOCK pin, configured by LOCK_SELECT[3:0] = 0101, and used as an interrupt input to the microcontroller. To check that the PLL is in lock the user should monitor the LOCK_CONTINUOUS bit in the STATUS register. The LOCK_CONTINUOUS bit can also be monitored at the LOCK pin, configured by LOCK_SELECT[3:0] = 0010. There are separate calibration values for the two frequency registers. However, dual calibration is possible if all of the following conditions apply: • The two frequencies A and B differ by less than 1 MHz. • Reference frequencies are equal (REF_DIV_A[2:0] = REF_DIV_B[2:0] in the CLOCK_A/CLOCK_B registers). • VCO currents are equal (VCO_CURRENT_A[3:0] = VCO_CURRENT_B[3:0] in the VCO register). The CAL_DUAL bit in the CALIBRATE register controls dual or separate calibration. Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 45 Not Recommended for New Designs NRND CC1021 SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 www.ti.com The single calibration algorithm (CAL_DUAL=0) using separate calibration for RX and TX frequency is illustrated in Figure 5-26. The same algorithm is applicable for dual calibration if CAL_DUAL=1. TI recommends that single calibration be used for more robust operation. There is a finite possibility that the PLL self-calibration will fail. The calibration routine in the source code should include a loop so that the PLL is re-calibrated until PLL lock is achieved if the PLL does not lock the first time. Refer to CC1021 Errata Note 002, available in the CC1021 product folder. Start single calibration fref is the reference frequency (in MHz) Write FREQ_A, FREQ_B, VCO, CLOCK_A and CLOCK_B registers. PLL_BW = 174 + 16log2(fref/7.126) Calibrate RX frequency register A (to calibrate TX frequency register B write MAIN register = D1h). Register CALIBRATE = 34h Write MAIN register = 11h: RXTX=0, F_REG=0, PD_MODE=1, FS_PD=0, CORE_PD=0, BIAS_PD=0, RESET_N=1 Write CALIBRATE register = B4h Start calibration Wait for T≥100 us Read STATUS register and wait until CAL_COMPLETE=1 Read STATUS register and wait until LOCK_CONTINUOUS=1 No Calibration OK? Yes End of calibration Figure 5-26. Single Calibration Algorithm for RX and TX 46 Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 Not Recommended for New Designs NRND CC1021 www.ti.com SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 5.12.3 PLL Turn-on Time versus Loop Filter Bandwidth If calibration has been performed, the PLL turn-on time is the time needed for the PLL to lock to the desired frequency when going from power down mode (with the crystal oscillator running) to TX or RX mode. The PLL turn-on time depends on the PLL loop filter bandwidth. Table 5-12 gives the PLL turn-on time for different PLL loop filter bandwidths. Table 5-12. Typical PLL Turn-On Time to Within Specified Accuracy for Different Loop Filter Bandwidths LOOP FILTER NO. C6 [nF] C7 [pF] C8 [pF] R2 [kΩ] R3 [kΩ] PLL TURN-ON TIME [µs] 1 56 2200 560 3.3 10 1400 Up to 9.6 kBaud data rate ±5 kHz settling accuracy 2 15 560 150 5.6 18 1300 Up to 19.2 kBaud data rate ±10 kHz settling accuracy 3 3.9 120 33 12 39 1080 Up to 38.4 kBaud data rate ±15 kHz settling accuracy 4 1.0 27 3.3 27 82 950 Up to 76.8 kBaud data rate ±20 kHz settling accuracy 5 0.2 1.5 — 47 150 700 Up to 153.6 kBaud data rate ±50 kHz settling accuracy COMMENT 5.12.4 PLL Lock Time versus Loop Filter Bandwidth If calibration has been performed, the PLL lock time is the time needed for the PLL to lock to the desired frequency when going from RX to TX mode or vice versa. The PLL lock time depends on the PLL loop filter bandwidth. Table 5-13 gives the PLL lock time for different PLL loop filter bandwidths. Table 5-13. Typical PLL Lock Time to Within Specified Accuracy for Different Loop Filter Bandwidths (1) LOOP FILTER NO. C6 [nF] C7 [pF] C8 [pF] R2 [kΩ] R3 [kΩ] 1 2 3 1 56 2200 560 3.3 10 400 140 (50 kHz) 490 Up to 9.6 kBaud data rate ±5 kHz settling accuracy 2 15 560 150 5.6 18 140 70 (100 kHz) 230 Up to 19.2 kBaud data rate ±10 kHz settling accuracy 3 3.9 120 33 12 39 75 50 (150 kHz) 180 Up to 38.4 kBaud data rate ±15 kHz settling accuracy 4 1.0 27 3.3 27 82 30 15 (200 kHz) 55 Up to 76.8 kBaud data rate ±20 kHz settling accuracy 5 0.2 1.5 — 47 150 14 14 (500 kHz) 28 Up to 153.6 kBaud data rate ±50 kHz settling accuracy (1) PLL LOCK TIME [µs] COMMENT 1) 307.2 kHz step, 2) step as given in brackets, 3) 1 MHz step Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 47 Not Recommended for New Designs NRND CC1021 SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 www.ti.com 5.13 VCO and LNA Current Control The VCO current is programmable and should be set according to operating frequency, RX/TX mode and output power. Recommended settings for the VCO_CURRENT bits in the VCO register are shown in Table 5-16 and also given by SmartRF Studio. The VCO current for frequency FREQ_A and FREQ_B can be programmed independently. The bias currents for the LNA, mixer and the LO and PA buffers are also programmable. The FRONTEND and the BUFF_CURRENT registers control these currents. 5.14 Power Management The CC1021 device offers great flexibility for power management in order to meet strict power consumption requirements in battery-operated applications. Power down mode is controlled through the MAIN register. There are separate bits to control the RX part, the TX part, the frequency synthesizer and the crystal oscillator in the MAIN register. This individual control can be used to optimize for lowest possible current consumption in each application. Figure 5-27 shows a typical power-on and initializing sequence for minimum power consumption. Figure 5-28 shows a typical sequence for activating RX and TX mode from power down mode for minimum power consumption. NOTE PSEL should be tri-stated or set to a high level during power down mode in order to prevent a trickle current from flowing in the internal pullup resistor. TI recommends resetting the CC1021 device (by clearing the RESET_N bit in the MAIN register) when the chip is powered up initially. All registers that need to be configured should then be programmed (those which differ from their default values). Registers can be programmed freely in any order. The CC1021 device should then be calibrated in both RX and TX mode. After this is completed, the CC1021 device is ready for use. See the detailed procedure flowcharts in Figure 5-26 through Figure 5-28. NOTE The CC1020 device sub-routines are equally applicable for the CC1021 device. TI recommends the following sequence: After power up: 1. ResetCC1020 2. Initialize 3. WakeUpCC1020ToRX 4. Calibrate 5. WakeUpCC1020ToTX 6. Calibrate After calibration is completed, enter TX mode (SetupCC1020TX), RX mode (SetupCC1020RX) or power down mode (SetupCC1020PD). 48 Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 Not Recommended for New Designs NRND CC1021 www.ti.com SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 From power-down mode to RX: 1. WakeUpCC1020ToRX 2. SetupCC1020RX From power-down mode to TX: 1. WakeUpCC1020ToTX 2. SetupCC1020TX Switching from RX to TX mode: 1. SetupCC1020TX Switching from TX to RX mode: 1. SetupCC1020RX Power Off ResetCC1020 Turn on power Reset CC1021 MAIN: RX_TX=0, F_REG=0, PD_MODE=1, FS_PD=1, XOSC_PD=1, BIAS_PD=1 RESET_N=0 RESET_N=1 WakeupCC1020ToRx/ WakeupCC1020ToTx Program all necessary registers except MAIN and RESET Turn on crystal oscillator, bias generator and synthesizer successively SetupCC1020PD Calibrate VCO and PLL MAIN: PD_MODE=1, FS_PD=1, XOSC_PD=1, BIAS_PD=1 PA_POWER=00h Power Down mode Figure 5-27. Initializing Sequence Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 49 Not Recommended for New Designs NRND CC1021 SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 www.ti.com Turn on bias generator. MAIN: BIAS_PD=0 Wait 150 us RX or TX? TX Turn on frequency synthesizer MAIN: RXTX=0, F_REG=0, FS_PD=0 Turn on frequency synthesizer MAIN: RXTX=1, F_REG=1, FS_PD=0 Wait until lock detected from LOCK pin or STATUS register Turn on RX: MAIN: PD_MODE = 0 Wait until lock detected from LOCK pin or STATUS register Turn on TX: MAIN: PD_MODE = 0 Set PA_POWER RX mode TX mode SetupCC1020PD Turn off RX/TX: MAIN: PD_MODE = 1, FS_PD=1, XOSC_PD=1, BIAS_PD=1 PA_POWER=00h SetupCC1020PD SetupCC1020Rx RX SetupCC1020Tx WakeupCC1020ToRx Turn on crystal oscillator core MAIN: PD_MODE=1, FS_PD=1, XOSC_PD=0, BIAS_PD=1 Wait 1.2 ms* WakeupCC1020ToTx *Time to wait depends on the crystal frequency and the load capacitance Power Down mode Power Down mode Figure 5-28. Sequence for Activating RX or TX Mode 5.15 On-Off Keying (OOK) The data modulator can also provide OOK (On-Off Keying) modulation. OOK is an ASK (Amplitude Shift Keying) modulation using 100% modulation depth. OOK modulation is enabled in RX and in TX by setting TXDEV_M[3:0] = 0000 in the DEVIATION register. An OOK eye diagram is shown in Figure 5-29. The data demodulator can also perform OOK demodulation. The demodulation is done by comparing the signal level with the "carrier sense" level (programmed as CS_LEVEL in the VGA4 register). The signal is then decimated and filtered in the data filter. Data decision and bit synchronization are as for FSK reception. In this mode AGC_AVG in the VGA2 register must be set to 3. The channel bandwidth must be 4 times the Baud rate for data rates up to 9.6 kBaud. For the highest data rates the channel bandwidth must be 2 times the Baud rate (see Table 5-14). Manchester coding must always be used for OOK. 50 Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 Not Recommended for New Designs NRND CC1021 www.ti.com SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 NOTE The automatic frequency control (AFC) cannot be used when receiving OOK, as it requires a frequency shift. The AGC has a certain time-constant determined by FILTER_CLK, which depends on the IF filter bandwidth. There is a lower limit on FILTER_CLK and hence the AGC time constant. For low data rates the minimum time constant is too fast and the AGC will increase the gain when a "0" is received and decrease the gain when a "1" is received. For this reason, the minimum data rate in OOK is 9.6 kBaud. Typical figures for the receiver sensitivity (BER = 10−3) are shown in Table 5-14 for OOK. Figure 5-29. OOK Eye Diagram, 9.6 kBaud Table 5-14. Typical Receiver Sensitivity as a Function of Data Rate at 433 and 868 MHz, OOK Modulation, BER = 10–3, Pseudo-random Data (PN9 Sequence) SENSITIVITY [dBm] DATA RATE [kBaud] FILTER BW [kHz] 433 MHz MANCHESTER MODE 868 MHz MANCHESTER MODE 9.6 38.4 –103 –104 19.2 51.2 –102 –101 38.4 102.4 –95 –97 76.8 153.6 –92 –94 153.6 307.2 –81 –87 5.16 Crystal Oscillator The recommended crystal frequency is 14.7456 MHz, but any crystal frequency in the range 4 to 20 MHz can be used. Using a crystal frequency different from 14.7456 MHz might in some applications give degraded performance. The crystal frequency is used as reference for the data rate (as well as other internal functions) and in the 4 to 20 MHz range the frequencies 4.9152, 7.3728, 9.8304, 12.2880, 14.7456, 17.2032, 19.6608 MHz will give accurate data rates as shown in Table 5-4 and an IF frequency of 307.2 kHz. The crystal frequency will influence the programming of the CLOCK_A, CLOCK_B and MODEM registers. Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 51 Not Recommended for New Designs NRND CC1021 SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 www.ti.com An external clock signal or the internal crystal oscillator can be used as main frequency reference. An external clock signal should be connected to XOSC_Q1, while XOSC_Q2 should be left open. The XOSC_BYPASS bit in the INTERFACE register should be set to ‘1’ when an external digital rail-to-rail clock signal is used. No DC block should be used then. A sine with smaller amplitude can also be used. A DC blocking capacitor must then be used (10 nF) and the XOSC_BYPASS bit in the INTERFACE register should be set to ‘0’. For input signal amplitude, see Section 4.8. Using the internal crystal oscillator, the crystal must be connected between the XOSC_Q1 and XOSC_Q2 pins. The oscillator is designed for parallel mode operation of the crystal. In addition, loading capacitors (C4 and C5) for the crystal are required. The loading capacitor values depend on the total load capacitance, CL , specified for the crystal. The total load capacitance seen between the crystal terminals should equal CL for the crystal to oscillate at the specified frequency. 1 CL = + Cparasitic 1 1 + C4 C5 (33) The parasitic capacitance is constituted by pin input capacitance and PCB stray capacitance. Total parasitic capacitance is typically 8 pF. A trimming capacitor may be placed across C5 for initial tuning if necessary. The crystal oscillator circuit is shown in Figure 5-30. Typical component values for different values of CL are given in Table 5-15. The crystal oscillator is amplitude regulated. This means that a high current is required to initiate the oscillations. When the amplitude builds up, the current is reduced to what is necessary to maintain approximately 600 mVpp amplitude. This ensures a fast start-up, keeps the drive level to a minimum and makes the oscillator insensitive to ESR variations. As long as the recommended load capacitance values are used, the ESR is not critical. The initial tolerance, temperature drift, aging and load pulling should be carefully specified in order to meet the required frequency accuracy in a certain application. By specifying the total expected frequency accuracy in SmartRF™ Studio together with data rate and frequency separation, the software will estimate the total bandwidth and compare to the available receiver channel filter bandwidth. The software will report any contradictions and a more accurate crystal will be recommended if required. XOSC_Q2 XOSC_Q1 XTAL C4 C5 Figure 5-30. Crystal Oscillator Circuit Table 5-15. Crystal Oscillator Component Values 52 ITEM CL = 12 pF CL = 16 pF CL = 22 pF C4 6.8 pF 15 pF 27 pF C5 6.8 pF 15 pF 27 pF Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 Not Recommended for New Designs NRND CC1021 www.ti.com SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 5.17 Built-in Test Pattern Generator The CC1021 device has a built-in test pattern generator that generates a PN9 pseudo random sequence. The PN9_ENABLE bit in the MODEM register enables the PN9 generator. A transition on the DIO pin is required after enabling the PN9 pseudo random sequence. The PN9 pseudo random sequence is defined by the polynomial x9 + x5 + 1. The PN9 sequence is ‘XOR’ed with the DIO signal in both TX and RX mode as shown in Figure 5-31. Hence, by transmitting only zeros (DIO = 0), the BER (Bit Error Rate) can be tested by counting the number of received ones. NOTE The nine first received bits should be discarded in this case. Also, one bit error will generate three received bit errors. Transmitting only ones (DIO = 1), the BER can be tested by counting the number of received zeroes. The PN9 generator can also be used for transmission of ‘real-life’ data when measuring narrowband ACP (Adjacent Channel Power), modulation bandwidth or occupied bandwidth. Tx pseudo random sequence Tx out (modulating signal) Tx data (DIO pin) XOR 8 7 6 5 4 3 2 1 0 5 4 3 2 1 0 XOR Rx pseudo random sequence Rx in (Demodulated Rx data) 8 7 6 XOR XOR Rx out (DIO pin) Figure 5-31. PN9 Pseudo Random Sequence Generator in TX and RX Mode Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 53 Not Recommended for New Designs NRND CC1021 SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 www.ti.com 5.18 Interrupt on Pin DCLK 5.18.1 Interrupt Upon PLL Lock In synchronous mode, the DCLK pin on the CC1021 device can be used to give an interrupt signal to wake the microcontroller when the PLL is locked. PD_MODE[1:0] in the MAIN register should be set to 01. If DCLK_LOCK in the INTERFACE register is set to 1 the DCLK signal is always logic high if the PLL is not in lock. When the PLL locks to the desired frequency the DCLK signal changes to logic 0. When this interrupt has been detected write PD_MODE[1:0] = 00. This will enable the DCLK signal. This function can be used to wait for the PLL to be locked before the PA is ramped up in transmit mode. In receive mode, it can be used to wait until the PLL is locked before searching for preamble. 5.18.2 Interrupt Upon Received Signal Carrier Sense In synchronous mode, the DCLK pin on the CC1021 device can also be used to give an interrupt signal to the microcontroller when the RSSI level exceeds a certain threshold (carrier sense threshold). This function can be used to wake or interrupt the microcontroller when a strong signal is received. Gating the DCLK signal with the carrier sense signal makes the interrupt signal. This function should only be used in receive mode and is enabled by setting DCLK_CS = 1 in the INTERFACE register. The DCLK signal is always logic high unless carrier sense is indicated. When carrier sense is indicated the DCLK starts running. When gating the DCLK signal with the carrier sense signal at least 2 dummy bits should be added after the data payload in TX mode. The reason being that the carrier sense signal is generated earlier in the receive chain (that is, before the demodulator), causing it to be updated 2 bits before the corresponding data is available on the DIO pin. In transmit mode, DCLK_CS must be set to 0. Refer to CC1021 Errata Note 001, located in the CC1021 product folder. 5.19 PA_EN and LNA_EN Digital Output Pins 5.19.1 Interfacing an External LNA or PA The CC1021 device has two digital output pins, PA_EN and LNA_EN, which can be used to control an external LNA or PA. The functionality of these pins are controlled through the INTERFACE register. The outputs can also be used as general digital output control signals. EXT_PA_POL and EXT_LNA_POL control the active polarity of the signals. EXT_PA and EXT_LNA control the function of the pins. If EXT_PA = 1, then the PA_EN pin will be activated when the internal PA is turned on. Otherwise, the EXT_PA_POL bit controls the PA_EN pin directly. If EXT_LNA = 1, then the LNA_EN pin will be activated when the internal LNA is turned on. Otherwise, the EXT_LNA_POL bit controls the LNA_EN pin directly. These two pins can also be used as two general control signals, see Section 5.19.2. In the TI reference design, LNA_EN and PA_EN are used to control the external T/R switch. 54 Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 Not Recommended for New Designs NRND CC1021 www.ti.com SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 5.19.2 General-Purpose Output Control Pins The two digital output pins, PA_EN and LNA_EN, can be used as two general-purpose control signals by setting EXT_PA = 0 and EXT_LNA = 0. The output value is then set directly by the value written to EXT_PA_POL and EXT_LNA_POL. The LOCK pin can also be used as a general-purpose output pin. The LOCK pin is controlled by LOCK_SELECT[3:0] in the LOCK register. The LOCK pin is low when LOCK_SELECT[3:0] = 0000, and high when LOCK_SELECT[3:0] = 0001. These features can be used to save I/O pins on the microcontroller when the other functions associated with these pins are not used. 5.19.3 PA_EN and LNA_EN Pin Drive Figure 5-32 shows the PA_EN and LNA_EN pin drive currents. The sink and source currents have opposite signs but absolute values are used in Figure 5-32. Figure 5-32. PA_EN and LNA_EN Pin Drive 5.20 System Considerations and Guidelines 5.20.1 SRD Regulations International regulations and national laws regulate the use of radio receivers and transmitters. SRDs (Short Range Devices) for license free operation are allowed to operate in the 433 and 868 to 870 MHz bands in most European countries. In the United States, such devices operate in the 260 to 470 and 902 to 928 MHz bands. Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 55 Not Recommended for New Designs NRND CC1021 SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 www.ti.com 5.20.2 Narrowband Systems The CC1021 device is recommended for narrowband applications with channel spacing of 50 kHz and higher complying with FCC CFR47 part 15 and EN 300 220. The CC1020 device is recommended in narrowband applications with channel spacing of 12.5 or 25 kHz complying with ARIB STD T-67 and EN 300 220. The CC1020 and CC1021 devices are fully compatible for channel spacings of 50 kHz and higher (receiver channel filter bandwidths of 38.4 kHz and higher). Due to on-chip complex filtering, the image frequency is removed. An on-chip calibration circuit is used to get the best possible image rejection. A narrowband preselector filter is not necessary to achieve image rejection. A unique feature in the CC1021 device is the very fine frequency resolution. This can be used for temperature compensation of the crystal if the temperature drift curve is known and a temperature sensor is included in the system. Even initial adjustment can be performed using the frequency programmability. This eliminates the need for an expensive TCXO and trimming in some applications. In less demanding applications, a crystal with low temperature drift and low aging could be used without further compensation. A trimmer capacitor in the crystal oscillator circuit (in parallel with C5) could be used to set the initial frequency accurately. The frequency offset between a transmitter and receiver is measured in the CC1021 device and can be read back from the AFC register. The measured frequency offset can be used to calibrate the receiver frequency using the transmitter as the reference. The CC1021 device also has the possibility to use Gaussian shaped FSK (GFSK). This spectrum-shaping feature improves adjacent channel power (ACP) and occupied bandwidth. In ‘true’ FSK systems with abrupt frequency shifting, the spectrum is inherently broad. By making the frequency shift ‘softer’, the spectrum can be made significantly narrower. Thus, higher data rates can be transmitted in the same bandwidth using GFSK. 5.20.3 Low Cost Systems As the CC1021 device provides true narrowband multi-channel performance without any external filters, a very low cost high performance system can be achieved. The oscillator crystal can then be a low cost crystal with 50 ppm frequency tolerance using the on-chip frequency tuning possibilities. 5.20.4 Battery Operated Systems In low-power applications, the power down mode should be used when the CC1021 device is not being active. Depending on the start-up time requirement, the oscillator core can be powered during power down. See Section 5.14 for information on how effective power management can be implemented. 5.20.5 High Reliability Systems Using a SAW filter as a preselector will improve the communication reliability in harsh environments by reducing the probability of blocking. The receiver sensitivity and the output power will be reduced due to the filter insertion loss. By inserting the filter in the RX path only, together with an external RX/TX switch, only the receiver sensitivity is reduced and output power is remained. The PA_EN and LNA_EN pin can be configured to control an external LNA, RX/TX switch or power amplifier. This is controlled by the INTERFACE register. 56 Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 Not Recommended for New Designs NRND CC1021 www.ti.com SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 5.20.6 Frequency Hopping Spread Spectrum Systems (FHSS) Due to the very fast locking properties of the PLL, the CC1021 device is also very suitable for frequency hopping systems. Hop rates of 1 to 100 hops/s are commonly used depending on the bit rate and the amount of data to be sent during each transmission. The two frequency registers (FREQ_A and FREQ_B) are designed such that the ‘next’ frequency can be programmed while the ‘present’ frequency is used. The switching between the two frequencies is done through the MAIN register. Several features have been included to do the hopping without a need to re-synchronize the receiver. In order to implement a frequency hopping system with the CC1021 device, do the following: 1. Set the desired frequency, calibrate and store the following register settings in non-volatile memory: STATUS1[3:0]: CHP_CURRENT[3:0] STATUS2[4:0]: VCO_ARRAY[4:0] STATUS3[5:0]:VCO_CAL_CURRENT[5:0] 2. Repeat the calibration for each desired frequency. VCO_CAL_CURRENT[5:0] is not dependent on the RF frequency and the same value can be used for all frequencies. When performing frequency hopping, write the stored values to the corresponding TEST1, TEST2 and TEST3 registers, and enable override: TEST1[3:0]: CHP_CO[3:0] TEST2[4:0]: VCO_AO[4:0] TEST2[5]: VCO_OVERRIDE TEST2[6]: CHP_OVERRIDE TEST3[5:0]:VCO_CO[5:0] TEST3[6]:VCO_CAL_OVERRIDE 3. CHP_CO[3:0] is the register setting read from CHP_CURRENT[3:0], VCO_AO[4:0] is the register setting read from VCO_ARRAY[4:0] and VCO_CO[5:0] is the register setting read from VCO_CAL_CURRENT[5:0]. 4. Assume channel 1 defined by register FREQ_A is currently being used and that the CC1021 device should operate on channel 2 next (to change channel simply write to register MAIN[6]). The channel 2 frequency can be set by register FREQ_B which can be written to while operating on channel 1. The calibration data must be written to the TEST1-3 registers after switching to the next frequency. That is, when hopping to a new channel write to register MAIN[6] first and the test registers next. The PA should be switched off between each hop and the PLL should be checked for lock before switching the PA back on after a hop has been performed. NOTE The override bits VCO_OVERRIDE, CHP_OVERRIDE and VCO_CAL_OVERRIDE must be disabled when performing a re-calibration. Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 57 Not Recommended for New Designs NRND CC1021 SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 www.ti.com 5.21 Antenna Considerations The CC1021 device can be used together with various types of antennas. The most common antennas for short-range communication are monopole, helical and loop antennas. Monopole antennas are resonant antennas with a length corresponding to one quarter of the electrical l wavelength ( 4 ). They are very easy to design and can be implemented simply as a “piece of wire” or even integrated onto the PCB. l Non-resonant monopole antennas shorter than 4 can also be used, but at the expense of range. In size and cost critical applications such an antenna may very well be integrated onto the PCB. Helical antennas can be thought of as a combination of a monopole and a loop antenna. They are a good compromise in size critical applications. But helical antennas tend to be more difficult to optimize than the simple monopole. Loop antennas are easy to integrate into the PCB, but are less effective due to difficult impedance matching because of their very low radiation resistance. l For low-power applications, the 4 monopole antenna is recommended due to its simplicity as well as providing the best range. l The length of the 4 monopole antenna is given by: 7125 L= f (34) Where: f is in MHz, giving the length in cm. An antenna for 868 MHz should be 8.2 cm, and 16.4 cm for 433 MHz. The antenna should be connected as close as possible to the IC. If the antenna is located away from the input pin the antenna should be matched to the feeding transmission line (50 Ω). 58 Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 Not Recommended for New Designs NRND CC1021 www.ti.com SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 5.22 Configuration Registers The configuration of the CC1021 device is done by programming the 8-bit configuration registers. The configuration data based on selected system parameters are most easily found by using the SmartRF™ Studio software. Complete descriptions of the registers are given in Section 5.22.1. After a RESET is programmed, all the registers have default values. The TEST registers also get default values after a RESET, and should not be altered by the user. TI recommends using the register settings found using the SmartRF™ Studio software. These are the register settings that TI specifies across temperature, voltage and process. Check the TI web site for regularly updates to the SmartRF Studio software. Table 5-16. CC1021 Device Register Overview ADDRESS ACRONYM REGISTER NAME 00h MAIN 01h INTERFACE Main control register 02h RESET 03h SEQUENCING 04h FREQ_2A Frequency register 2A 05h FREQ_1A Frequency register 1A 06h FREQ_0A Frequency register 0A 07h CLOCK_A Clock generation register A 08h FREQ_2B Frequency register 2B 09h FREQ_1B Frequency register 1B 0Ah FREQ_0B Frequency register 0B 0Bh CLOCK_B Clock generation register B 0Ch VCO VCO current control register 0Dh MODEM Interface control register Digital module reset register Automatic power-up sequencing control register Modem control register 0Eh DEVIATION 0Fh AFC_CONTROL 10h FILTER 11h VGA1 VGA control register 1 12h VGA2 VGA control register 2 13h VGA3 VGA control register 3 14h VGA4 VGA control register 4 15h LOCK Lock control register 16h FRONTEND 17h ANALOG 18h BUFF_SWING 19h BUFF_CURRENT 1Ah PLL_BW TX frequency deviation register RX AFC control register Channel filter / RSSI control register Front end bias current control register Analog modules control register LO buffer and prescaler swing control register LO buffer and prescaler bias current control register PLL loop bandwidth / charge pump current control register 1Bh CALIBRATE PLL calibration control register 1Ch PA_POWER Power amplifier output power register 1Dh MATCH 1Eh PHASE_COMP Phase error compensation control register for LO I/Q 1Fh GAIN_COMP Gain error compensation control register for mixer I/Q 20h POWERDOWN 21h TEST1 Test register for overriding PLL calibration 22h TEST2 Test register for overriding PLL calibration 23h TEST3 Test register for overriding PLL calibration 24h TEST4 Test register for charge pump and IF chain testing Match capacitor array control register, for RX and TX impedance matching Power-down control register Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 59 Not Recommended for New Designs NRND CC1021 SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 www.ti.com Table 5-16. CC1021 Device Register Overview (continued) ADDRESS ACRONYM 25h TEST5 Test register for ADC testing REGISTER NAME 26h TEST6 Test register for VGA testing 27h TEST7 Test register for VGA testing 40h STATUS 41h RESET_DONE 42h RSSI Received signal strength register 43h AFC Average received frequency deviation from IF (can be used for AFC) 44h GAUSS_FILTER 45h STATUS1 Status of PLL calibration results and so on (test only) 46h STATUS2 Status of PLL calibration results and so on (test only) 47h STATUS3 Status of PLL calibration results and so on (test only) 48h STATUS4 Status of ADC signals (test only) 49h STATUS5 Status of channel filter “I” signal (test only) 4Ah STATUS6 Status of channel filter “Q” signal (test only) 4Bh STATUS7 Status of AGC (test only) Status information register (PLL lock, RSSI, calibration ready, and so on) Status register for digital module reset Digital FM demodulator register 5.22.1 Memory Table 5-17. MAIN Register (00h) NAME DEFAULT VALUE ACTIVE MAIN[7] RXTX — — RX/TX switch, 0: RX , 1: TX MAIN[6] F_REG — — Selection of Frequency Register, 0: Register A, 1: Register B MAIN[5:4] PD_MODE[1:0] — — Power down mode REGISTER DESCRIPTION 0 (00): Receive Chain in power-down in TX, PA in power-down in RX 1 (01): Receive Chain and PA in power down in both TX and RX 2 (10): Individual modules can be put in power down by programming the POWERDOWN register 3 (11): Automatic power-up sequencing is activated (see Table 5-18) MAIN[3] FS_PD — H Power Down of Frequency Synthesizer MAIN[2] XOSC_PD — H Power Down of Crystal Oscillator Core MAIN[1] BIAS_PD — H Power Down of BIAS (Global Current Generator) and Crystal Oscillator Buffer MAIN[0] RESET_N — L Reset, active low. Writing RESET_N low will write default values to all other registers than MAIN. Bits in MAIN do not have a default value and will be written directly through the configuration interface. Must be set high to complete reset. Table 5-18. MAIN Register (00h) When Using Automatic Power-up Sequencing (RXTX = 0, PD_MODE[1:0] =11) NAME DEFAULT VALUE ACTIVE MAIN[7] RXTX — — Automatic power-up sequencing only works in RX (RXTX=0) MAIN[6] F_REG — — Selection of Frequency Register, 0: Register A, 1: Register B MAIN[5:4] PD_MODE[1:0] — H Set PD_MODE[1:0]=3 (11) to enable sequencing MAIN[3:2] SEQ_CAL[1:0] — — Controls PLL calibration before re-entering power down REGISTER DESCRIPTION 0: Never perform PLL calibration as part of sequence 1: Always perform PLL calibration at end of sequence 2: Perform PLL calibration at end of every 16th sequence 3: Perform PLL calibration at end of every 256th sequence 60 Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 Not Recommended for New Designs NRND CC1021 www.ti.com SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 Table 5-18. MAIN Register (00h) When Using Automatic Power-up Sequencing (RXTX = 0, PD_MODE[1:0] =11) (continued) REGISTER NAME DEFAULT VALUE ACTIVE MAIN[1] SEQ_PD — ↑ ↑1: Put the chip in power down and wait for start of new power-up sequence MAIN[0] RESET_N — L Reset, active low. Writing RESET_N low will write default values to all other registers than MAIN. Bits in MAIN do not have a default value and will be written directly through the configuration interface. Must be set high to complete reset. DESCRIPTION Table 5-19. INTERFACE Register (01h) (1) REGISTER NAME DEFAULT VALUE ACTIVE INTERFACE[7] XOSC_BYPASS 0 H DESCRIPTION Bypass internal crystal oscillator, use external clock 0: Internal crystal oscillator is used, or external sine wave fed through a coupling capacitor 1: Internal crystal oscillator in power down, external clock with railto-rail swing is used INTERFACE[6] SEP_DI_DO 0 H Use separate pin for RX data output 0: DIO is data output in RX and data input in TX. LOCK pin is available (Normal operation). 1: DIO is always input, and a separate pin is used for RX data output (synchronous mode: LOCK pin, asynchronous mode: DCLK pin). If SEP_DI_DO=1 and SEQ_PSEL=0 in SEQUENCING register then negative transitions on DIO is used to start power-up sequencing when PD_MODE=3 (power-up sequencing is enabled). INTERFACE[5] DCLK_LOCK 0 H Gate DCLK signal with PLL lock signal in synchronous mode Only applies when PD_MODE = “01” 0: DCLK is always 1 1: DCLK is always 1 unless PLL is in lock INTERFACE[4] DCLK_CS 0 H Gate DCLK signal with carrier sense indicator in synchronous mode Use when receive chain is active (in power up) Always set to 0 in TX mode. 0: DCLK is independent of carrier sense indicator. 1: DCLK is always 1 unless carrier sense is indicated INTERFACE[3] EXT_PA 0 H Use PA_EN pin to control external PA 0: PA_EN pin always equals EXT_PA_POL bit 1: PA_EN pin is asserted when internal PA is turned on INTERFACE[2] EXT_LNA 0 H Use LNA_EN pin to control external LNA 0: LNA_EN pin always equals EXT_LNA_POL bit 1: LNA_EN pin is asserted when internal LNA is turned on INTERFACE[1] EXT_PA_POL 0 H Polarity of external PA control 0: PA_EN pin is “0” when activating external PA 1: PA_EN pin is “1” when activating external PA INTERFACE[0] EXT_LNA_POL 0 H Polarity of external LNA control 0: LNA_EN pin is “0” when activating external LNA 1: LNA_EN pin is “1” when activating external LNA (1) If TF_ENABLE=1 or TA_ENABLE=1 in TEST4 register, then INTERFACE[3:0] controls analog test module: INTERFACE[3] = TEST_PD, INTERFACE[2:0] = TEST_MODE[2:0]. Otherwise, TEST_PD=1 and TEST_MODE[2:0]=001. Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 61 Not Recommended for New Designs NRND CC1021 SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 www.ti.com Table 5-20. RESET Register (02h) (1) (2) NAME DEFAULT VALUE ACTIVE RESET[7] ADC_RESET_N 0 L Reset ADC control logic RESET[6] AGC_RESET_N 0 L Reset AGC (VGA control) logic RESET[5] GAUSS_RESET_N 0 L Reset Gaussian data filter RESET[4] AFC_RESET_N 0 L Reset AFC / FSK decision level logic RESET[3] BITSYNC_RESET_N 0 L Reset modulator, bit synchronization logic and PN9 PRBS generator RESET[2] SYNTH_RESET_N 0 L Reset digital part of frequency synthesizer RESET[1] SEQ_RESET_N 0 L Reset power-up sequencing logic RESET[0] CAL_LOCK_RESET_N 0 L Reset calibration logic and lock detector REGISTER (1) (2) DESCRIPTION For reset of the CC1021 device, write RESET_N=0 in the MAIN register. The reset register should not be used during normal operation. Bits in the RESET register are self-clearing (will be set to 1 when the reset operation starts). Relevant digital clocks must be running for the resetting to complete. After writing to the RESET register, the user should verify that all reset operations have been completed, by reading the RESET_DONE status register (41h) until all bits equal 1. Table 5-21. SEQUENCING Register (03h) REGISTER NAME DEFAULT VALUE ACTIVE SEQUENCING[7] SEQ_PSEL 1 H DESCRIPTION Use PSEL pin to start sequencing 0: PSEL pin does not start sequencing. Negative transitions on DIO starts power-up sequencing if SEP_DI_DO=1. 1: Negative transitions on the PSEL pin will start power-up sequencing SEQUENCING[6:4] RX_WAIT[2:0] 0 — Waiting time from PLL enters lock until RX power up 0: Wait for approx. 32 ADC_CLK periods (26 μs) 1: Wait for approx. 44 ADC_CLK periods (36 μs) 2: Wait for approx. 64 ADC_CLK periods (52 μs) 3: Wait for approx. 88 ADC_CLK periods (72 μs) 4: Wait for approx. 128 ADC_CLK periods (104 μs) 5: Wait for approx. 176 ADC_CLK periods (143 μs) 6: Wait for approx. 256 ADC_CLK periods (208 μs) 7: No additional waiting time before RX power up SEQUENCING[3:0] CS_WAIT[3:0] 10 — Waiting time for carrier sense from RX power up 0: Wait 20 FILTER_CLK periods before power down 1: Wait 22 FILTER_CLK periods before power down 2: Wait 24 FILTER_CLK periods before power down 3: Wait 26 FILTER_CLK periods before power down 4: Wait 28 FILTER_CLK periods before power down 5: Wait 30 FILTER_CLK periods before power down 6: Wait 32 FILTER_CLK periods before power down 7: Wait 36 FILTER_CLK periods before power down 8: Wait 40 FILTER_CLK periods before power down 9: Wait 44 FILTER_CLK periods before power down 10: Wait 48 FILTER_CLK periods before power down 11: Wait 52 FILTER_CLK periods before power down 12: Wait 56 FILTER_CLK periods before power down 13: Wait 60 FILTER_CLK periods before power down 14: Wait 64 FILTER_CLK periods before power down 15: Wait 72 FILTER_CLK periods before power down Table 5-22. FREQ_2A Register (04h) REGISTER NAME DEFAULT VALUE ACTIVE FREQ_2A[7:0] FREQ_A[22:15] 131 — 62 DESCRIPTION 8 MSB of frequency control word A Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 Not Recommended for New Designs NRND CC1021 www.ti.com SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 Table 5-23. FREQ_1A Register (05h) REGISTER NAME DEFAULT VALUE ACTIVE FREQ_1A[7:0] FREQ_1A[7:0] 177 — DESCRIPTION Bit 15 to 8 of frequency control word A Table 5-24. FREQ_0A Register (06h) REGISTER NAME DEFAULT VALUE ACTIVE FREQ_0A[7:1] FREQ_A[6:0] 124 — 7 LSB of frequency control word A FREQ_0A[0] DITHER_A 1 H Enable dithering for frequency A DESCRIPTION Table 5-25. CLOCK_A Register (07h) REGISTER NAME DEFAULT VALUE ACTIVE CLOCK_A[7:5] REF_DIV_A[2:0] 2 — DESCRIPTION Reference frequency divisor (A): 0: Not supported 1: REF_CLK frequency = Crystal frequency / 2 … 7: REF_CLK frequency = Crystal frequency / 8 It is recommended to use the highest possible reference clock frequency that allows the desired Baud rate. CLOCK_A[4:2] MCLK_DIV1_A[2:0] 4 — Modem clock divider 1 (A): 0: Divide by 1: Divide by 2: Divide by 3: Divide by 4: Divide by 5: Divide by 6: Divide by 7: Divide by CLOCK_A[1:0] MCLK_DIV2_A[1:0] 0 — 2.5 3 4 7.5 (2.5 × 3) 12.5 (2.5 × 5) 40 (2.5 × 16) 48 (3 × 16) 64 (4 × 16) Modem clock divider 2 (A): 0: Divide by 1: Divide by 2: Divide by 3: Divide by 1 2 4 8 MODEM_CLK frequency is FREF frequency divided by the product of divider 1 and divider 2. Baud rate is MODEM_CLK frequency divided by 8. Table 5-26. FREQ_2B Register (08h) REGISTER NAME DEFAULT VALUE ACTIVE FREQ_2B[7:0] FREQ_B[22:15] 131 — DESCRIPTION 8 MSB of frequency control word B Table 5-27. FREQ_1B Register (09h) REGISTER NAME DEFAULT VALUE ACTIVE FREQ_1B[7:0] FREQ_B[14:7] 189 — DESCRIPTION 8 MSB of frequency control word B Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 63 Not Recommended for New Designs NRND CC1021 SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 www.ti.com Table 5-28. FREQ_0B Register (0Ah) REGISTER NAME DEFAULT VALUE ACTIVE FREQ_0B[7:1] FREQ_B[6:0] 124 — 7 LSB of frequency control word B FREQ_0B[0] DITHER_B 1 H Enable dithering for frequency B DESCRIPTION Table 5-29. CLOCK_B Register (0Bh) REGISTER NAME DEFAULT VALUE ACTIVE CLOCK_B[7:5] REF_DIV_B[2:0] 2 — DESCRIPTION Reference frequency divisor (B): 0: Not supported 1: REF_CLK frequency = Crystal frequency / 2 … 7: REF_CLK frequency = Crystal frequency / 8 CLOCK_B[4:2] MCLK_DIV1_B[2:0] 4 — Modem clock divider 1 (B): 0: Divide by 1: Divide by 2: Divide by 3: Divide by 4: Divide by 5: Divide by 6: Divide by 7: Divide by CLOCK_B[1:0] MCLK_DIV2_B[1:0] 0 — 2.5 3 4 7.5 (2.5 × 3) 12.5 (2.5 × 5) 40 (2.5 × 16) 48 (3 × 16) 64 (4 × 16) Modem clock divider 2 (B): 0: Divide by 1: Divide by 2: Divide by 3: Divide by 1 2 4 8 MODEM_CLK frequency is FREF frequency divided by the product of divider 1 and divider 2. Baud rate is MODEM_CLK frequency divided by 8. Table 5-30. VCO Register (0Ch) REGISTER NAME DEFAULT VALUE ACTIVE VCO[7:4] VCO_CURRENT_A[3:0] 8 — DESCRIPTION Control of current in VCO core for frequency A 0 : 1.4 mA current in VCO core 1 : 1.8 mA current in VCO core 2 : 2.1 mA current in VCO core 3 : 2.5 mA current in VCO core 4 : 2.8 mA current in VCO core 5 : 3.2 mA current in VCO core 6 : 3.5 mA current in VCO core 7 : 3.9 mA current in VCO core 8 : 4.2 mA current in VCO core 9 : 4.6 mA current in VCO core 10 : 4.9 mA current in VCO core 11 : 5.3 mA current in VCO core 12 : 5.6 mA current in VCO core 13 : 6.0 mA current in VCO core 14 : 6.4 mA current in VCO core 15 : 6.7 mA current in VCO core Recommended setting: VCO_CURRENT_A=4 VCO[3:0] 64 VCO_CURRENT_B[3:0] 8 — Control of current in VCO core for frequency B The current steps are the same as for VCO_CURRENT_A Recommended setting: VCO_CURRENT_B=4 Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 Not Recommended for New Designs NRND CC1021 www.ti.com SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 Table 5-31. MODEM Register (0Dh) NAME DEFAULT VALUE ACTIVE MODEM[7] — 0 — Reserved, write 0 MODEM[6:4] ADC_DIV[2:0] 3 — ADC clock divisor (1) REGISTER DESCRIPTION 0: Not supported 1: ADC frequency 2: ADC frequency 3: ADC frequency 4: ADC frequency 5: ADC frequency 6: ADC frequency 7: ADC frequency = XOSC = XOSC = XOSC = XOSC = XOSC = XOSC = XOSC frequency frequency frequency frequency frequency frequency frequency / / / / / / / 4 6 8 10 12 14 16 MODEM[3] — 0 — Reserved, write 0 MODEM[2] PN9_ENABLE 0 H Enable scrambling of TX and RX with PN9 pseudo-random bit sequence 0: PN9 scrambling is disabled 1: PN9 scrambling is enabled (x9 + x5 + 1) The PN9 pseudo-random bit sequence can be used for BER testing by only transmitting zeros, and then counting the number of received ones. MODEM[1:0] DATA_FORMAT[1:0] 0 — Modem data format 0 1 2 3 (1) (00): (01): (10): (11): NRZ operation Manchester operation Transparent asynchronous UART operation, set DCLK=0 Transparent asynchronous UART operation, set DCLK=1 The intermediate frequency should be as close to 307.2 kHz as possible. ADC clock frequency is always 4 times the intermediate frequency and should therefore be as close to 1.2288 MHz as possible. Table 5-32. DEVIATION Register (0Eh) REGISTER NAME DEFAULT VALUE ACTIVE DEVIATION[7] TX_SHAPING 1 H DEVIATION[6:4] TXDEV_X[2:0] 6 — Transmit frequency deviation exponent DEVIATION [3:0] TXDEV_M[3:0] 8 — Transmit frequency deviation mantissa DESCRIPTION Enable Gaussian shaping of transmitted data Recommended setting: TX_SHAPING=1 Deviation in 402 to 470 MHz band: FREF × XDEV_M × 2(TXDEV_X−16) Deviation in 804 to 930 MHz band: FREF × TXDEV_M × 2(TXDEV_X−15) On-off-keying (OOK) is used in RX/TX if TXDEV_M[3:0]=0 To find TXDEV_M given the deviation and TXDEV_X: TXDEV_M = deviation × 2(16−TXDEV_X) / FREF in 402 to 470 MHz band, TXDEV_M = deviation × 2(15−TXDEV_X) / FREF in 804 to 930 MHz band, Decrease TXDEV_X and try again if TXDEV_M < 8. Increase TXDEV_X and try again if TXDEV_M ≥ 16. Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 65 Not Recommended for New Designs NRND CC1021 SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 www.ti.com Table 5-33. AFC_CONTROL Register (0Fh) (1) REGISTER NAME DEFAULT VALUE ACTIVE AFC_CONTROL[7:6] SETTLING[1:0] 2 — DESCRIPTION Controls AFC settling time versus accuracy 0: AFC off; zero average frequency is used in demodulator 1: Fastest settling; frequency averaged over 1 0/1 bit pair 2: Medium settling; frequency averaged over 2 0/1 bit pairs 3: Slowest settling; frequency averaged over 4 0/1 bit pairs Recommended setting: AFC_CONTROL=3 for higher accuracy unless it is essential to have the fastest settling time when transmission starts after RX is activated. AFC_CONTROL[5:4] RXDEV_X[1:0] 1 — RX frequency deviation exponent AFC_CONTROL[3:0] RXDEV_M[3:0] 12 — RX frequency deviation mantissa Expected RX deviation should be: Baud rate × RXDEV_M × 2(RXDEV_X−3) / 3 To find RXDEV_M given the deviation and RXDEV_X: RXDEV_M = 3 × deviation × 2(3−RXDEV_X) / Baud rate Decrease RXDEV_X and try again if RXDEV_M < 8. Increase RXDEV_X and try again if RXDEV_M ≥ 16. (1) The RX frequency deviation should be close to half the TX frequency deviation for GFSK at 100 kBaud data rate and below. The RX frequency deviation should be close to the TX frequency deviation for FSK and for GFSK at 100 kBaud data rate and above. Table 5-34. FILTER Register (10h) REGISTER NAME DEFAULT VALUE ACTIVE FILTER[7] FILTER_BYPASS 0 H DESCRIPTION Bypass analog image rejection / anti-alias filter. Set to 1 for increased dynamic range at high Baud rates. Recommended setting: FILTER_BYPASS=0 below 76.8 kBaud, FILTER_BYPASS=1 for 76.8 kBaud and up. FILTER[6:5] DEC_SHIFT[1:0] 0 — Number of extra bits to shift decimator input (may improve filter accuracy and lower power consumption). Recommended settings: DEC_SHIFT=0 when DEC_DIV ≤ 1 (receiver channel bandwidth ≥ 153.6 kHz), DEC_SHIFT=1 when DEC_DIV > 1 (receiver channel bandwidth < 153.6 kHz) FILTER[4:3] — — — Reserved FILTER[2:0] DEC_DIV[2:0] 0 — Decimation clock divisor 0: Decimation clock divisor = 1, 307.2 kHz channel filter BW. 1: Decimation clock divisor = 2, 153.6 kHz channel filter BW. … 6: Decimation clock divisor = 7, 43.9 kHz channel filter BW. 31: Decimation clock divisor = 8, 38.4 kHz channel filter BW. Channel filter bandwidth is 307.2 kHz divided by the decimation clock divisor. 66 Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 Not Recommended for New Designs NRND CC1021 www.ti.com SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 Table 5-35. VGA1 Register (11h) REGISTER NAME DEFAULT VALUE ACTIVE VGA1[7:6] CS_SET[1:0] 1 — DESCRIPTION Sets the number of consecutive samples at or above carrier sense level before carrier sense is indicated (for example, on LOCK pin) 0: Set carrier sense after first sample at or above carrier sense level 1: Set carrier sense after second sample at or above carrier sense level 2: Set carrier sense after third sample at or above carrier sense level 3: Set carrier sense after fourth sample at or above carrier sense level Increasing CS_SET reduces the number of “false” carrier sense events due to noise at the expense of increased carrier sense response time. VGA1[5] CS_RESET 1 — Sets the number of consecutive samples below carrier sense level before carrier sense indication (for example, on lock pin) is reset 0: Carrier sense is reset after first sample below carrier sense level 1: Carrier sense is reset after second sample below carrier sense level Recommended setting: CS_RESET=1 in order to reduce the chance of losing carrier sense due to noise. VGA1[4:2] VGA_WAIT[2:0] 1 — Controls how long AGC, bit synchronization, AFC and RSSI levels are frozen after VGA gain is changed when frequency is changed between A and B or PLL has been out of lock or after RX power up 0: Freeze 1: Freeze 2: Freeze 3: Freeze 4: Freeze 5: Freeze 6: Freeze 7: Freeze VGA1[1:0] VGA_FREEZE[1:0] 1 — operation for 16 filter clocks, 8 / (filter BW) seconds operation for 20 filter clocks, 10 / (filter BW) seconds operation for 24 filter clocks, 12 / (filter BW) seconds operation for 28 filter clocks, 14 / (filter BW) seconds operation for 32 filter clocks, 16 / (filter BW) seconds operation for 40 filter clocks, 20 / (filter BW) seconds operation for 48 filter clocks, 24 / (filter BW) seconds present levels unconditionally Controls the additional time AGC, bit synchronization, AFC and RSSI levels are frozen when frequency is changed between A and B or PLL has been out of lock or after RX power up 0: Freeze 1: Freeze 2: Freeze 3: Freeze levels levels levels levels for for for for approx. 16 ADC_CLK periods (13 µs) approx. 32 ADC_CLK periods (26 µs) approx. 64 ADC_CLK periods (52 µs) approx. 128 ADC_CLK periods (104 µs) Table 5-36. VGA2 Register (12h) REGISTER NAME DEFAULT VALUE ACTIVE VGA2[7] LNA2_MIN 0 — DESCRIPTION Minimum LNA2 setting used in VGA 0: Minimum LNA2 gain 1: Medium LNA2 gain Recommended setting: LNA2_MIN=0 for best selectivity. VGA2[6] LNA2_MAX 1 — Maximum LNA2 setting used in VGA 0: Medium LNA2 gain 1: Maximum LNA2 gain Recommended setting: LNA2_MAX=1 for best sensitivity. Detailed Description Copyright © 2006–2018, Texas Instruments Incorporated Submit Documentation Feedback Product Folder Links: CC1021 67 Not Recommended for New Designs NRND CC1021 SWRS045F – JANUARY 2006 – REVISED NOVEMBER 2018 www.ti.com Table 5-36. VGA2 Register (12h) (continued) REGISTER NAME DEFAULT VALUE ACTIVE VGA2[5:4] LNA2_SETTING[1:0] 3 — DESCRIPTION Selects at what VGA setting the LNA gain should be changed 0: Apply LNA2 change below min. VGA setting. 1: Apply LNA2 change at approx. 1/3 VGA setting (around VGA setting 10). 2: Apply LNA2 change at approx. 2/3 VGA setting (around VGA setting 19). 3: Apply LNA2 change above max. VGA setting. Recommended setting: LNA2_SETTING=0 if VGA_SETTING
CC1021RHH 价格&库存

很抱歉,暂时无法提供与“CC1021RHH”相匹配的价格&库存,您可以联系我们找货

免费人工找货