CC113L Value Line Receiver Applications Ultra low-power wireless applications operating in the 315/433/868/915 MHz ISM/SRD bands Wireless alarm and security systems Industrial monitoring and control Remote Controls Toys Home and building automation Key Features RF Performance Low-Power Features Receive sensitivity down to −116 dBm at 0.6 kbps Programmable data rate from 0.6 to 600 kbps Frequency bands: 300 - 348 MHz, 387 - 464 MHz, and 779 - 928 MHz 2-FSK, 4-FSK, GFSK, and OOK supported Digital Features Flexible support for packet oriented systems; On-chip support for sync word detection, flexible packet length, and automatic CRC calculation 200 nA sleep mode current consumption Fast start-up time; 240 μs from sleep to RX mode 64-byte RX FIFO General Few external components; Completely onchip frequency synthesizer, no external filters or RF switch needed Green package: RoHS compliant and no antimony or bromine Small size (QLP 4x4 mm package, 20 pins) Suited for systems targeting compliance with EN 300 220 V2.3.1 (Europe) and FCC CFR Part 15 (US) Support for asynchronous and synchronous serial transmit mode for backwards compatibility with existing radio communication protocols Product Description RBIAS 16 GND 17 GND 18 DGUARD 20 SI The RF receiver is integrated with a highly configurable baseband demodulator. The modem supports various modulation formats and has a configurable data rate up to 600 kbps. The main operating parameters and the 64byte receive FIFO of CC113L can be controlled via an SPI interface. In a typical system, the CC113L will be used together with a microcontroller and a few additional passive components. 19 The CC113L is a cost optimized sub-1 GHz RF receiver for the 300 - 348 MHz, 387 - 464 MHz, and 779 - 928 MHz frequency bands. The circuit is based on the popular CC1101 RF transceiver, and RF performance characteristics are identical. The CC115L transmitter together with the CC113L receiver enable a low cost RF link. SCLK1 1 15 SO (GDO1) 2 14 AVDD GDO2 3 13 RF_N CC113L AVDD DVDD 4 12 RF_P DCOUPL 5 11 AVDD 10 XOSC_Q1 AVDD XOSC_Q2 CSn 9 GDO0 8 7 packet handling, data buffering and burst transmissions. 6 CC113L provides extensive hardware support for This product shall not be used in any of the following products or systems without prior express written permission from Texas Instruments: implantable cardiac rhythm management systems, including without limitation pacemakers, defibrillators and cardiac resynchronization devices, external cardiac rhythm management systems that communicate directly with one or more implantable medical devices; or other devices used to monitor or treat cardiac function, including without limitation pressure sensors, biochemical sensors and neurostimulators. Please contact [email protected] if your application might fall within the category described above. SWRS108 Page 1 of 68 CC113L Abbreviations Abbreviations used in this data sheet are described below. 2-FSK 4-FSK ADC AFC AGC AMR BER BT CFR CRC CS DC DVGA ESR FCC FIFO FS GFSK IF I/Q ISM LC LNA LO Binary Frequency Shift Keying Quaternary Frequency Shift Keying Analog to Digital Converter Automatic Frequency Compensation Automatic Gain Control Automatic Meter Reading Bit Error Rate Bandwidth-Time product Code of Federal Regulations Cyclic Redundancy Check Carrier Sense Direct Current Digital Variable Gain Amplifier Equivalent Series Resistance Federal Communications Commission First-In-First-Out Frequency Synthesizer Gaussian shaped Frequency Shift Keying Intermediate Frequency In-Phase/Quadrature Industrial, Scientific, Medical Inductor-Capacitor Low Noise Amplifier Local Oscillator SWRS108 LSB MCU MSB N/A NRZ OOK PCB PD PER PLL POR PTAT QLP QPSK RC RF RSSI RX SMD SPI SRD VCO XOSC XTAL Least Significant Bit Microcontroller Unit Most Significant Bit Not Applicable Non Return to Zero (Coding) On-Off Keying Printed Circuit Board Power Down Packet Error Rate Phase Locked Loop Power-On Reset Proportional To Absolute Temperature Quad Leadless Package Quadrature Phase Shift Keying Resistor-Capacitor Radio Frequency Received Signal Strength Indicator Receive, Receive Mode Surface Mount Device Serial Peripheral Interface Short Range Devices Voltage Controlled Oscillator Crystal Oscillator Crystal Page 2 of 68 CC113L Table Of Contents APPLICATIONS .................................................................................................................................................. 1 KEY FEATURES ................................................................................................................................................. 1 RF PERFORMANCE .......................................................................................................................................... 1 DIGITAL FEATURES......................................................................................................................................... 1 LOW-POWER FEATURES ................................................................................................................................ 1 GENERAL ............................................................................................................................................................ 1 PRODUCT DESCRIPTION ................................................................................................................................ 1 ABBREVIATIONS ............................................................................................................................................... 2 TABLE OF CONTENTS ..................................................................................................................................... 3 1 ABSOLUTE MAXIMUM RATINGS ..................................................................................................... 5 2 OPERATING CONDITIONS ................................................................................................................. 5 3 GENERAL CHARACTERISTICS ......................................................................................................... 5 4 ELECTRICAL SPECIFICATIONS ....................................................................................................... 6 4.1 CURRENT CONSUMPTION ............................................................................................................................ 6 4.2 RF RECEIVE SECTION .................................................................................................................................. 8 4.3 CRYSTAL OSCILLATOR .............................................................................................................................. 12 4.4 FREQUENCY SYNTHESIZER CHARACTERISTICS .......................................................................................... 12 4.5 DC CHARACTERISTICS .............................................................................................................................. 13 4.6 POWER-ON RESET ..................................................................................................................................... 13 5 PIN CONFIGURATION ........................................................................................................................ 13 6 CIRCUIT DESCRIPTION .................................................................................................................... 15 7 APPLICATION CIRCUIT .................................................................................................................... 15 7.1 BIAS RESISTOR .......................................................................................................................................... 15 7.2 BALUN AND RF MATCHING ....................................................................................................................... 15 7.3 CRYSTAL ................................................................................................................................................... 18 7.4 REFERENCE SIGNAL .................................................................................................................................. 18 7.5 POWER SUPPLY DECOUPLING .................................................................................................................... 18 7.6 PCB LAYOUT RECOMMENDATIONS ........................................................................................................... 19 8 CONFIGURATION OVERVIEW ........................................................................................................ 20 9 CONFIGURATION SOFTWARE ........................................................................................................ 21 10 4-WIRE SERIAL CONFIGURATION AND DATA INTERFACE .................................................. 21 10.1 CHIP STATUS BYTE ................................................................................................................................... 22 10.2 REGISTER ACCESS ..................................................................................................................................... 23 10.3 SPI READ .................................................................................................................................................. 23 10.4 COMMAND STROBES ................................................................................................................................. 23 10.5 RX FIFO ACCESS ...................................................................................................................................... 24 11 MICROCONTROLLER INTERFACE AND PIN CONFIGURATION .......................................... 25 11.1 CONFIGURATION INTERFACE ..................................................................................................................... 25 11.2 GENERAL CONTROL AND STATUS PINS ..................................................................................................... 25 12 DATA RATE PROGRAMMING.......................................................................................................... 25 13 RECEIVER CHANNEL FILTER BANDWIDTH .............................................................................. 25 14 DEMODULATOR, SYMBOL SYNCHRONIZER, AND DATA DECISION .................................. 26 14.1 FREQUENCY OFFSET COMPENSATION........................................................................................................ 26 14.2 BIT SYNCHRONIZATION ............................................................................................................................. 27 14.3 BYTE SYNCHRONIZATION .......................................................................................................................... 27 15 PACKET HANDLING HARDWARE SUPPORT .............................................................................. 27 15.1 PACKET FORMAT ....................................................................................................................................... 27 15.2 PACKET FILTERING.................................................................................................................................... 29 15.3 PACKET HANDLING ................................................................................................................................... 30 15.4 PACKET HANDLING IN FIRMWARE ............................................................................................................. 30 16 MODULATION FORMATS ................................................................................................................. 30 16.1 FREQUENCY SHIFT KEYING ....................................................................................................................... 30 SWRS108 Page 3 of 68 CC113L 16.2 17 17.1 17.2 17.3 18 18.1 18.2 18.3 18.4 18.5 18.6 19 20 21 21.1 22 23 24 24.1 24.2 25 25.1 25.2 26 26.1 26.2 26.3 27 28 29 29.1 AMPLITUDE MODULATION ........................................................................................................................ 31 RECEIVED SIGNAL QUALIFIERS AND RSSI ................................................................................ 31 SYNC WORD QUALIFIER ............................................................................................................................ 31 RSSI .......................................................................................................................................................... 32 CARRIER SENSE (CS)................................................................................................................................. 33 RADIO CONTROL ................................................................................................................................ 35 POWER-ON START-UP SEQUENCE ............................................................................................................. 36 CRYSTAL CONTROL ................................................................................................................................... 37 VOLTAGE REGULATOR CONTROL.............................................................................................................. 37 RECEIVE MODE (RX) ................................................................................................................................ 37 RX TERMINATION ..................................................................................................................................... 37 TIMING ...................................................................................................................................................... 38 RX FIFO .................................................................................................................................................. 38 FREQUENCY PROGRAMMING ........................................................................................................ 40 VCO ......................................................................................................................................................... 40 VCO AND PLL SELF-CALIBRATION .......................................................................................................... 40 VOLTAGE REGULATORS ................................................................................................................. 40 GENERAL PURPOSE / TEST OUTPUT CONTROL PINS ............................................................. 41 ASYNCHRONOUS AND SYNCHRONOUS SERIAL OPERATION .............................................. 43 ASYNCHRONOUS SERIAL OPERATION ........................................................................................................ 43 SYNCHRONOUS SERIAL OPERATION .......................................................................................................... 43 SYSTEM CONSIDERATIONS AND GUIDELINES ......................................................................... 43 SRD REGULATIONS ................................................................................................................................... 43 CALIBRATION IN MULTI-CHANNEL SYSTEMS ............................................................................................ 44 CONFIGURATION REGISTERS ........................................................................................................ 45 CONFIGURATION REGISTER DETAILS - REGISTERS WITH PRESERVED VALUES IN SLEEP STATE ............... 49 CONFIGURATION REGISTER DETAILS - REGISTERS THAT LOOSE PROGRAMMING IN SLEEP STATE .......... 63 STATUS REGISTER DETAILS....................................................................................................................... 64 DEVELOPMENT KIT ORDERING INFORMATION ..................................................................... 66 REFERENCES ....................................................................................................................................... 67 GENERAL INFORMATION ................................................................................................................ 68 DOCUMENT HISTORY ................................................................................................................................ 68 SWRS108 Page 4 of 68 CC113L 1 Absolute Maximum Ratings Under no circumstances must the absolute maximum ratings given in Table 1 be violated. Stress exceeding one or more of the limiting values may cause permanent damage to the device. Parameter Min Max Units Supply voltage –0.3 3.9 V Voltage on any digital pin –0.3 VDD + 0.3, max 3.9 V Voltage on the pins RF_P, RF_N, DCOUPL, RBIAS –0.3 2.0 V Voltage ramp-up rate 120 kV/µs Input RF level +10 dBm 150 C Solder reflow temperature 260 C According to IPC/JEDEC J-STD-020 ESD 750 V According to JEDEC STD 22, method A114, Human Body Model (HBM) ESD 400 V According to JEDEC STD 22, C101C, Charged Device Model (CDM) –50 Storage temperature range Condition All supply pins must have the same voltage Table 1: Absolute Maximum Ratings Caution! ESD sensitive device. Precaution should be used when handling the device in order to prevent permanent damage. 2 Operating Conditions The operating conditions for CC113L are listed in Table 2 below. Parameter Min Max Unit Operating temperature –40 85 C Operating supply voltage 1.8 3.6 V Condition All supply pins must have the same voltage Table 2: Operating Conditions 3 General Characteristics Parameter Min Max Unit Frequency range 300 348 MHz 387 464 MHz 779 928 MHz 0.6 500 kBaud 2-FSK 0.6 250 kBaud GFSK and OOK 0.6 300 kBaud 4-FSK (the data rate in kbps will be twice the baud rate) Data rate Condition/Note If using a 27 MHz crystal, the lower frequency limit for this band is 392 MHz Optional Manchester encoding (the data rate in kbps will be half the baud rate) Table 3: General Characteristics SWRS108 Page 5 of 68 CC113L 4 Electrical Specifications 4.1 Current Consumption TA = 25 C, VDD = 3.0 V if nothing else stated. All measurement results are obtained using [1] and [2]. Reduced current settings (MDMCFG2.DEM_DCFILT_OFF=1) gives a slightly lower current consumption at the cost of a reduction in sensitivity. See Table 5 for additional details on current consumption and sensitivity. Parameter Current consumption in power down modes Current consumption Current consumption, 315 MHz Current consumption, 433 MHz Min Typ Max Unit Condition 0.2 1 A Voltage regulator to digital part off, register values retained (SLEEP state). All GDO pins programmed to 0x2F (HW to 0) 100 A Voltage regulator to digital part off, register values retained, XOSC running (SLEEP state with MCSM0.OSC_FORCE_ON set) 165 A Voltage regulator to digital part on, all other modules in power down (XOFF state) 1.7 mA Only voltage regulator to digital part and crystal oscillator running (IDLE state) 8.4 mA The current consumption for the intermediate states when going from IDLE to RX, including the calibration state 15.4 mA Receive mode, 1.2 kBaud, reduced current, input at sensitivity limit 14.4 mA Receive mode, 1.2 kBaud, register settings optimized for reduced current, input well above sensitivity limit 15.2 mA Receive mode, 38.4 kBaud, register settings optimized for reduced current, input at sensitivity limit 14.3 mA Receive mode, 38.4 kBaud, register settings optimized for reduced current, input well above sensitivity limit 16.5 mA Receive mode, 250 kBaud, register settings optimized for reduced current, input at sensitivity limit 15.1 mA Receive mode, 250 kBaud, register settings optimized for reduced current, input well above sensitivity limit 16.0 mA Receive mode, 1.2 kBaud, register settings optimized for reduced current, input at sensitivity limit 15.0 mA Receive mode, 1.2 kBaud, register settings optimized for reduced current, input well above sensitivity limit 15.7 mA Receive mode, 38.4 kBaud, register settings optimized for reduced current, input at sensitivity limit 15.0 mA Receive mode, 38.4 kBaud, register settings optimized for reduced current, input well above sensitivity limit 17.1 mA Receive mode, 250 kBaud, register settings optimized for reduced current, input at sensitivity limit 15.7 mA Receive mode, 250 kBaud, register settings optimized for reduced current, input well above sensitivity limit SWRS108 Page 6 of 68 CC113L Parameter Current consumption, 868/915 MHz Min Typ Max Unit Condition 15.7 mA Receive mode, 1.2 kBaud, register settings optimized for reduced current, input at sensitivity limit. See Figure 1 for current consumption with register settings optimized for sensitivity. 14.7 mA Receive mode, 1.2 kBaud, register settings optimized for reduced current, input well above sensitivity limit. See Figure 1 for current consumption with register settings optimized for sensitivity. 15.6 mA Receive mode, 38.4 kBaud, register settings optimized for reduced current, input at sensitivity limit. See Figure 1 for current consumption with register settings optimized for sensitivity. 14.6 mA Receive mode, 38.4 kBaud, register settings optimized for reduced current, input well above sensitivity limit. See Figure 1 for current consumption with register settings optimized for sensitivity. 16.9 mA Receive mode, 250 kBaud, register settings optimized for reduced current, input at sensitivity limit. See Figure 1 for current consumption with register settings optimized for sensitivity. 15.6 mA Receive mode, 250 kBaud, register settings optimized for reduced current, input well above sensitivity limit. See Figure 1 for current consumption with register settings optimized for sensitivity. Table 4: Current Consumption 17,8 Current [mA] 17,6 17,4 17,2 17 -40C 16,8 +85C +25C 16,6 16,4 16,2 -110 -90 -70 -50 -30 -10 Input Power Level [dBm] 1.2 kBaud GFSK 17,8 Current [mA] 17,6 17,4 17,2 17,0 -40C 16,8 +85C +25C 16,6 16,4 16,2 -100 -80 -60 -40 -20 Input Power Level [dBm] 38.4 kBaud GFSK 19,5 Current [mA] 19 18,5 -40C 18 +25C 17,5 +85C 17 16,5 -100 -80 -60 -40 -20 Input Power Level [dBm] 250 kBaud GFSK Figure 1: Typical RX Current Consumption over Temperature and Input Power Level, 868/915 MHz, Sensitivity Optimized Setting SWRS108 Page 7 of 68 CC113L 4.2 RF Receive Section TA = 25 C, VDD = 3.0 V if nothing else stated. All measurement results are obtained using [1] and [2]. Parameter Digital channel filter bandwidth Spurious emissions Min Typ Max Unit Condition/Note 812 kHz User programmable. The bandwidth limits are proportional to crystal frequency (given values assume a 26.0 MHz crystal) –68 –57 dBm 25 MHz - 1 GHz (Maximum figure is the ETSI EN 300 220 V2.3.1 limit) –66 –47 dBm Above 1 GHz (Maximum figure is the ETSI EN 300 220 V2.3.1 limit) 58 Typical radiated spurious emission is –49 dBm measured at the VCO frequency RX latency 9 bit Serial operation. Time from start of reception until data is available on the receiver data output pin is equal to 9 bit 315 MHz 1.2 kBaud data rate, sensitivity optimized, MDMCFG2.DEM_DCFILT_OFF=0 (2-FSK, 1% packet error rate, 20 bytes packet length, 5.2 kHz deviation, 58 kHz digital channel filter bandwidth) Receiver sensitivity –111 dBm Sensitivity can be traded for current consumption by setting MDMCFG2.DEM_DCFILT_OFF=1. The typical current consumption is then reduced from 17.2 mA to 15.4 mA at the sensitivity limit. The sensitivity is typically reduced to -109 dBm 433 MHz 0.6 kBaud data rate, sensitivity optimized, MDMCFG2.DEM_DCFILT_OFF=0 (GFSK, 1% packet error rate, 20 bytes packet length, 14.3 kHz deviation, 58 kHz digital channel filter bandwidth) Receiver sensitivity –116 dBm 1.2 kBaud data rate, sensitivity optimized, MDMCFG2.DEM_DCFILT_OFF=0 (GFSK, 1% packet error rate, 20 bytes packet length, 5.2 kHz deviation, 58 kHz digital channel filter bandwidth) Receiver sensitivity –112 dBm Sensitivity can be traded for current consumption by setting MDMCFG2.DEM_DCFILT_OFF=1. The typical current consumption is then reduced from 18.0 mA to 16.0 mA at the sensitivity limit. The sensitivity is typically reduced to –110 dBm 38.4 kBaud data rate, sensitivity optimized, MDMCFG2.DEM_DCFILT_OFF=0 (GFSK, 1% packet error rate, 20 bytes packet length, 20 kHz deviation, 100 kHz digital channel filter bandwidth) Receiver sensitivity –104 dBm 250 kBaud data rate, sensitivity optimized, MDMCFG2.DEM_DCFILT_OFF=0 (GFSK, 1% packet error rate, 20 bytes packet length, 127 kHz deviation, 540 kHz digital channel filter bandwidth) Receiver sensitivity –95 dBm SWRS108 Page 8 of 68 CC113L Parameter Min Typ Max Unit Condition/Note 868/915 MHz 1.2 kBaud data rate, sensitivity optimized, MDMCFG2.DEM_DCFILT_OFF=0 (GFSK, 1% packet error rate, 20 bytes packet length, 5.2 kHz deviation, 58 kHz digital channel filter bandwidth) Receiver sensitivity –112 dBm Sensitivity can be traded for current consumption by setting MDMCFG2.DEM_DCFILT_OFF=1. The typical current consumption is then reduced from 17.7 mA to 15.7 mA at sensitivity limit. The sensitivity is typically reduced to –109 dBm Saturation –14 dBm FIFOTHR.CLOSE_IN_RX=0. See more in DN010 [5] Adjacent channel rejection ±100 kHz offset Image channel rejection 37 dB 31 dB Desired channel 3 dB above the sensitivity limit. 100 kHz channel spacing See Figure 2 for selectivity performance at other offset frequencies IF frequency 152 kHz Desired channel 3 dB above the sensitivity limit Blocking ±2 MHz offset ±10 MHz offset –50 –40 dBm dBm Desired channel 3 dB above the sensitivity limit See Figure 2 for blocking performance at other offset frequencies 38.4 kBaud data rate, sensitivity optimized, MDMCFG2.DEM_DCFILT_OFF=0 (GFSK, 1% packet error rate, 20 bytes packet length, 20 kHz deviation, 100 kHz digital channel filter bandwidth) Receiver sensitivity –104 dBm Sensitivity can be traded for current consumption by setting MDMCFG2.DEM_DCFILT_OFF=1. The typical current consumption is then reduced from 17.7 mA to 15.6 mA at the sensitivity limit. The sensitivity is typically reduced to -102 dBm Saturation –16 dBm FIFOTHR.CLOSE_IN_RX=0. See more in DN010 [5] Adjacent channel rejection –200 kHz offset +200 kHz offset 12 25 dB dB Desired channel 3 dB above the sensitivity limit. 200 kHz channel spacing See Figure 3 for blocking performance at other offset frequencies Image channel rejection 23 dB Blocking ±2 MHz offset ±10 MHz offset –50 –40 dBm dBm IF frequency 152 kHz Desired channel 3 dB above the sensitivity limit Desired channel 3 dB above the sensitivity limit See Figure 3 for blocking performance at other offset frequencies 250 kBaud data rate, sensitivity optimized, MDMCFG2.DEM_DCFILT_OFF=0 (GFSK, 1% packet error rate, 20 bytes packet length, 127 kHz deviation, 540 kHz digital channel filter bandwidth) Receiver sensitivity –95 dBm Sensitivity can be traded for current consumption by setting MDMCFG2.DEM_DCFILT_OFF=1. The typical current consumption is then reduced from 18.9 mA to 16.9 mA at the sensitivity limit. The sensitivity is typically reduced to –91 dBm Saturation –17 dBm FIFOTHR.CLOSE_IN_RX=0. See more in DN010 [5] Adjacent channel rejection 25 dB Desired channel 3 dB above the sensitivity limit. 750 kHz channel spacing See Figure 4 for blocking performance at other offset frequencies Image channel rejection 14 dB IF frequency 304 kHz Desired channel 3 dB above the sensitivity limit Blocking ±2 MHz offset ±10 MHz offset –50 –40 dBm dBm Desired channel 3 dB above the sensitivity limit See Figure 4 for blocking performance at other offset frequencies SWRS108 Page 9 of 68 CC113L Parameter Min Typ Max Unit Condition/Note 4-FSK, 125 kBaud data rate (250 kbps), sensitivity optimized, MDMCFG2.DEM_DCFILT_OFF=0 (1% packet error rate, 20 bytes packet length, 127 kHz deviation, 406 kHz digital channel filter bandwidth) –96 Receiver sensitivity dBm 4-FSK, 250 kBaud data rate (500 kbps), sensitivity optimized, MDMCFG2.DEM_DCFILT_OFF=0 (1% packet error rate, 20 bytes packet length, 254 kHz deviation, 812 kHz digital channel filter bandwidth –91 Receiver sensitivity dBm 4-FSK, 300 kBaud data rate (600 kbps), sensitivity optimized, MDMCFG2.DEM_DCFILT_OFF=0 (1% packet error rate, 20 bytes packet length, 228 kHz deviation, 812 kHz digital channel filter bandwidth) –89 Receiver sensitivity dBm Table 5: RF Receive Section Supply Voltage VDD = 1.8 V Supply Voltage VDD = 3.0 V Supply Voltage VDD = 3.6 V Temperature [°C] –40 25 85 –40 25 85 –40 25 85 Sensitivity [dBm] 1.2 kBaud –113 –112 –110 –113 –112 –110 –113 –112 –110 Sensitivity [dBm] 38.4 kBaud –105 –104 –102 –105 –104 –102 –105 –104 –102 Sensitivity [dBm] 250 kBaud –97 –96 –92 –97 –95 –92 –97 –94 –92 Sensitivity [dBm] 500 kBaud –91 –90 –86 –91 –90 –86 –91 –90 –86 Table 6: Typical Sensitivity over Temperature and Supply Voltage, 868 MHz, Sensitivity Optimized Setting Supply Voltage VDD = 1.8 V Supply Voltage VDD = 3.0 V Supply Voltage VDD = 3.6 V Temperature [°C] –40 25 85 –40 25 85 –40 25 85 Sensitivity [dBm] 1.2 kBaud –113 –112 –110 –113 –112 –110 –113 –112 –110 Sensitivity [dBm] 38.4 kBaud –105 –104 –102 –104 –104 –102 –105 –104 –102 Sensitivity [dBm] 250 kBaud –97 –94 –92 –97 –95 –92 –97 –95 –92 Sensitivity [dBm] 500 kBaud –91 –89 –86 –91 –90 –86 –91 –89 –86 Table 7: Typical Sensitivity over Temperature and Supply Voltage, 915 MHz, Sensitivity Optimized Setting 80 60 70 50 60 40 50 Selectivity [dB] Blocking [dB] 40 30 20 10 30 20 10 0 -40 -30 -20 -10 0 10 20 30 40 0 -10 -1 -20 -0,9 -0,8 -0,7 -0,6 -0,5 -0,4 -0,3 -0,2 -0,1 0 0,1 0,2 0,3 0,4 0,5 0,6 0,7 0,8 0,9 -10 Offset [MHz] Offset [MHz] Figure 2: Typical Selectivity at 1.2 kBaud Data Rate, 868.3 MHz, GFSK, 5.2 kHz Deviation. IF Frequency is 152.3 kHz and the Digital Channel Filter Bandwidth is 58 kHz SWRS108 Page 10 of 68 1 CC113L 70 50 60 40 50 30 Selectivity [dB] Blocking [dB] 40 30 20 20 10 10 0 -1 0 -40 -30 -20 -10 0 10 20 30 -0,9 -0,8 -0,7 -0,6 -0,5 -0,4 -0,3 -0,2 -0,1 0 0,1 0,2 0,3 0,4 0,5 0,6 0,7 0,8 0,9 1 40 -10 -10 -20 -20 Offset [MHz] Offset [MHz] Figure 3: Typical Selectivity at 38.4 kBaud Data Rate, 868 MHz, GFSK, 20 kHz Deviation. IF Frequency is 152.3 kHz and the Digital Channel Filter Bandwidth is 100 kHz 60 50 50 40 40 30 Selectivity [dB] Blocking [dB] 30 20 20 10 10 0 0 -2 -40 -30 -20 -10 0 10 20 30 -1,5 -1 -0,5 0 0,5 1 1,5 2 1 1,5 2 40 -10 -10 -20 -20 Offset [MHz] Offset [MHz] Figure 4: Typical Selectivity at 250 kBaud Data Rate, 868 MHz, GFSK, IF Frequency is 304 kHz and the Digital Channel Filter Bandwidth is 540 kHz 60 40 50 30 40 20 Selectivity [dB] Blocking [dB] 30 20 10 0 10 0 -40 -30 -20 -10 0 10 20 30 40 -2 -1,5 -1 -0,5 0 0,5 -10 -10 -20 -30 -20 Offset [MHz] Offset [MHz] Figure 5: Typical Selectivity at 500 kBaud Data Rate, 868 MHz, GFSK, IF Frequency is 355 kHz and the Digital Channel Filter Bandwidth is 812 kHz SWRS108 Page 11 of 68 CC113L 4.3 Crystal Oscillator TA = 25 C, VDD = 3.0 V if nothing else is stated. All measurement results obtained using [1] and [2]. Parameter Min Typ Max Unit Condition/Note Crystal frequency 26 26 27 MHz For compliance with modulation bandwidth requirements under EN 300 220 V2.3.1 in the 863 to 870 MHz frequency range it is recommended to use a 26 MHz crystal for frequencies below 869 MHz and a 27 MHz crystal for frequencies above 869 MHz ppm This is the total tolerance including a) initial tolerance, b) crystal loading, c) aging, and d) temperature dependence. The acceptable crystal tolerance depends on RF frequency and channel spacing / bandwidth. Tolerance Load capacitance ±40 10 13 ESR 20 pF Simulated over operating conditions µs This parameter is to a large degree crystal dependent. Measured on [1] and [2] using crystal AT-41CD2 from NDK 100 Start-up time 150 Table 8: Crystal Oscillator Parameters 4.4 Frequency Synthesizer Characteristics TA = 25 C, VDD = 3.0 V if nothing else is stated. All measurement results are obtained using [1] and [2]. Min figures are given using a 27 MHz crystal. Typ. and max figures are given using a 26 MHz crystal Parameter Programmed frequency resolution Min 397 Typ 16 FXOSC/2 Max Unit Condition/Note 412 Hz 26 - 27 MHz crystal. The resolution (in Hz) is equal for all frequency bands Given by crystal used. Required accuracy (including temperature and aging) depends on frequency band and channel bandwidth / spacing Synthesizer frequency tolerance ±40 ppm RF carrier phase noise –92 dBc/Hz @ 50 kHz offset from carrier RF carrier phase noise –92 dBc/Hz @ 100 kHz offset from carrier RF carrier phase noise –92 dBc/Hz @ 200 kHz offset from carrier RF carrier phase noise –98 dBc/Hz @ 500 kHz offset from carrier RF carrier phase noise –107 dBc/Hz @ 1 MHz offset from carrier RF carrier phase noise –113 dBc/Hz @ 2 MHz offset from carrier RF carrier phase noise –119 dBc/Hz @ 5 MHz offset from carrier RF carrier phase noise –129 dBc/Hz @ 10 MHz offset from carrier PLL turn-on time ( See Table 26) 72 75 75 s Time from leaving the IDLE state until arriving in the RX state, when not performing calibration. Crystal oscillator running. PLL calibration time (See Table 27) 685 712 724 s Calibration can be initiated manually or automatically before entering or after leaving RX Table 9: Frequency Synthesizer Parameters SWRS108 Page 12 of 68 CC113L 4.5 DC Characteristics TA = 25 C if nothing else stated. Digital Inputs/Outputs Min Max Unit Logic "0" input voltage 0 0.7 V Condition Logic "1" input voltage VDD – 0.7 VDD V Logic "0" output voltage 0 0.5 V For up to 4 mA output current Logic "1" output voltage VDD – 0.3 VDD V For up to 4 mA output current Logic "0" input current N/A –50 nA Input equals 0 V Logic "1" input current N/A 50 nA Input equals VDD Table 10: DC Characteristics 4.6 Power-On Reset For proper Power-On-Reset functionality the power supply should comply with the requirements in Table 11 below. Otherwise, the chip should be assumed to have unknown state until transmitting an SRES strobe over the SPI interface. See Section 18.1 on page 36 for further details. Parameter Min Typ Max Unit Condition/Note 5 ms From 0V until reaching 1.8V ms Minimum time between power-on and power-off Power-up ramp-up time Power off time 1 Table 11: Power-On Reset Requirements 5 Pin Configuration GND RBIAS DGUARD GND SI The CC113L pin-out is shown in Figure 6 and Table 12. See Section 23 for details on the I/O configuration. 20 19 18 17 16 SCLK 1 15 AVDD SO (GDO1) 2 14 AVDD GDO2 3 13 RF_N DVDD 4 12 RF_P DCOUPL 5 11 AVDD 7 8 9 10 GDO0 CSn XOSC_Q1 AVDD XOSC_Q2 6 GND Exposed die attach pad Figure 6: Pinout Top View Note: The exposed die attach pad must be connected to a solid ground plane as this is the main ground connection for the chip SWRS108 Page 13 of 68 CC113L Pin # Pin Name Pin type Description 1 SCLK Digital Input Serial configuration interface, clock input 2 SO (GDO1) Digital Output Serial configuration interface, data output GDO2 Digital Output 3 Optional general output pin when CSn is high Digital output pin for general use: Test signals FIFO status signals Clock output, down-divided from XOSC Serial output RX data 4 DVDD Power (Digital) 1.8 - 3.6 V digital power supply for digital I/O‟s and for the digital core voltage regulator 5 DCOUPL Power (Digital) 1.6 - 2.0 V digital power supply output for decoupling NOTE: This pin is intended for use with the CC113L only. It cannot be used to provide supply voltage to other devices 6 GDO0 Digital I/O Digital output pin for general use: Test signals FIFO status signals Clock output, down-divided from XOSC Serial output RX data 7 CSn Digital Input Serial configuration interface, chip select 8 XOSC_Q1 Analog I/O Crystal oscillator pin 1, or external clock input 9 AVDD Power (Analog) 1.8 - 3.6 V analog power supply connection 10 XOSC_Q2 Analog I/O Crystal oscillator pin 2 11 AVDD Power (Analog) 1.8 - 3.6 V analog power supply connection 12 RF_P RF I/O Positive RF input signal to LNA in receive mode 13 RF_N RF I/O Negative RF input signal to LNA in receive mode 14 AVDD Power (Analog) 1.8 - 3.6 V analog power supply connection 15 AVDD Power (Analog) 1.8 - 3.6 V analog power supply connection 16 GND Ground (Analog) Analog ground connection 17 RBIAS Analog I/O External bias resistor for reference current 18 DGUARD Power (Digital) Power supply connection for digital noise isolation 19 GND Ground (Digital) Ground connection for digital noise isolation 20 SI Digital Input Serial configuration interface, data input Table 12: Pinout Overview SWRS108 Page 14 of 68 CC113L 6 Circuit Description 0 90 FREQ SYNTH BIAS XOSC RBIAS XOSC_Q1 XOSC_Q2 RX FIFO ADC RF_N PACKET HANDLER LNA DEMODULATOR ADC RF_P DIGITAL INTERFACE TO MCU RADIO CONTROL SCLK SO (GDO1) SI CSn GDO0 GDO2 Figure 7: CC113L Simplified Block Diagram A simplified block diagram of CC113L is shown in Figure 7. signals to the down-conversion mixers in receive mode. CC113L features a low-IF receiver. The received A crystal is to be connected to XOSC_Q1 and XOSC_Q2. The crystal oscillator generates the reference frequency for the synthesizer, as well as clocks for the ADC and the digital part. RF signal is amplified by the low-noise amplifier (LNA) and down-converted in quadrature (I and Q) to the intermediate frequency (IF). At IF, the I/Q signals are digitised by the ADCs. Automatic gain control (AGC), fine channel filtering, demodulation, and bit/packet synchronization are performed digitally. The frequency synthesizer includes a completely on-chip LC VCO and a 90 degree phase shifter for generating the I and Q LO 7 The designs in [1] and [2] were used for CC113L characterization. The application circuits are shown in Figure 9 and Figure 10 (see Table 14 for component values). Bias Resistor The 56 kΩ bias resistor R171 is used to set an 7.2 The digital baseband includes support for channel configuration, packet handling, and data buffering. Application Circuit Figure 8 shows the low cost CC113LEM application circuit ([10] and [11]) (see Table 13 for component values). 7.1 A 4-wire SPI serial interface is used for configuration and data buffer access. accurate bias current Balun and RF Matching The balun component values and their placement are important to keep the performance optimized. Gerber files and SWRS108 schematics for the reference designs are available for download from the TI website Page 15 of 68 CC113L Balun and RF Matching (low cost application circuit) differential RF signal on CC113L. C124 is needed for DC blocking. The components between the RF_N/RF_P pins and the point where the two signals are joined together (C131, L132, C122, L122, see Figure 8) form a balun that converts singleended RF signal at the antenna to a The balun components also matches the CC113L input impedance to a 50 source. C126 provides DC blocking and is only needed if there is a DC path in the antenna. 7.2.1 1.8 V - 3.6 V power supply R171 SO (GDO1) GDO2 (optional) 2 SO (GDO1) 3 GDO2 GND 16 RBIAS 17 GND 19 1 SCLK Antenna (50 Ohm) AVDD 15 CC113L C131 L132 AVDD 14 C126 RF_N 13 DIE ATTACH PAD: 10 XOSC_Q2 C51 7 CSn 5 DCOUPL 9 AVDD RF_P 12 8 XOSC_Q1 4 DVDD 6 GDO0 Digital Inteface SCLK DGUARD 18 SI 20 SI C122 AVDD 11 L122 C124 GDO0 (optional) CSn XTAL C81 C101 Figure 8: Low Cost Application Circuit and Evaluation Circuit 315/433/868/915 MHz (excluding supply decoupling capacitors) ([10] and [11]) Component Value at 315 MHz Value at 433 MHz Value at 868/915 MHz C124 220 pF 220 pF 100 pF C122 6.8 pF 3.9 pF 2.2 pF C126 220 pF 220 pF 100 pF C131 6.8 pF 3.9 pF 2.2 pF L122 33 nH 27 nH 12 nH L132 33 nH 27 nH 12 nH Table 13: External Components (low cost application circuit) 7.2.2 Balun and RF (characterization circuit) Matching The components between the RF_N/RF_P pins and the point where the two signals are joined together (C131, C122, L122, and L132 in Figure 9 and L121, L131, C121, L122, C131, C122, and L132 in Figure 10) form a balun that converts single-ended RF signal at the antenna to a differential RF signal on CC113L. C124 is needed for DC blocking. C126 provides DC blocking and is only needed if there is a DC path in the antenna. Note that the 315/433 MHz design [1] use Murata LQG15 multi-layer inductors while the 868/915 MHz design [2] use Murata LQW15 wire-wound inductors. L123, L124, and C123 ( plus C125 in Figure 9) form an LC low-pass filter. This filter is not required for an RX-only design and can be omitted. The balun components also matches the CC113L input impedance to a 50 source. SWRS108 Page 16 of 68 CC113L 1.8 V - 3.6 V power supply R171 2 SO (GDO1) 3 GDO2 GND 16 RBIAS 17 GND 19 1 SCLK SO (GDO1) GDO2 (optional) Antenna (50 Ohm) AVDD 15 CC113L C131 L132 AVDD 14 C126 RF_N 13 DIE ATTACH PAD: RF_P 12 9 AVDD 7 CSn C51 8 XOSC_Q1 5 DCOUPL 10 XOSC_Q2 4 DVDD 6 GDO0 Digital Inteface SCLK DGUARD 18 SI 20 SI C122 AVDD 11 L123 L122 L124 C123 C125 C124 GDO0 (optional) CSn XTAL C81 C101 Figure 9: Characterization Circuit 315/433 MHz (excluding supply decoupling capacitors) ([1]) 1.8 V - 3.6 V power supply R171 7 CSn C51 GND 16 AVDD 14 L131 L132 C126 RF_N 13 L123 AVDD 11 L124 C121 C122 DIE ATTACH PAD: RF_P 12 5 DCOUPL Antenna (50 Ohm) C131 AVDD 15 10 XOSC_Q2 4 DVDD CC113L 9 AVDD 3 GDO2 8 XOSC_Q1 2 SO (GDO1) RBIAS 17 1 SCLK DGUARD 18 SI 20 SO (GDO1) GDO2 (optional) 6 GDO0 Digital Interface SCLK GND 19 SI L121 C123 L122 GDO0 (optional) CSn C124 XTAL C81 C101 Figure 10: Characterization Circuit 868/915 MHz (excluding supply decoupling capacitors) ([2]) SWRS108 Page 17 of 68 CC113L Component Value at 315 MHz Value at 433 MHz C121 Value at 868/915 MHz 1 pF C122 6.8 pF 3.9 pF 1.5 pF C123 12 pF 8.2 pF 3.3 pF C124 220 pF 220 pF 100 pF C125 6.8 pF 5.6 pF C126 220 pF 220 pF 100 pF C131 6.8 pF 3.9 pF 1.5 pF L121 12 nH L122 33 nH 27 nH 18 nH L123 18 nH 22 nH 12 nH L124 33 nH 27 nH 12 nH L131 L132 12 nH 33 nH 27 nH 18 nH Table 14: External Components (characterization circuits) 7.3 Crystal A crystal in the frequency range 26 - 27 MHz 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 (C81 and C101) 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. CL 1 1 C81 1 C101 C parasitic The parasitic capacitance is constituted by pin input capacitance and PCB stray capacitance. Total parasitic capacitance is typically 2.5 pF. up the oscillations. When the amplitude builds up, the current is reduced to what is necessary to maintain approximately 0.4 Vpp signal swing. This ensures a fast start-up, and keeps the drive level to a minimum. The ESR of the crystal should be within the specification in order to ensure a reliable start-up (see Section 4.3 on page 12). 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. Avoid routing digital signals with sharp edges close to XOSC_Q1 PCB track or underneath the crystal Q1 pad as this may shift the crystal dc operating point and result in duty cycle variation. The crystal oscillator is amplitude regulated. This means that a high current is used to start 7.4 Reference Signal The chip can alternatively be operated with a reference signal from 26 - 27 MHz instead of a crystal. This input clock can either be a fullswing digital signal (0 V to VDD) or a sine wave of maximum 1 V peak-peak amplitude. The reference signal must be connected to the XOSC_Q1 input. The sine wave must be 7.5 connected to XOSC_Q1 using a serial capacitor. When using a full-swing digital signal, this capacitor can be omitted. The XOSC_Q2 line must be left un-connected. C81 and C101 can be omitted when using a reference signal. Power Supply Decoupling The power supply must be properly decoupled close to the supply pins. Note that decoupling capacitors are not shown in the application circuit. The placement and the size of the SWRS108 decoupling capacitors are very important to achieve the optimum performance. The CC113LEM reference designs ([10] and [11]) should be followed closely. Page 18 of 68 CC113L 7.6 PCB Layout Recommendations The top layer should be used for signal routing, and the open areas should be filled with metallization connected to ground using several vias. The area under the chip is used for grounding and shall be connected to the bottom ground plane with several vias for good thermal performance and sufficiently low inductance to ground. In the CC113LEM reference designs ([10] and [11]), 5 vias are placed inside the exposed die attached pad. These vias should be “tented” (covered with solder mask) on the component side of the PCB to avoid migration of solder through the vias during the solder reflow process. The solder paste coverage should not be 100%. If it is, out gassing may occur during the reflow process, which may cause defects (splattering, solder balling). Using “tented” vias reduces the solder paste coverage below 100%. See Figure 11 for top solder resist and top paste masks. Each decoupling capacitor should be placed as close as possible to the supply pin it is supposed to decouple. Each decoupling capacitor should be connected to the power line (or power plane) by separate vias. The best routing is from the power line (or power plane) to the decoupling capacitor and then to the CC113L supply pin. Supply power filtering is very important. Each decoupling capacitor ground pad should be connected to the ground plane by separate vias. Direct connections between neighboring power pins will increase noise coupling and should be avoided unless absolutely necessary. Routing in the ground plane underneath the chip or the balun/RF matching circuit, or between the chip‟s ground vias and the decoupling capacitor‟s ground vias should be avoided. This improves the grounding and ensures the shortest possible current return path. Avoid routing digital signals with sharp edges close to XOSC_Q1 PCB track or underneath the crystal Q1 pad as this may shift the crystal dc operating point and result in duty cycle variation. The external components should ideally be as small as possible (0402 is recommended) and surface mount devices are highly recommended. Please note that components with different sizes than those specified may have differing characteristics. Precaution should be used when placing the microcontroller in order to avoid noise interfering with the RF circuitry. A CC11xL Development Kit with a fully assembled CC113L Evaluation Module is available. It is strongly advised that this reference layout is followed very closely in order to get the best performance. The schematic, BOM and layout Gerber files are all available from the TI website ([10] and [11]). Figure 11: Left: Top Solder Resist Mask (Negative). Right: Top Paste Mask. Circles are Vias SWRS108 Page 19 of 68 CC113L 8 Configuration Overview CC113L can be configured to achieve optimum RX channel filter bandwidth Data buffering with the 64-byte RX FIFO Packet radio hardware support Details of each configuration register can be found in Section 26 starting on page 45. performance for many different applications. Configuration is done using the SPI interface. See Section 10 for more description of the SPI interface. The following key parameters can be programmed: Figure 12 shows a simplified state diagram that explains the main CC113L states together with typical usage and current consumption. For detailed information on controlling the CC113L state machine, and a complete state diagram, see Section 18, starting on page 35. Power-down / power up mode Crystal oscillator power-up / power-down Receive mode Carrier Frequency Data rate Modulation format Sleep SPWD SIDLE Default state when the radio is not receiving. Typ. current consumption: 1.7 mA. Lowest power mode. Most register values are retained. Typ. current consumption: 200 nA CSn = 0 IDLE SXOFF Used for calibrating frequency synthesizer upfront (entering receive mode can then be Manual freq. done quicker). Transitional synth. calibration state. Typ. current consumption: 8.4 mA. SCAL CSn = 0 Crystal oscillator off SRX Frequency synthesizer startup, optional calibration, settling Receive mode In Normal mode, this state is entered if the RX FIFO overflows. Typ. current consumption: 1.7 mA. All register values are retained. Typ. current consumption: 165 µA. Frequency synthesizer is turned on, can optionally be calibrated, and then settles to the correct frequency. Transitional state. Typ. current consumption: 8.4 mA. Typ. current consumption: from 14.7 mA (strong input signal) to 15.7 mA (weak input signal). RXOFF_MODE = 00 RX FIFO overflow Optional transitional state. Typ. Optional freq. current consumption: 8.4 mA. synth. calibration SFRX IDLE Figure 12: Simplified Radio Control State Diagram, with Typical Current Consumption at 1.2 kBaud Data Rate and MDMCFG2.DEM_DCFILT_OFF=1 (current optimized). Frequency Band = 868 MHz SWRS108 Page 20 of 68 CC113L 9 Configuration Software CC113L can be configured using the SmartRF™ After chip reset, all the registers have default values as shown in the tables in Section 26. The optimum register setting might differ from the default value. After a reset all registers that shall be different from the default value therefore needs to be programmed through the SPI interface. Studio software [4]. The SmartRF Studio software is highly recommended for obtaining optimum register settings, and for evaluating performance and functionality. 10 4-wire Serial Configuration and Data Interface CC113L is configured via a simple 4-wire SPI- cancelled. The timing for the address and data transfer on the SPI interface is shown in Figure 13 with reference to Table 15. compatible interface (SI, SO, SCLK and CSn) where CC113L is the slave. This interface is also used to read buffered data. All transfers on the SPI interface are done most significant bit first. When CSn is pulled low, the MCU must wait until CC113L SO pin goes low before starting to transfer the header byte. This indicates that the crystal is running. Unless the chip was in the SLEEP or XOFF states, the SO pin will always go low immediately after taking CSn low. All transactions on the SPI interface start with a header byte containing a R/W ¯ bit, a burst access bit (B), and a 6-bit address (A5 - A0). The CSn pin must be kept low during transfers on the SPI bus. If CSn goes high during the transfer of a header byte or during read/write from/to a register, the transfer will be tsp tch tcl tsd thd tns SCLK: CSn: Write to register: SI X 0 B A5 A4 A3 A2 A1 A0 SO Hi-Z S7 B S5 S4 S3 S2 S1 S0 X DW7 S7 DW6 DW5 DW4 DW3 DW2 DW1 DW0 S6 S5 S4 S3 S2 S1 S0 DR2 DR1 X Hi-Z Read from register: SI X SO Hi-Z 1 B A5 A4 A3 A2 A1 A0 S7 B S5 S4 S3 S2 S1 S0 X DR7 DR6 DR5 DR4 DR3 DR0 Hi-Z Figure 13: Configuration Registers Write and Read Operations SWRS108 Page 21 of 68 CC113L Parameter Description Min Max Units fSCLK SCLK frequency 100 ns delay inserted between address byte and data byte (single access), or between address and data, and between each data byte (burst access). - 10 MHz SCLK frequency, single access. No delay between address and data byte - 9 SCLK frequency, burst access. No delay between address and data byte, or between data bytes - 6.5 tsp,pd CSn low to positive edge on SCLK, in power-down mode 150 - s tsp CSn low to positive edge on SCLK, in active mode 20 - ns tch Clock high 50 - ns tcl Clock low 50 - ns trise Clock rise time - 40 ns tfall Clock fall time tsd Setup data (negative SCLK edge) to positive edge on SCLK (tsd applies between address and data bytes, and between data bytes) - 40 ns Single access 55 - ns Burst access 76 - thd Hold data after positive edge on SCLK 20 - ns tns Negative edge on SCLK to CSn high. 20 - ns Table 15: SPI Interface Timing Requirements Note: The minimum tsp,pd figure in Table 15 can be used in cases where the user does not read the CHIP_RDYn signal. CSn low to positive edge on SCLK when the chip is woken from powerdown depends on the start-up time of the crystal being used. The 150 μs in Table 15 is the crystal oscillator start-up time measured on [1] and [2] using crystal AT-41CD2 from NDK. 10.1 Chip Status Byte When the header byte, data byte, or command strobe is sent on the SPI interface, the chip status byte is sent by the CC113L on the SO pin. The status byte contains key status signals, useful for the MCU. The first bit, s7, is the CHIP_RDYn signal and this signal must go low before the first positive edge of SCLK. The CHIP_RDYn signal indicates that the crystal is running. Bits 6, 5, and 4 comprise the STATE value. This value reflects the state of the chip. The XOSC and power to the digital core are on in the IDLE state, but all other modules are in power down. The frequency configuration should only be updated when the chip is in this state. SWRS108 The last four bits (3:0) in the status byte contains FIFO_BYTES_AVAILABLE. For these bits to give any valid information, the R/W ¯ bit in the header byte must be set to 1. The FIFO_BYTES_AVAILABLE field will then contain the number of bytes that can be read from the RX FIFO. When FIFO_BYTES_AVAILABLE=15, 15 or more bytes can be read. The RX FIFO should not be emptied before the complete packet has been received (see the CC113L Errata Notes [3] for more details). Table 16 gives a status byte summary. Page 22 of 68 CC113L Bits Name Description 7 CHIP_RDYn Stays high until power and crystal have stabilized. Should always be low when using the SPI interface. 6:4 STATE[2:0] Indicates the current main state machine mode 3:0 FIFO_BYTES_AVAILABLE[3:0] Value State Description 000 IDLE IDLE state (Also reported for some transitional states instead of SETTLING or CALIBRATE) 001 RX Receive mode 010 Reserved 011 Reserved 100 CALIBRATE Frequency synthesizer calibration is running 101 SETTLING PLL is settling 110 RXFIFO_OVERFLOW RX FIFO has overflowed. Read out any useful data, then flush the FIFO with SFRX 111 Reserved The number of bytes available in the RX FIFO Table 16: Status Byte Summary 10.2 Register Access The configuration registers on the CC113L are located on SPI addresses from 0x00 to 0x2E. Table 31 on page 46 lists all configuration registers. It is highly recommended to use SmartRF Studio [4] to generate optimum register settings. The detailed description of each register is found in Section 26.1 and Section 26.2, starting on page 49. All configuration registers can be both written to and read. The R/W ¯ bit controls if the register should be written to or read. When writing to registers, the status byte is sent on the SO pin each time a header byte or data byte is transmitted on the SI pin. When reading from registers, the status byte is sent on the SO pin each time a header byte is transmitted on the SI pin. Registers with consecutive addresses can be accessed in an efficient way by setting the burst bit (B) in the header byte. The address bits (A5 - A0) set the start address in an internal address counter. This counter is incremented by one each new byte (every 8 clock pulses). The burst access is either a read or a write access and must be terminated by setting CSn high. For register addresses in the range 0x30 - 0x3D, the burst bit is used to select between status registers when burst bit is one, and command strobes when burst bit is zero. See more in Section 10.3 below. Because of this, burst access is not available for status registers and they must be accessed one at a time. The status registers can only be read. 10.3 SPI Read When reading register fields over the SPI interface while the register fields are updated by the radio hardware (e.g. MARCSTATE or RXBYTES), there is a small, but finite, probability that a single read from the register is being corrupt. As an example, the probability of any single read from RXBYTES being corrupt, assuming the maximum data rate is used, is approximately 80 ppm. Refer to the CC113L Errata Notes [3] for more details. 10.4 Command Strobes Command Strobes may be viewed as single byte instructions to CC113L. By addressing a command strobe register, internal sequences will be started. These commands are used to disable the crystal oscillator, enable receive mode, enable calibration etc. The 8 command SWRS108 strobes are on page 45. listed in Table 30 Page 23 of 68 CC113L are written. The R/W ¯ bit should be set to one if the FIFO_BYTES_AVAILABLE field in the status byte should be interpreted. Note: An SIDLE strobe will clear all pending command strobes until IDLE state is reached. This means that if for example an SIDLE strobe is issued while the radio is in RX state, any other command strobes issued before the radio reaches IDLE state will be ignored. When writing command strobes, the status byte is sent on the SO pin. The command strobe registers are accessed by transferring a single header byte (no data is being transferred). That is, only the R/W ¯ bit, the burst access bit (set to 0), and the six address bits (in the range 0x30 through 0x3D) A command strobe may be followed by any other SPI access without pulling CSn high. However, if an SRES strobe is being issued, one will have to wait for SO to go low again before the next header byte can be issued as shown in Figure 14. The command strobes are executed immediately, with the exception of the SPWD and the SXOFF strobes, which are executed when CSn goes high. CSn SO SI HeaderSRES HeaderAddr Data Figure 14: SRES Command Strobe 10.5 RX FIFO Access The 64-byte RX FIFO is accessed through the 0x3F address. The RX FIFO is write-only and the R/W ¯ bit should therefore be one. The burst bit is used to determine if the RX FIFO access is a single byte access or a burst access. The single byte access method expects a header byte with the burst bit set to zero and one data byte. After the data byte, a new header byte is expected; hence, CSn can remain low. The burst access method expects one header byte and then consecutive data bytes until terminating the access by setting CSn high. The following RX FIFO: header bytes access the 0xBF: Single byte access to RX FIFO 0xFF: Burst access to RX FIFO The RX FIFO may be flushed by issuing a SFRX command strobe. A SFRX command strobe can only be issued in the IDLE, or RXFIFO_OVERFLOW states. The RX FIFO is flushed when going to the SLEEP state. Figure 15 gives a brief overview of different register access types possible. Csn Command strobe(s) HeaderStrobe HeaderStrobe HeaderStrobe Read or write register(s) HeaderReg Data HeaderReg Data Read or write consecutive register(s) HeaderReg n Datan Data n + 1 Datan + 2 Write n + 1 bytes to the RX FIFO HeaderRX FIFO DataByte 0 DataByte 1 DataByte 2 ......... DataByte n - 1 DataByte n HeaderReg Data HeaderStrobe HeaderReg Data HeaderStrobe HeaderRX FIFO Combinations HeaderReg Data ......... ......... ......... DataByte 0 DataByte 1 .... Figure 15: Register Access Types SWRS108 Page 24 of 68 CC113L 11 Microcontroller Interface and Pin Configuration In a typical system, CC113L will interface to a microcontroller. This microcontroller must be able to: Program CC113L into different modes Read buffered data Read back status information via the 4-wire SPI-bus configuration interface (SI, SO, SCLK and CSn) 11.1 Configuration Interface The microcontroller uses four I/O pins for the SPI configuration interface (SI, SO, SCLK and CSn). The SPI is described in Section 10 on page 21. 11.2 General Control and Status Pins The CC113L has two dedicated configurable pins (GDO0 and GDO2) and one shared pin (GDO1) that can output internal status information useful for control software. These pins can be used to generate interrupts on the MCU. See Section 23 on page 41 for more details on the signals that can be programmed. GDO1 is shared with the SO pin in the SPI interface. The default setting for GDO1/SO is 3-state output. By selecting any other of the programming options, the GDO1/SO pin will become a generic pin. When CSn is low, the pin will always function as a normal SO pin. 12 Data Rate Programming The data rate expected in receive mode is programmed by the MDMCFG3.DRATE_M and the MDMCFG4.DRATE_E configuration registers. The data rate is given by the formula below. As the formula shows, the programmed data rate depends on the crystal frequency. RDATA (256 DRATE _ M ) 2 DRATE _ E 2 28 f XOSC The following approach can be used to find suitable values for a given data rate: DRATE _ E DRATE _ M log 2 RDATA 2 20 f XOSC RDATA 2 28 f XOSC 2 DRATE _ E 256 If DRATE_M is rounded to the nearest integer and becomes 256, increment DRATE_E and use DRATE_M = 0. The data rate can be set from 0.6 kBaud to 500 kBaud with the minimum step size according to Table 17 below. See Table 3 for the minimum and maximum data rates for the different modulation formats. Min Data Rate [kBaud] Typical Data Rate [kBaud] Max Data Rate [kBaud] Data rate Step Size [kBaud] 0.6 1.0 0.79 0.0015 0.79 1.2 1.58 0.0031 1.59 2.4 3.17 0.0062 3.17 4.8 6.33 0.0124 6.35 9.6 12.7 0.0248 12.7 19.6 25.3 0.0496 25.4 38.4 50.7 0.0992 50.8 76.8 101.4 0.1984 101.6 153.6 202.8 0.3967 203.1 250 405.5 0.7935 406.3 500 500 1.5869 Table 17: Data Rate Step Size (assuming a 26 MHz crystal) 13 Receiver Channel Filter Bandwidth In order to meet different channel width requirements, the receiver channel filter is programmable. The MDMCFG4.CHANBW_E and MDMCFG4.CHANBW_M configuration registers control the receiver channel filter bandwidth, SWRS108 which scales frequency. with the crystal oscillator The following formula gives the relation between the register settings and the channel filter bandwidth: Page 25 of 68 CC113L BWchannel bandwidth. The following example illustrates this: f XOSC 8 (4 CHANBW _ M )·2CHANBW _ E Table 18 lists the channel filter bandwidths supported by the CC113L. MDMCFG4. MDMCFG4.CHANBW_E CHANBW_M 00 01 10 11 00 812 406 203 102 01 650 325 162 81 10 541 270 135 68 11 464 232 116 58 Table 18: Channel Filter Bandwidths [kHz] (assuming a 26 MHz crystal) For best performance, the channel filter bandwidth should be selected so that the signal bandwidth occupies at most 80% of the channel filter bandwidth. The channel centre tolerance due to crystal inaccuracy should also be subtracted from the channel filter With the channel filter bandwidth set to 500 kHz, the signal should stay within 80% of 500 kHz, which is 400 kHz. Assuming 915 MHz frequency and ±20 ppm frequency uncertainty for both the transmitting device and the receiving device, the total frequency uncertainty is ±40 ppm of 915 MHz, which is ±37 kHz. If the whole transmitted signal bandwidth is to be received within 400 kHz, the transmitted signal bandwidth should be maximum 400 kHz - 2·37 kHz, which is 326 kHz. By compensating for a frequency offset between the transmitter and the receiver, the filter bandwidth can be reduced and the sensitivity can be improved, see more in DN005 [9] and in Section 14.1. 14 Demodulator, Symbol Synchronizer, and Data Decision CC113L contains an advanced and highly configurable demodulator. Channel filtering and frequency offset compensation is performed digitally. To generate the RSSI level (see Section 17.2 for more information), the signal level in the channel is estimated. Data filtering is also included for enhanced performance. 14.1 Frequency Offset Compensation The CC113L has a very fine frequency resolution (see Table 9). This feature can be used to compensate for frequency offset and drift. When using 2-FSK, GFSK, or 4-FSK modulation, the demodulator will compensate for the offset between the transmitter and receiver frequency within certain limits, by estimating the centre of the received data. The frequency offset compensation configuration is controlled from the FOCCFG register. By compensating for a large frequency offset between the transmitter and the receiver, the sensitivity can be improved, see DN005 [9]. The tracking range of the algorithm is selectable as fractions of the channel bandwidth with the FOCCFG.FOC_LIMIT configuration register. If the FOCCFG.FOC_BS_CS_GATE bit is set, the offset compensator will freeze until carrier sense asserts. This may be useful when the radio is in RX for long periods with no traffic, SWRS108 since the algorithm may drift to the boundaries when trying to track noise. The tracking loop has two gain factors, which affects the settling time and noise sensitivity of the algorithm. FOCCFG.FOC_PRE_K sets the gain before the sync word is detected, and FOCCFG.FOC_POST_K selects the gain after the sync word has been found. Note: Frequency offset compensation is not supported for OOK modulation The estimated frequency offset value is available in the FREQEST status register. This can be used for permanent frequency offset compensation. By writing the value from FREQEST into FSCTRL0.FREQOFF, the frequency synthesizer will automatically be adjusted according to the estimated frequency offset. More details regarding this permanent frequency compensation algorithm can be found in DN015 [6]. Page 26 of 68 CC113L 14.2 Bit Synchronization The bit synchronization algorithm extracts the clock from the incoming symbols. The algorithm requires that the expected data rate is programmed as described in Section 12 on page 25. Re-synchronization is performed continuously to adjust for error in the incoming symbol rate. 14.3 Byte Synchronization Byte synchronization is achieved by a continuous sync word search. The sync word is a 16 bit configurable field (can be repeated to get a 32 bit) that must be inserted at the start of the packet by the transmitter (for example the CC115L, CC110L, or CC1101). The MSB in the sync word must be transmitted first. The demodulator uses this field to find the byte boundaries in the stream of bits. The sync word will also function as a system identifier, since only packets with the correct predefined sync word will be received if the sync word detection is enabled in register MDMCFG2 (see Section 17.1). The sync word detector correlates against the user-configured 16 or 32 bit sync word. The correlation threshold can be set to 15/16, 16/16, or 30/32 bits match. The sync word can be further qualified using the preamble quality indicator mechanism described below and/or a carrier sense condition. The sync word is configured through the SYNC1 and SYNC0 registers. 15 Packet Handling Hardware Support The CC113L has built-in hardware support for packet oriented radio protocols and the packet handler can be configured to implement the following (if enabled): Preamble detection Sync word detection CRC computation and CRC check One byte address check Packet length check (length byte checked against a programmable maximum length) Optionally, two status bytes (see Table 19 and Table 20) with RSSI value and CRC status can be appended in the RX FIFO. Bit Field Name Description 7:0 RSSI RSSI value Table 19: Received Packet Status Byte 1 (first byte appended after the data) Bit Field Name Description 7 CRC_OK 1: CRC for received data OK (or CRC disabled) 0: CRC error in received data 6:0 Reserved Table 20: Received Packet Status Byte 2 (second byte appended after the data) Note: Register fields that control the packet handling features should only be altered when CC113L is in the IDLE state. 15.1 Packet Format The CC113L can be configured to receive packets of different format and the packet should consists of the following items (see Figure 16): Preamble SWRS108 Synchronization word Optional length byte Optional address byte Payload Optional 2 byte CRC Page 27 of 68 CC113L Legend: Processed and removed by the radio Data field 16/32 bits 8 bits 8 bits 8 x n bits CRC-16 Address field 8 x n bits Length field Preamble bits (1010...1010) Sync word Optional CRC-16 calculation OptIonal user-provided fields (processed by the radio, but not removed) Unprocessed user data 16 bits Figure 16: Packet Format The preamble pattern is an alternating sequence of ones and zeros that the receiver uses for bit synchronisation. The synchronization word is a two-byte value set in the SYNC1 and SYNC0 registers. The sync word provides byte synchronization of the incoming packet. A one-byte sync word can be emulated by setting the SYNC1 value to the preamble pattern. It is also possible to emulate a 32 bit sync word by setting MDMCFG2.SYNC_MODE to 3 or 7. The sync word searched for is the two-byte sync word repeated twice. CC113L supports both constant packet length protocols and variable length protocols. Variable or fixed packet length mode can be used for packets up to 255 bytes. For longer packets, infinite packet length mode must be used. Fixed packet length mode is selected by setting PKTCTRL0.LENGTH_CONFIG=0. The desired packet length is set by the PKTLEN register. This value must be different from 0. In variable packet length mode, PKTCTRL0.LENGTH_CONFIG=1, the packet length is configured by the first byte after the sync word. The packet length is defined as the payload data, excluding the length byte and the optional CRC. The PKTLEN register is used to set the maximum packet length allowed. Any packet received with a length byte with a value greater than PKTLEN will be discarded. The PKTLEN value must be different from 0. With PKTCTRL0.LENGTH_CONFIG=2, the packet length is set to infinite and reception will continue until turned off manually. As described in the next section, this can be used to support packet formats with different length configuration than natively supported by CC113L. SWRS108 Note: The minimum packet length supported (excluding the optional length byte and CRC) is one byte of payload data. 15.1.1 Arbitrary Length Field Configuration The packet length register, PKTLEN, can be reprogrammed during RX. In combination with fixed packet length mode (PKTCTRL0.LENGTH_CONFIG=0), this opens the possibility to have a different length field configuration than supported for variable length packets (in variable packet length mode the length byte is the first byte after the sync word). At the start of reception, the packet length is set to a large value. The MCU reads out enough bytes to interpret the length field in the packet. Then the PKTLEN value is set according to this value. The end of packet will occur when the byte counter in the packet handler is equal to the PKTLEN register. Thus, the MCU must be able to program the correct length, before the internal counter reaches the packet length. 15.1.2 Packet Length > 255 The packet automation control register, PKTCTRL0, can be reprogrammed during RX. This opens the possibility to receive packets that are longer than 256 bytes and still be able to use the packet handling hardware support. At the start of the packet, the infinite packet length mode (PKTCTRL0.LENGTH_CONFIG=2) must be active. When receiving, the MCU reads out enough bytes to interpret the length field in the packet and sets the PKTLEN register to mod(length, 256). When less than 256 bytes remains of the packet, the MCU disables infinite packet length mode and activates fixed packet length mode (PKTCTRL0.LENGTH_CONFIG=0). When the internal byte counter reaches the PKTLEN value, the reception ends (the radio enters the state determined by RXOFF_MODE). Automatic Page 28 of 68 CC113L CRC appending/checking can also be used (by setting PKTCTRL0.CRC_EN=1). Program the PKTLEN mod(600, 256) = 88. When for example a 600-byte packet is to be received, the MCU should do the following (see also Figure 17) Receive at least 345 bytes (600 - 255) Set PKTCTRL0.LENGTH_CONFIG=2. register to Set PKTCTRL0.LENGTH_CONFIG=0. The reception ends when the packet counter reaches 88. A total of 600 bytes have been received. Receive enough bytes to interpret the length field Internal byte counter in packet handler counts from 0 to 255 and then starts at 0 again 0, 1............, 88, .............................................255, 0, ........, 88, .............................................255, 0, ........, 88, .............................................255, 0, .. Infinite packet length mode enabled Length field received. PKTLEN set to mod(600, 256) = 88 Fixed packet length mode anbled when less than 256 bytes remains of packet 600 bytes received Figure 17: Packet Length > 255 15.2 Packet Filtering CC113L supports three different types of packet filtering; address filtering, maximum length filtering, and CRC filtering. 15.2.1 Address Filtering Setting PKTCTRL1.ADR_CHK to any other value than zero enables the packet address filter. The packet handler engine will compare the destination address byte in the packet with the programmed node address in the ADDR register and the 0x00 broadcast address when PKTCTRL1.ADR_CHK=10 or both the 0x00 and 0xFF broadcast addresses when PKTCTRL1.ADR_CHK=11. If the received address matches a valid address, the packet is received and written into the RX FIFO. If the address match fails, the packet is discarded and receive mode restarted (regardless of the MCSM1.RXOFF_MODE setting). If the received address matches a valid address when using infinite packet length mode and address filtering is enabled, 0xFF will be written into the RX FIFO followed by the address byte and then the payload data. 15.2.2 Maximum Length Filtering In variable packet length mode, PKTCTRL0.LENGTH_CONFIG=1, the PKTLEN.PACKET_LENGTH register value is SWRS108 used to set the maximum allowed packet length. If the received length byte has a larger value than this, the packet is discarded and receive mode restarted (regardless of the MCSM1.RXOFF_MODE setting). 15.2.3 CRC Filtering The filtering of a packet when CRC check fails is enabled by setting PKTCTRL1.CRC_AUTOFLUSH=1. The CRC auto flush function will flush the entire RX FIFO if the CRC check fails. After auto flushing the RX FIFO, the next state depends on the MCSM1.RXOFF_MODE setting. When using the auto flush function, the maximum packet length is 63 bytes in variable packet length mode and 64 bytes in fixed packet length mode. Note that when PKTCTRL1.APPEND_STATUS is enabled, the maximum allowed packet length is reduced by two bytes in order to make room in the RX FIFO for the two status bytes appended at the end of the packet. Since the entire RX FIFO is flushed when the CRC check fails, the previously received packet must be read out of the RX FIFO before receiving the current packet. The MCU must not read from the current packet until the CRC has been checked as OK. Page 29 of 68 CC113L 15.3 Packet Handling In RX mode, the demodulator and packet handler will search for a valid sync word. When found, the demodulator has obtained both bit and byte synchronization and will receive the first payload byte. When variable packet length mode is enabled, the first byte is the length byte. The packet handler stores this value as the packet length and receives the number of bytes indicated by the length byte. If fixed packet length mode is used, the packet handler will accept the programmed number of bytes. Next, the packet handler optionally checks the address and only continues the reception if the address matches. If automatic CRC check is enabled, the packet handler computes CRC and matches it with the appended CRC checksum. At the end of the payload, the packet handler will optionally write two extra packet status bytes (see Table 19 and Table 20) that contain CRC status, link quality indication, and RSSI value. 15.4 Packet Handling in Firmware When implementing a packet oriented radio protocol in firmware, the MCU needs to know when a packet has been received. Additionally, for packets longer than 64 bytes, the RX FIFO needs to be read while in RX mode. This means that the MCU needs to know the number of bytes that can be read from the RX FIFO. There are two possible solutions to get the necessary status information: a) Interrupt Driven Solution The GDO pins can be used to give an interrupt when a sync word has been received or when a complete packet has been received by setting IOCFGx.GDOx_CFG=0x06. In addition, there are two configurations for the IOCFGx.GDOx_CFG register that can be used as an interrupt source to provide information on how many bytes that are in the RX FIFO (IOCFGx.GDOx_CFG=0x00 and IOCFGx.GDOx_CFG=0x01). See Table 29 for more information. b) SPI Polling The PKTSTATUS register can be polled at a given rate to get information about the current GDO2 and GDO0 values respectively. The RXBYTES register can be polled at a given rate to get information about the number of bytes in the RX FIFO. Alternatively, the number of bytes in the RX FIFO can be read from the chip status byte returned on the MISO line each time a header byte, data byte, or command strobe is sent on the SPI bus. It is recommended to employ an interrupt driven solution since high rate SPI polling reduces the RX sensitivity. Furthermore, as explained in Section 10.3 and the CC113L Errata Notes [3], when using SPI polling, there is a small, but finite, probability that a single read from registers PKTSTATUS, and RXBYTES is being corrupt. The same is the case when reading the chip status byte. 16 Modulation Formats CC113L supports amplitude, frequency, and phase shift modulation formats. The desired modulation format is set in the MDMCFG2.MOD_FORMAT register. Optionally, if the data has been Manchester coded on the transmitter side it can be decoded by the demodulator. This option is enabled by setting MDMCFG2.MANCHESTER_EN=1. Note: Manchester encoding is not supported at the same time as using 4FSK modulation 16.1 Frequency Shift Keying CC113L supports 2-(G)FSK and 4-FSK modulation. When selecting 4-FSK, the preamble and sync word to be received needs to be 2-FSK (see Figure 13). SWRS108 When 2-FSK/GFSK/4-FSK modulation is used, the DEVIATN register specifies the expected frequency deviation of incoming signals in RX and should be the same as the deviation of the Page 30 of 68 CC113L transmitted signal for demodulation to be performed reliably and robustly. The frequency deviation is programmed with the DEVIATION_M and DEVIATION_E values in the DEVIATN register. The value has an exponent/mantissa form, and the resultant deviation is given by: f dev Symbol Coding 2-FSK/GFSK „0‟ – Deviation „1‟ + Deviation „01‟ – Deviation „00‟ – 1/3∙Deviation „10‟ +1/3∙Deviation „11‟ + Deviation 4-FSK f xosc (8 DEVIATION _ M ) 2 DEVIATION _ E 217 Table 21: Symbol Encoding for 2-FSK/GFSK and 4-FSK Modulation The symbol encoding is shown in Table 21. 1/Baud Rate Format 1/Baud Rate 1/Baud Rate +1 +1/3 -1/3 -1 1 0 1 0 1 0 1 0 1 1 0 1 Preamble 0xAA 0 0 1 1 00 01 01 11 10 00 11 01 Sync 0xD3 Data 0x17 0x8D Figure 18: Data Sent Over the Air (MDMCFG2.MOD_FORMAT=100) 16.2 Amplitude Modulation The amplitude modulation supported by CC113L is On-Off Keying (OOK). When using OOK, the AGC settings from the SmartRF Studio [4] preferred FSK settings are not optimum. DN022 [8] gives guidelines on how to find optimum OOK settings from the preferred settings in SmartRF Studio [4]. The DEVIATN register setting has no effect when using OOK. 17 Received Signal Qualifiers and RSSI CC113L has several qualifiers that can be used Sync Word Qualifier to increase the likelihood that a valid sync word is detected: RSSI 17.1 Carrier Sense Sync Word Qualifier If sync word detection is enabled in the MDMCFG2 register, the CC113L will not start filling the RX FIFO and perform the packet filtering described in Section 15.2 before a valid sync word has been detected. The sync word qualifier mode is set by MDMCFG2.SYNC_MODE and is summarized in Table 22. Carrier sense in Table 22 is described in Section 17.3. MDMCFG2. SYNC_MODE Sync Word Qualifier Mode 000 No preamble/sync 001 15/16 sync word bits detected 010 16/16 sync word bits detected 011 30/32 sync word bits detected 100 No preamble/sync + carrier sense above threshold 101 15/16 + carrier sense above threshold 110 16/16 + carrier sense above threshold 111 30/32 + carrier sense above threshold Table 22: Sync Word Qualifier Mode SWRS108 Page 31 of 68 CC113L 17.2 RSSI The RSSI value is an estimate of the signal power level in the chosen channel. This value is based on the current gain setting in the RX chain and the measured signal level in the channel. f RSSI 2 BWchannel 8 2FILTER _ LENGTH If PKTCTRL1.APPEND_STATUS is enabled, the last RSSI value of the packet is automatically added to the first byte appended after the payload. In RX mode, the RSSI value can be read continuously from the RSSI status register until the demodulator detects a sync word (when sync word detection is enabled). At that point the RSSI readout value is frozen until the next time the chip enters the RX state. The RSSI value read from the RSSI status register is a 2‟s complement number. The following procedure can be used to convert the RSSI reading to an absolute power level (RSSI_dBm) Note: It takes some time from the radio enters RX mode until a valid RSSI value is present in the RSSI register. Please see DN505 [7] for details on how the RSSI response time can be estimated. 1) Read the RSSI status register 2) Convert the reading from a hexadecimal number to a decimal number (RSSI_dec) 3) If RSSI_dec ≥ 128 then RSSI_dBm = (RSSI_dec - 256)/2 – RSSI_offset 4) Else if RSSI_dec < 128 then RSSI_dBm = (RSSI_dec)/2 – RSSI_offset Table 23 gives typical values for the RSSI_offset. Figure 19 and Figure 20 show typical plots of RSSI readings as a function of input power level for different data rates. The RSSI value is given in dBm with a ½ dB resolution. The RSSI update rate, fRSSI, depends on the receiver filter bandwidth (BW channel is defined in Section 13) and AGCCTRL0.FILTER_LENGTH. Data rate [kBaud] RSSI_offset [dB], 433 MHz RSSI_offset [dB], 868 MHz 1.2 74 74 38.4 74 74 250 74 74 500 74 74 Table 23: Typical RSSI_offset Values 0 -10 -20 RSSI Readout [dBm] -30 -40 -50 -60 -70 -80 -90 -100 -110 -120 -120 -110 -100 -90 -80 -70 -60 -50 -40 -30 -20 -10 0 Input Power [dBm] 1.2 kBaud 38.4 kBaud 250 kBaud 500 kBaud Figure 19: Typical RSSI Value vs. Input Power Level for Different Data Rates at 433 MHz SWRS108 Page 32 of 68 CC113L 0 -10 -20 RSSI Readout [dBm] -30 -40 -50 -60 -70 -80 -90 -100 -110 -120 -120 -110 -100 -90 -80 -70 -60 -50 -40 -30 -20 -10 0 Input Power [dBm] 1.2 kBaud 38.4 kBaud 250 kBaud 500 kBaud Figure 20: Typical RSSI Value vs. Input Power Level for Different Data Rates at 868 MHz 17.3 Carrier Sense (CS) Carrier sense (CS) is used as a sync word qualifier and can be asserted based on two conditions which can be individually adjusted: CS is asserted when the RSSI is above a programmable absolute threshold, and deasserted when RSSI is below the same threshold (with hysteresis). See more in Section 17.3.1. CS is asserted when the RSSI has increased with a programmable number of dB from one RSSI sample to the next, and de-asserted when RSSI has decreased with the same number of dB. This setting is not dependent on the absolute signal level and is thus useful to detect signals in environments with time varying noise floor. See more in Section 17.3.2. Carrier sense can be used as a sync word qualifier that requires the signal level to be higher than the threshold for a sync word search to be performed and is set by setting MDMCFG2 . The carrier sense signal can be observed on one of the GDO pins by setting IOCFGx.GDOx_CFG=14 and in the status register bit PKTSTATUS.CS. 17.3.1 CS Absolute Threshold AGCCTRL2.MAX_LNA_GAIN AGCCTRL2.MAX_DVGA_GAIN AGCCTRL1.CARRIER_SENSE_ABS_THR AGCCTRL2.MAGN_TARGET For given AGCCTRL2.MAX_LNA_GAIN and AGCCTRL2.MAX_DVGA_GAIN settings, the absolute threshold can be adjusted ±7 dB in steps of 1 dB using CARRIER_SENSE_ABS_THR. The MAGN_TARGET setting is a compromise between blocker tolerance/selectivity and sensitivity. The value sets the desired signal level in the channel into the demodulator. Increasing this value reduces the headroom for blockers, and therefore close-in selectivity. It is strongly recommended to use SmartRF Studio [4] to generate the correct MAGN_TARGET setting. Table 24 and Table 25 show the typical RSSI readout values at the CS threshold at 2.4 kBaud and 250 kBaud data rate respectively. The default reset value for CARRIER_SENSE_ABS_THR = 0 (0 dB) has been used. MAGN_TARGET = 3 (33 dB) and 7 (42 dB) have been used for 2.4 kBaud and 250 kBaud data rate respectively. For other data rates, the user must generate similar tables to find the CS absolute threshold. The absolute threshold related to the RSSI value depends on the following register fields: SWRS108 Page 33 of 68 CC113L If the threshold is set high, i.e. only strong signals are wanted, the threshold should be adjusted upwards by first reducing the MAX_LNA_GAIN value and then the MAX_DVGA_GAIN value. This will reduce power consumption in the receiver front end, since the highest gain settings are avoided. MAX_LNA_GAIN[2:0] MAX_DVGA_GAIN[1:0] 00 01 10 11 000 −97.5 −91.5 −85.5 −79.5 001 −94 −88 −82.5 −76 010 −90.5 −84.5 −78.5 −72.5 011 −88 −82.5 −76.5 −70.5 100 −85.5 −80 −73.5 −68 101 −84 −78 −72 −66 110 −82 −76 −70 −64 111 −79 −73.5 −67 −61 17.3.2 CS Relative Threshold Table 24: Typical RSSI Value in dBm at CS Threshold with MAGN_TARGET = 3 (33 dB) at 2.4 kBaud, 868 MHz The relative threshold detects sudden changes in the measured signal level. This setting does not depend on the absolute signal level and is thus useful to detect signals in environments with a time varying noise floor. The register field AGCCTRL1.CARRIER_SENSE_REL_THR is used to enable/disable relative CS, and to select threshold of 6 dB, 10 dB, or 14 dB RSSI change. MAX_LNA_GAIN[2:0] MAX_DVGA_GAIN[1:0] 00 01 10 11 000 −90.5 −84.5 −78.5 −72.5 001 −88 −82 −76 −70 010 −84.5 −78.5 −72 −66 011 −82.5 −76.5 −70 −64 100 −80.5 −74.5 −68 −62 101 −78 −72 −66 −60 110 −76.5 −70 −64 −58 111 −74.5 −68 −62 −56 Table 25: Typical RSSI Value in dBm at CS Threshold with MAGN_TARGET = 7 (42 dB) at 250 kBaud, 868 MHz SWRS108 Page 34 of 68 CC113L 18 Radio Control SIDLE SPWD SLEEP 0 CAL_COMPLETE MANCAL 3,4,5 IDLE 1 CSn = 0 SXOFF SCAL CSn = 0 XOFF 2 SRX FS_WAKEUP 6,7 FS_AUTOCAL = 01 & SRX FS_AUTOCAL = 00 | 10 | 11 & SRX CALIBRATE 8 CAL_COMPLETE SETTLING 9,10,11 SRX RXOFF_MODE = 11 RX 13,14,15 RXFIFO_OVERFLOW RXOFF_MODE = 00 & FS_AUTOCAL = 10 | 11 CALIBRATE 12 RXOFF_MODE = 00 & FS_AUTOCAL = 00 | 01 RX_OVERFLOW 17 SFRX IDLE 1 Figure 21: Complete Radio Control State Diagram SWRS108 Page 35 of 68 CC113L CC113L has a built-in state machine that is used to switch between different operational states (modes). The change of state is done either by using command strobes or by internal events such as RX FIFO overflow. shown in Figure 12 on page 20. The complete radio control state diagram is shown in Figure 21. The numbers refer to the state number readable in the MARCSTATE status register. This register is primarily for test purposes. A simplified state diagram, together with typical usage and current consumption, is 18.1 Power-On Start-Up Sequence When the power supply is turned on, the system must be reset. This is achieved by one of the two sequences described below, i.e. automatic power-on reset (POR) or manual reset. After the automatic power-on reset or manual reset, it is also recommended to change the signal that is output on the GDO0 pin. The default setting is to output a clock signal with a frequency of CLK_XOSC/192. However, to optimize performance in RX, an alternative GDO setting from the settings found in Table 29 on page 42 should be selected. 18.1.2 Manual Reset The other global reset possibility on CC113L uses the SRES command strobe. By issuing this strobe, all internal registers and states are set to the default, IDLE state. The manual power-up sequence is as follows (see Figure 23): Set SCLK = 1 and SI = 0. Strobe CSn low / high. Hold CSn low and then high for at least 40 µs relative to pulling CSn low Pull CSn low and wait for SO to go low (CHIP_RDYn). 18.1.1 Automatic POR A power-on reset circuit is included in the CC113L. The minimum requirements stated in Table 11 must be followed for the power-on reset to function properly. The internal powerup sequence is completed when CHIP_RDYn goes low. CHIP_RDYn is observed on the SO pin after CSn is pulled low. See Section 10.1 for more details on CHIP_RDYn. When the CC113L reset is completed, the chip will be in the IDLE state and the crystal oscillator will be running. If the chip has had sufficient time for the crystal oscillator to stabilize after the power-on-reset, the SO pin will go low immediately after taking CSn low. If CSn is taken low before reset is completed, the SO pin will first go high, indicating that the crystal oscillator is not stabilized, before going low as shown in Figure 22. Issue the SRES strobe on the SI line. When SO goes low again, reset is complete and the chip is in the IDLE state. XOSC and voltage regulator switched on 40 us CSn SO XOSC Stable SI SRES Figure 23: Power-On Reset with SRES Note that the above reset procedure is only required just after the power supply is first turned on. If the user wants to reset the CC113L after this, it is only necessary to issue an SRES command strobe. CSn SO XOSC Stable Figure 22: Power-On Reset SWRS108 Page 36 of 68 CC113L 18.2 Crystal Control The crystal oscillator (XOSC) is either automatically controlled or always on, if MCSM0.XOSC_FORCE_ON is set. In the automatic mode, the XOSC will be turned off if the SXOFF or SPWD command strobes are issued; the state machine then goes to XOFF or SLEEP respectively. This can only be done from the IDLE state. The XOSC will be turned off when CSn is released (goes high). The XOSC will be automatically turned on again when CSn goes low. The state machine will then go to the IDLE state. The SO pin on the SPI interface must be pulled low before the SPI interface is ready to be used as described in Section 10.1 on page 22. If the XOSC is forced on, the crystal will always stay on even in the SLEEP state. Crystal oscillator start-up time depends on crystal ESR and load capacitances. The electrical specification for the crystal oscillator can be found in Section 4.3 on page 12. 18.3 Voltage Regulator Control The voltage regulator to the digital core is controlled by the radio controller. When the chip enters the SLEEP state which is the state with the lowest current consumption, the voltage regulator is disabled. This occurs after CSn is released when a SPWD command strobe has been sent on the SPI interface. The chip is then in the SLEEP state. Setting CSn low again will turn on the regulator and crystal oscillator and make the chip enter the IDLE state. 18.4 Receive Mode (RX) Receive mode is activated directly by the MCU by using the SRX command strobe. The frequency synthesizer must be calibrated regularly. CC113L has one manual calibration option (using the SCAL strobe), and three automatic calibration options that are controlled by the MCSM0.FS_AUTOCAL setting: Calibrate when going from IDLE to RX Calibrate when going from RX to IDLE 1 automatically Calibrate every fourth time when going 1 from RX to IDLE automatically If the radio goes from RX to IDLE by issuing an SIDLE strobe, calibration will not be performed. The calibration takes a constant number of XOSC cycles; see Table 26 for timing details regarding calibration. When RX is activated, the chip will remain in receive mode until a packet is successfully received or until RX mode terminated due to lack of carrier sense (see Section 18.5). The probability that a false sync word is detected can be reduced by using CS together with maximum sync word length as described in Section 17. After a packet is successfully received, the radio controller goes to the state indicated by the MCSM1.RXOFF_MODE setting. The possible destinations are: 1 Not forced in IDLE by issuing an SIDLE strobe SWRS108 IDLE RX: Start search for a new packet Note: When MCSM1.RXOFF_MODE=11 and a packet has been received, it will take some time before a valid RSSI value is present in the RSSI register again even if the radio has never exited RX mode. This time is the same as the RSSI response time discussed in DN505 [7]. The SIDLE command strobe can always be used to force the radio controller to go to the IDLE state. 18.5 RX Termination If the system expects the transmission to have started when entering RX mode, the MCSM2.RX_TIME_RSSI function can be used. The radio controller will then terminate RX if the first valid carrier sense sample indicates no carrier (RSSI below threshold). See Section 17.3 on page 33 for details on Carrier Sense. For OOK modulation, lack of carrier sense is only considered valid after eight symbol periods. Thus, the MCSM2.RX_TIME_RSSI function can be used in OOK mode when the distance between two “1” symbols is eight or less. If RX terminates due to no carrier sense when the MCSM2.RX_TIME_RSSI function is used, the radio will always go back to IDLE, Page 37 of 68 CC113L regardless of the MCSM1.RXOFF_MODE setting. 18.6 Timing 18.6.1 Overall State Transition Times The crystal oscillator frequency, fxosc The main radio controller needs to wait in certain states in order to make sure that the internal analog/digital parts have settled down and are ready to operate in the new states. A number of factors are important for the state transition times: The value of the TEST0, TEST1, and FSCAL3 registers Table 26 shows timing in crystal clock cycles for key state transitions. Description Transition Time Transition Time [µs] IDLE to RX, no calibration 1953/fxosc 75.1 IDLE to RX, with calibration 1953/fxosc + FS calibration Time 799 RX to IDLE, no calibration 2/fxosc ~0.1 RX to IDLE, with calibration 2/fxosc + FS calibration Time 724 Manual calibration 283/fxosc + FS calibration Time 735 Table 26: Overall State Transition Times (Example for 26 MHz crystal oscillator, 250 kBaud data rate, and TEST0 = 0x0B (maximum calibration time)). 18.6.2 Frequency Time Synthesizer Calibration SmartRF Studio software [4]. The possible values for TEST0 when operating with different frequency bands are 0x09 and 0x0B. The SmartRF Studio software [4] always sets FSCAL3.CHP_CURR_CAL_EN to 10b. Table 27 summarizes the frequency synthesizer (FS) calibration times for possible settings of TEST0 and FSCAL3.CHP_CURR_CAL_EN. Setting FSCAL3.CHP_CURR_CAL_EN to 00b disables the charge pump calibration stage. TEST0 is set to the values recommended by The calibration time can be reduced from 712/724 µs to 145/157 µs. See Section 25.2 on page 44 for more details. TEST0 FSCAL3.CHP_CURR_CAL_EN FS Calibration Time fxosc = 26 MHz FS Calibration Time fxosc = 27 MHz 0x09 00b 3764/fxosc = 145 us 3764/fxosc = 139 us 0x09 10b 18506/fxosc = 712 us 18506/fxosc = 685 us 0x0B 00b 4073/fxosc = 157 us 4073/fxosc = 151 us 0x0B 10b 18815/fxosc = 724 us 18815/fxosc = 697 us Table 27. Frequency Synthesizer Calibration Times (26/27 MHz crystal) 19 RX FIFO The CC113L contains a 64-byte RX FIFO for received data and the SPI interface is used to read the RX FIFO (see Section 10.5 for more details). The FIFO controller will detect overflow in the RX FIFO. When reading the RX FIFO the MCU must avoid reading it past its empty value since a SWRS108 RX FIFO underflow will result in an error in the data read out of the RX FIFO. The chip status byte that is available on the SO pin while transferring the SPI header contains the fill grade of the RX FIFO (R/W ¯ = 1). Section 10.1 on page 22 contains more details on this. Page 38 of 68 CC113L The number of bytes in the RX FIFO can also be read from the status register RXBYTES.NUM_RXBYTES. If a received data byte is written to the RX FIFO at the exact same time as the last byte in the RX FIFO is read over the SPI interface, the RX FIFO pointer is not properly updated and the last read byte will be duplicated. To avoid this problem, the RX FIFO should never be emptied before the last byte of the packet is received. For packet lengths less than 64 bytes it is recommended to wait until the complete packet has been received before reading it out of the RX FIFO. If the packet length is larger than 64 bytes, the MCU must determine how many bytes can be read from the RX FIFO (RXBYTES.NUM_RXBYTES-1). The following software routine can be used: RXBYTES.NUM_RXBYTES repeatedly at a rate specified to be at least twice that of which RF bytes are received until the same value is returned twice; store value in n. 1. Read 2. If n < # of bytes remaining in packet, read n-1 bytes from the RX FIFO. 3. Repeat steps 1 and 2 until n = # of bytes remaining in packet. 4. Read the remaining bytes from the RX FIFO. FIFO_THR Bytes in RX FIFO 0 (0000) 4 1 (0001) 8 2 (0010) 12 3 (0011) 16 4 (0100) 20 5 (0101) 24 6 (0110) 28 7 (0111) 32 8 (1000) 36 9 (1001) 40 10 (1010) 44 11 (1011) 48 12 (1100) 52 13 (1101) 56 14 (1110) 60 15 (1111) 64 Table 28: FIFO_THR Settings and the Corresponding RX FIFO Thresholds A signal will assert when the number of bytes in the RX FIFO is equal to or higher than the programmed threshold. This signal can be viewed on the GDO pins (see Table 29 on page 42). Figure 24 shows the number of bytes in the RX FIFO when the threshold signal toggles in the case of FIFO_THR=13. Figure 25 shows the signal on the GDO pin as the RX FIFO is filled above the threshold, and then drained below in the case of FIFO_THR=13. The 4-bit FIFOTHR.FIFO_THR setting is used to program threshold points in the FIFOs. Overflow margin FIFO_THR=13 Table 28 lists the 16 FIFO_THR settings and the corresponding thresholds for the RX FIFO. 56 bytes RX FIFO Figure 24: Example of RX FIFO at Threshold NUM_RXBYTES 53 54 55 56 57 56 55 54 53 GDO Figure 25: Number of Bytes in RX FIFO vs. the GDO Signal (GDOx_CFG=0x00 and FIFO_THR=13) SWRS108 Page 39 of 68 CC113L 20 Frequency Programming The carrier frequency of the CC113L radio is given by the following equation: f carrier f XOSC FREQ 216 where FREQ is the 24 bit frequency word located in the FREQ2, FREQ1, and FREQ0 registers f IF f XOSC FREQ _ IF 210 If any frequency programming register is altered when the frequency synthesizer is running, the synthesizer may give an undesired response. Hence, the frequency should only be updated when the radio is in the IDLE state The preferred IF frequency is programmed with the FSCTRL1.FREQ_IF register. The IF frequency is given by: 21 VCO The VCO is completely integrated on-chip. 21.1 VCO and PLL Self-Calibration The VCO characteristics vary with temperature and supply voltage changes as well as the desired operating frequency. In order to ensure reliable operation, CC113L includes frequency synthesizer self-calibration circuitry. This calibration should be done regularly, and must be performed after turning on power and before using a new frequency. The number of XOSC cycles for completing the PLL calibration is given in Table 26 on page 38. The calibration can be initiated automatically or manually. The synthesizer can be automatically calibrated each time the synthesizer is turned on, or each time the synthesizer is turned off automatically. This is configured with the MCSM0.FS_AUTOCAL register setting. In manual mode, the calibration is initiated when the SCAL command strobe is activated in the IDLE mode. Note: The calibration values are maintained in SLEEP mode, so the calibration is still valid after waking up from SLEEP mode unless supply voltage or temperature has changed significantly. To check that the PLL is in lock, the user can program register IOCFGx.GDOx_CFG to 0x0A, and use the lock detector output available on the GDOx pin as an interrupt for the MCU (x = 0,1, or 2). A positive transition on the GDOx pin means that the PLL is in lock. As an alternative the user can read register FSCAL1. The PLL is in lock if the register content is different from 0x3F. Refer also to the CC113L Errata Notes [3]. For more robust operation, the source code could include a check so that the PLL is recalibrated until PLL lock is achieved if the PLL does not lock the first time. 22 Voltage Regulators CC113L contains several on-chip linear voltage regulators that generate the supply voltages needed by low-voltage modules. These voltage regulators are invisible to the user, and can be viewed as integral parts of the various modules. The user must however make sure that the absolute maximum ratings and required pin voltages in Table 1 and Table 12 are not exceeded. By setting the CSn pin low, the voltage regulator to the digital core turns on and the crystal oscillator starts. The SO pin on the SPI interface must go low before the first positive SWRS108 edge of SCLK (setup time is given in Table 15). If the chip is programmed to enter power-down mode (SPWD strobe issued), the power will be turned off after CSn goes high. The power and crystal oscillator will be turned on again when CSn goes low. The voltage regulator for the digital core requires one external decoupling capacitor. The voltage regulator output should only be used for driving the C113L. Page 40 of 68 CC113L 23 General Purpose / Test Output Control Pins The three digital output pins GDO0, GDO1, and GDO2 are general control pins configured with IOCFG0.GDO0_CFG, IOCFG1.GDO1_CFG, and IOCFG2.GDO2_CFG respectively. Table 29 shows the different signals that can be monitored on the GDO pins. These signals can be used as inputs to the MCU. GDO1 is the same pin as the SO pin on the SPI interface, thus the output programmed on this pin will only be valid when CSn is high. The default value for GDO1 is 3-stated which is useful when the SPI interface is shared with other devices. The default value for GDO0 is a 135 - 141 kHz clock output (XOSC frequency divided by 192). Since the XOSC is turned on SWRS108 at power-on-reset, this can be used to clock the MCU in systems with only one crystal. When the MCU is up and running, it can change the clock frequency by writing to IOCFG0.GDO0_CFG. If the IOCFGx.GDOx_CFG setting is less than 0x20 and IOCFGx_GDOx_INV is 0 (1), the GDO0 and GDO2 pins will be hardwired to 0 (1), and the GDO1 pin will be hardwired to 1 (0) in the SLEEP state. These signals will be hardwired until the CHIP_RDYn signal goes low. If the IOCFGx.GDOx_CFG setting is 0x20 or higher, the GDO pins will work as programmed also in SLEEP state. As an example, GDO1 is high impedance in all states if IOCFG1.GDO1_CFG=0x2E. Page 41 of 68 CC113L GDOx_CFG[5:0] Description 0 (0x00) Associated to the RX FIFO: Asserts when RX FIFO is filled at or above the RX FIFO threshold. Deasserts when RX FIFO is drained below the same threshold. 1 (0x01) Associated to the RX FIFO: Asserts when RX FIFO is filled at or above the RX FIFO threshold or the end of packet is reached. De-asserts when the RX FIFO is empty. 2 (0x02) - 3 (0x03) Reserved - used for test. 4 (0x04) Asserts when the RX FIFO has overflowed. De-asserts when the FIFO has been flushed. 5 (0x05) Reserved - used for test. 6 (0x06) Asserts when sync word has been received, and de-asserts at the end of the packet. The pin will also de-assert when a packet is discarded due to address or maximum length filtering or when the radio enters RXFIFO_OVERFLOW state. 7 (0x07) Asserts when a packet has been received with CRC OK. De-asserts when the first byte is read from the RX FIFO. 8 (0x08) - 9 (0x09) Reserved - used for test. 10 (0x0A) Lock detector output. The PLL is in lock if the lock detector output has a positive transition or is constantly logic high. To check for PLL lock the lock detector output should be used as an interrupt for the MCU. 11 (0x0B) Serial Clock. Synchronous to the data in synchronous serial mode. Data is set up on the falling edge by CC113L when GDOx_INV=0. 12 (0x0C) Serial Synchronous Data Output. Used for synchronous serial mode. 13 (0x0D) Serial Data Output. Used for asynchronous serial mode. 14 (0x0E) Carrier sense. High if RSSI level is above threshold. Cleared when entering IDLE mode. 15 (0x0F) CRC_OK. The last CRC comparison matched. Cleared when entering/restarting RX mode. 16 (0x10) - 27 (0x1B) Reserved - used for test. 28 (0x1C) LNA_PD. Note: LNA_PD will have the same signal level in SLEEP and RX states. To control an external LNA in applications where the SLEEP state is used it is recommended to use GDOx_CFGx=0x2F instead. 29 (0x1D) – 38 (0x26) Reserved - used for test. 39 (0x27) CLK_32k. 40 (0x28) Reserved - used for test. 41 (0x29) CHIP_RDYn. 42 (0x2A) Reserved - used for test. 43 (0x2B) XOSC_STABLE. 44 (0x2C) – 45 (0x2D) Reserved - used for test. 46 (0x2E) High impedance (3-state). 47 (0x2F) HW to 0 (HW1 achieved by setting GDOx_INV=1). Can be used to control an external LNA 48 (0x30) CLK_XOSC/1 49 (0x31) CLK_XOSC/1.5 50 (0x32) CLK_XOSC/2 51 (0x33) CLK_XOSC/3 52 (0x34) CLK_XOSC/4 53 (0x35) CLK_XOSC/6 54 (0x36) CLK_XOSC/8 55 (0x37) CLK_XOSC/12 56 (0x38) CLK_XOSC/16 57 (0x39) CLK_XOSC/24 58 (0x3A) CLK_XOSC/32 59 (0x3B) CLK_XOSC/48 60 (0x3C) CLK_XOSC/64 61 (0x3D) CLK_XOSC/96 62 (0x3E) CLK_XOSC/128 63 (0x3F) CLK_XOSC/192 Note: There are 3 GDO pins, but only one CLK_XOSC/n can be selected as an output at any time. If CLK_XOSC/n is to be monitored on one of the GDO pins, the other two GDO pins must be configured to values less than 0x30. The GDO0 default value is CLK_XOSC/192. To optimize RF performance, these signals should not be used while the radio is in RX mode. Table 29: GDOx Signal Selection (x = 0, 1, or 2) SWRS108 Page 42 of 68 CC113L 24 Asynchronous and Synchronous Serial Operation Several features and modes of operation have been included in the CC113L to provide backward compatibility with previous Chipcon products and other existing RF communication systems. For new systems, it is recommended to use the built-in packet handling features, as they can give more robust communication, significantly offload the microcontroller, and simplify software development. 24.1 Asynchronous Serial Operation Asynchronous transfer is included in the CC113L for backward compatibility with systems that are already using the asynchronous data transfer. When asynchronous transfer is enabled, all packet handling support is disabled and it is not possible to use Manchester encoding. Asynchronous serial mode is enabled by setting PKTCTRL0.PKT_FORMAT to 3. Data output can be on GDO0, GDO1, or GDO2. This is set by the IOCFG0.GDO0_CFG, IOCFG1.GDO1_CFG and IOCFG2.GDO2_CFG fields. In asynchronous serial mode no data decision is done on-chip and the raw data is put on the data output line. When using asynchronous serial mode make sure the interfacing MCU does proper oversampling and that it can handle the jitter on the data output line. The MCU should tolerate a jitter of ±1/8 of a bit period as the data stream is time-discrete using 8 samples per bit. In asynchronous serial mode there will be glitches of 37 - 38.5 ns duration (1/XOSC) occurring infrequently and with random periods. A simple RC filter can be added to the data output line between CC113L and the MCU to get rid of the 37 - 38.5 ns glitches if considered a problem. The filter 3 dB cut-off frequency needs to be high enough so that the data is not filtered and at the same time low enough to remove the glitch. As an example, for 2.4 kBaud data rate a 1 kΩ resistor and 2.7 nF capacitor can be used. This gives a 3 dB cut-off frequency of 59 kHz. 24.2 Synchronous Serial Operation Setting PKTCTRL0.PKT_FORMAT to 1 enables synchronous serial mode. When using this mode, sync detection should be disabled together with CRC calculation (MDMCFG2.SYNC_MODE=000 and PKTCTRL0.CRC_EN=0). Infinite packet length mode should be used (PKTCTRL0.LENGTH_CONFIG=10b). In synchronous serial mode, data is transferred on a two-wire serial interface. The CC113L provides a clock that is used to sample data on the data output line. The data output pin can be any of the GDO pins. This is set by the IOCFG0.GDO0_CFG, IOCFG1.GDO1_CFG, and IOCFG2.GDO2_CFG fields. The RX latency is 9 bits. The MCU must handle preamble and sync word detection in software, together with CRC calculation. 25 System Considerations and Guidelines 25.1 SRD Regulations International regulations and national laws regulate the use of radio receivers and transmitters. Short Range Devices (SRDs) for license free operation below 1 GHz are usually operated in the 315 MHz, 433 MHz, 868 MHz or 915 MHz frequency bands. The CC113L is specifically designed for such use with its 300 - 348 MHz, 387 - 464 MHz, and 779 - 928 MHz operating ranges. The most important regulations when using the CC113L in the 315 MHz, 433 MHz, 868 MHz, or 915 MHz frequency bands are EN 300 220 V2.3.1 (Europe) and FCC CFR47 part 15 (USA). SWRS108 For compliance with modulation bandwidth requirements under EN 300 220 V2.3.1 in the 863 to 870 MHz frequency range it is recommended to use a 26 MHz crystal for frequencies below 869 MHz and a 27 MHz crystal for frequencies above 869 MHz. Please note that compliance with regulations is dependent on the complete system performance. It is the customer‟s responsibility to ensure that the system complies with regulations. Page 43 of 68 CC113L 25.2 Calibration in Multi-Channel Systems CC115L is highly suited for multi-channel systems due to its agile frequency synthesizer and effective communication interface. Charge pump current, VCO current, and VCO capacitance array calibration data is required for each frequency when implementing a multichannel system. There are 3 ways of obtaining the calibration data from the chip: 1) Calibration for every frequency change. The PLL calibration time is 712/724 µs (26 MHz crystal and TEST0 = 0x09/0B, see Table 27). The blanking interval between each frequency is then 787/799 µs. 2) Perform all necessary calibration at startup and store the resulting FSCAL3, FSCAL2, and FSCAL1 register values in MCU memory. The VCO capacitance calibration FSCAL1 register value must be found for each RF frequency to be used. The VCO current calibration value and the charge pump current calibration value available in FSCAL2 and FSCAL3 respectively are not dependent on the RF frequency, so the same value can therefore be used for all RF frequencies for these two registers. Between each frequency change, the calibration process can then be replaced by writing the FSCAL3, FSCAL2 and FSCAL1 register values that corresponds to the next RF frequency. The PLL turn on time is approximately 75 µs (Table 26). The blanking interval between each frequency hop is then approximately 75 µs. disable the charge pump calibration. After writing to FSCAL3[5:4], strobe SRX with MCSM0.FS_AUTOCAL=1 for each new frequency. That is, VCO current and VCO capacitance calibration is done, but not charge pump current calibration. When charge pump current calibration is disabled the calibration time is reduced from 712/724 µs to 145/157 µs (26 MHz crystal and TEST0 = 0x09/0B, see Table 27). The blanking interval between each frequency hop is then 220/232 µs. There is a trade-off between blanking time and memory space needed for storing calibration data in non-volatile memory. Solution 2) above gives the shortest blanking interval, but requires more memory space to store calibration values. This solution also requires that the supply voltage and temperature do not vary much in order to have a robust solution. Solution 3) gives 567 µs smaller blanking interval than solution 1). The recommended settings for TEST0.VCO_SEL_CAL_EN change with frequency. This means that one should always use SmartRF Studio [4] to get the correct settings for a specific frequency before doing a calibration, regardless of which calibration method is being used. Note: The content in the TEST0 register is not retained in SLEEP state, thus it is necessary to re-write this register when returning from the SLEEP state. 3) Run calibration on a single frequency at startup. Next write 0 to FSCAL3[5:4] to SWRS108 Page 44 of 68 CC113L 26 Configuration Registers The configuration of CC113L is done by programming 8-bit registers. The optimum configuration data based on selected system parameters are most easily found by using the SmartRF Studio software [4]. Complete descriptions of the registers are given in the following tables. After chip reset, all the registers have default values as shown in the tables. The optimum register setting might differ from the default value. After a reset, all registers that shall be different from the default value therefore needs to be programmed through the SPI interface. There are 8 command strobe registers, listed in Table 30. Accessing these registers will initiate the change of an internal state or mode. There are 40 normal 8-bit configuration registers listed in Table 31, and SmartRF Studio [4] will provide recommended settings 2 for these registers . There are also 8 status registers that are listed in Table 32. These registers, which are readonly, contain information about the status of CC113L. The RX FIFO is accessed through one 8-bit register. During the header byte transfer and while writing data to a register, a status byte is returned on the SO line. This status byte is described in Table 16 on page 23. Table 33 summarizes the SPI address space. The address to use is given by adding the base address to the left and the burst and read/write bits on the top. Note that the burst bit has different meaning for base addresses above and below 0x2F. “Reserved” must be configured according to SmartRF Studio 2 Addresses marked as “Not Used” can be part of a burst access and one can write a dummy value to them. Addresses marked as Address Strobe Name Description 0x30 SRES Reset chip. 0x31 Reserved 0x32 SXOFF Turn off crystal oscillator. 0x33 SCAL Calibrate frequency synthesizer and turn it off. SCAL can be strobed from IDLE mode without setting manual calibration mode (MCSM0.FS_AUTOCAL=0) 0x34 SRX In IDLE state: Enable RX. Perform calibration first if MCSM0.FS_AUTOCAL=1. 0x35 Reserved 0x36 SIDLE 0x37 - 0x38 Reserved 0x39 SPWD Enter power down mode when CSn goes high. 0x3A SFRX Flush the RX FIFO buffer. Only issue SFRX in IDLE or RXFIFO_OVERFLOW states. 0x3B - 0x3C Reserved 0x3D SNOP Enter IDLE state No operation. May be used to get access to the chip status byte. Table 30: Command Strobes SWRS108 Page 45 of 68 CC113L Address Register Description Preserved in SLEEP State Details on Page Number 0x00 IOCFG2 GDO2 output pin configuration Yes 49 0x01 IOCFG1 GDO1 output pin configuration Yes 49 0x02 IOCFG0 GDO0 output pin configuration Yes 49 0x03 FIFOTHR RX FIFO threshold Yes 50 0x04 SYNC1 Sync word, high byte Yes 51 0x05 SYNC0 Sync word, low byte Yes 51 0x06 PKTLEN Packet length Yes 51 0x07 PKTCTRL1 Packet automation control Yes 51 0x08 PKTCTRL0 Packet automation control Yes 52 0x09 ADDR Device address Yes 52 0x0A RESERVED Yes 52 0x0B FSCTRL1 Frequency synthesizer control Yes 52 0x0C FSCTRL0 Frequency synthesizer control Yes 53 0x0D FREQ2 Frequency control word, high byte Yes 53 0x0E FREQ1 Frequency control word, middle byte Yes 53 0x0F FREQ0 Frequency control word, low byte Yes 53 0x10 MDMCFG4 Modem configuration Yes 53 0x11 MDMCFG3 Modem configuration Yes 53 0x12 MDMCFG2 Modem configuration Yes 54 0x13 - 0x14 Not Used 0x15 DEVIATN Modem deviation setting Yes 55 0x16 MCSM2 Main Radio Control State Machine configuration Yes 55 0x17 MCSM1 Main Radio Control State Machine configuration Yes 55 0x18 MCSM0 Main Radio Control State Machine configuration Yes 56 0x19 FOCCFG Frequency Offset Compensation configuration Yes 57 0x1A BSCFG Bit Synchronization configuration Yes 58 0x1B AGCTRL2 AGC control Yes 59 0x1C AGCTRL1 AGC control Yes 60 0x1D AGCTRL0 AGC control Yes 61 0x1E - 0x1F Not Used 0x20 RESERVED 0x21 FREND1 0x22 Not Used 0x23 0x24 Yes 61 Front end RX configuration Yes 62 FSCAL3 Frequency synthesizer calibration Yes 62 FSCAL2 Frequency synthesizer calibration Yes 62 0x25 FSCAL1 Frequency synthesizer calibration Yes 62 0x26 FSCAL0 Frequency synthesizer calibration Yes 62 0x27 - 0x28 Not Used 0x29 - 0x2B RESERVED No 63 0x2C TEST2 Various test settings No 63 0x2D TEST1 Various test settings No 63 0x2E TEST0 Various test settings No 63 Table 31: Configuration Registers Overview SWRS108 Page 46 of 68 CC113L Address Register Description Details on page number 0x30 (0xF0) PARTNUM Part number for CC113L 64 0x31 (0xF1) VERSION Current version number 64 0x32 (0xF2) FREQEST Frequency Offset Estimate 64 0x33 (0xF3) CRC_REG CRC OK 64 0x34 (0xF4) RSSI Received signal strength indication 64 0x35 (0xF5) MARCSTATE Control state machine state 65 0x36 - 0x37 (0xF6 - 0xF7) Reserved 0x38 (0xF8) PKTSTATUS Current GDOx status and packet status 66 0x39 - 0x3A (0xF9 - 0xFA) Reserved 0x3B (0xFB) RXBYTES Overflow and number of bytes in the RX FIFO 66 0x3C - 0x3D (0xFC - 0xFD) Reserved Table 32: Status Registers Overview SWRS108 Page 47 of 68 CC113L SRES Reserved SXOFF SCAL SRX Reserved SIDLE Reserved Reserved SPWD SFRX Reserved Reserved SNOP Reserved Reserved Burst +0xC0 R/W configuration registers, burst access possible 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09 0x0A 0x0B 0x0C 0x0D 0x0E 0x0F 0x10 0x11 0x12 0x13 0x14 0x15 0x16 0x17 0x18 0x19 0x1A 0x1B 0x1C 0x1D 0x1E 0x1F 0x20 0x21 0x22 0x23 0x24 0x25 0x26 0x27 0x28 0x29 0x2A 0x2B 0x2C 0x2D 0x2E 0x2F 0x30 0x31 0x32 0x33 0x34 0x35 0x36 0x37 0x38 0x39 0x3A 0x3B 0x3C 0x3D 0x3E 0x3F Read Single Byte +0x80 IOCFG2 IOCFG1 IOCFG0 FIFOTHR SYNC1 SYNC0 PKTLEN PKTCTRL1 PKTCTRL0 ADDR RESERVED FSCTRL1 FSCTRL0 FREQ2 FREQ1 FREQ0 MDMCFG4 MDMCFG3 MDMCFG2 Not Used Not Used DEVIATN MCSM2 MCSM1 MCSM0 FOCCFG BSCFG AGCCTRL2 AGCCTRL1 AGCCTRL0 Not Used Not Used RESERVED FREND1 Not Used FSCAL3 FSCAL2 FSCAL1 FSCAL0 Not Used Not Used RESERVED RESERVED RESERVED TEST2 TEST1 TEST0 Not Used SRES Reserved SXOFF SCAL SRX Reserved SIDLE Reserved Reserved SPWD SFRX Reserved Reserved SNOP Reserved RX FIFO PARTNUM VERSION FREQEST CRC_REG RSSI MARCSTATE Reserved Reserved PKTSTATUS Reserved Reserved RXBYTES Reserved Reserved Reserved RX FIFO Command Strobes, Status registers (read only) and multi byte registers Write Single Byte Burst +0x00 +0x40 Table 33: SPI Address Space SWRS108 Page 48 of 68 CC113L 26.1 Configuration Register Details - Registers with preserved values in SLEEP state 0x00: IOCFG2 - GDO2 Output Pin Configuration Bit Field Name Reset 7 R/W Description R0 Not used 6 GDO2_INV 0 R/W Invert output, i.e. select active low (1) / high (0) 5:0 GDO2_CFG[5:0] 41 (101001) R/W Default is CHP_RDYn (See Table 29 on page 42). 0x01: IOCFG1 - GDO1 Output Pin Configuration Bit Field Name Reset R/W Description 7 GDO_DS 0 R/W Set high (1) or low (0) output drive strength on the GDO pins. 6 GDO1_INV 0 R/W Invert output, i.e. select active low (1) / high (0) 5:0 GDO1_CFG[5:0] 46 (101110) R/W Default is 3-state (See Table 29 on page 42). 0x02: IOCFG0 - GDO0 Output Pin Configuration Bit Field Name 7 Reset R/W Description 0 R/W Use setting from SmartRF Studio [4] 6 GDO0_INV 0 R/W Invert output, i.e. select active low (1) / high (0) 5:0 GDO0_CFG[5:0] 63 (0x3F) R/W Default is CLK_XOSC/192 (See Table 29 on page 42). It is recommended to disable the clock output in initialization, in order to optimize RF performance. SWRS108 Page 49 of 68 CC113L 0x03: FIFOTHR - RX FIFO Thresholds Bit Field Name 7 6 ADC_RETENTION Reset R/W Description 0 R/W Use setting from SmartRF Studio [4] 0 R/W 0: TEST1 = 0x31 and TEST2= 0x88 when waking up from SLEEP 1: TEST1 = 0x35 and TEST2 = 0x81 when waking up from SLEEP Note that the changes in the TEST registers due to the ADC_RETENTION bit setting are only seen INTERNALLY in the analog part. The values read from the TEST registers when waking up from SLEEP mode will always be the reset value. The ADC_RETENTION bit should be set to 1before going into SLEEP mode if settings with an RX filter bandwidth below 325 kHz are wanted at time of wake-up. 5:4 3:0 CLOSE_IN_RX[1:0] FIFO_THR[3:0] 0 (00) 7 (0111) R/W R/W For more details, please see DN010 [5] Setting RX Attenuation, Typical Values 0 (00) 0 dB 1 (01) 6 dB 2 (10) 12 dB 3 (11) 18 dB Set the threshold for the RX FIFO. The threshold is exceeded when the number of bytes in the RX FIFO is equal to or higher than the threshold value. Setting Bytes in RX FIFO 0 (0000) 4 1 (0001) 8 2 (0010) 12 3 (0011) 16 4 (0100) 20 5 (0101) 24 6 (0110) 28 7 (0111) 32 8 (1000) 36 9 (1001) 40 10 (1010) 44 11 (1011) 48 12 (1100) 52 13 (1101) 56 14 (1110) 60 15 (1111) 64 SWRS108 Page 50 of 68 CC113L 0x04: SYNC1 - Sync Word, High Byte Bit Field Name Reset R/W Description 7:0 SYNC[15:8] 211 (0xD3) R/W 8 MSB of 16-bit sync word 0x05: SYNC0 - Sync Word, Low Byte Bit Field Name Reset R/W Description 7:0 SYNC[7:0] 145 (0x91) R/W 8 LSB of 16-bit sync word 0x06: PKTLEN - Packet Length Bit Field Name Reset R/W Description 7:0 PACKET_LENGTH 255 (0xFF) R/W Indicates the packet length when fixed packet length mode is enabled. If variable packet length mode is used, this value indicates the maximum packet length allowed. This value must be different from 0. 0x07: PKTCTRL1 - Packet Automation Control Bit Field Name Reset R/W Description 7:5 0 (000) R/W Use setting from SmartRF Studio [4] 4 0 R0 Not Used. 3 CRC_AUTOFLUSH 0 R/W Enable automatic flush of RX FIFO when CRC is not OK. This requires that only one packet is in the RX FIFO and that packet length is limited to the RX FIFO size. 2 APPEND_STATUS 1 R/W When enabled, two status bytes will be appended to the payload of the packet. The status bytes contain the RSSI value, as well as CRC OK. 1:0 ADR_CHK[1:0] 0 (00) R/W Controls address check configuration of received packages. Setting Address check configuration 0 (00) No address check 1 (01) Address check, no broadcast 2 (10) Address check and 0 (0x00) broadcast 3 (11) Address check and 0 (0x00) and 255 (0xFF) broadcast SWRS108 Page 51 of 68 CC113L 0x08: PKTCTRL0 - Packet Automation Control Bit Field Name Reset 7 6 5:4 PKT_FORMAT[1:0] 3 2 CRC_EN R/W Description R0 Not used 1 R/W Use setting from SmartRF Studio [4] 0 (00) R/W Format of RX data Setting Packet format 0 (00) Normal mode, use RX FIFO 1 (01) Synchronous serial mode, Data out on either of the GDOx pins 2 (10) Reserved 3 (11) Asynchronous serial mode, Data out on either of the GDOx pins 0 R0 Not used 1 R/W 1: CRC calculation enabled 0: CRC calculation disabled 1:0 LENGTH_CONFIG[1:0] 1 (01) R/W Configure the packet length Setting Packet length configuration 0 (00) Fixed packet length mode. Length configured in PKTLEN register 1 (01) Variable packet length mode. Packet length configured by the first byte received after sync word 2 (10) Infinite packet length mode 3 (11) Reserved 0x09: ADDR - Device Address Bit Field Name Reset R/W Description 7:0 DEVICE_ADDR[7:0] 0 (0x00) R/W Address used for packet filtration. Optional broadcast addresses are 0 (0x00) and 255 (0xFF). 0x0A: RESERVED Bit Field Name 7:0 Reset R/W Description 0 (0x00) R/W Use setting from SmartRF Studio [4] 0x0B: FSCTRL1 - Frequency Synthesizer Control Bit Field Name Reset 7:6 5 4:0 FREQ_IF[4:0] R/W Description R0 Not used 0 R/W Use setting from SmartRF Studio [4] 15 (01111) R/W The desired IF frequency to employ in RX. Subtracted from FS base frequency in RX and controls the digital complex mixer in the demodulator. f IF f XOSC FREQ _ IF 210 The default value gives an IF frequency of 381kHz, assuming a 26.0 MHz crystal. SWRS108 Page 52 of 68 CC113L 0x0C: FSCTRL0 - Frequency Synthesizer Control Bit Field Name Reset R/W Description 7:0 FREQOFF[7:0] 0 (0x00) R/W Frequency offset added to the base frequency before being used by the frequency synthesizer. (2s-complement). Resolution is FXTAL/214 (1.59 kHz - 1.65kHz); range is ±202 kHz to ±210 kHz, dependent of XTAL frequency. 0x0D: FREQ2 - Frequency Control Word, High Byte Bit Field Name Reset R/W Description 7:6 FREQ[23:22] 0 (00) R FREQ[23:22] is always 0 (the FREQ2 register is less than 36 with 26 - 27 MHz crystal) 5:0 FREQ[21:16] 30 (011110) R/W FREQ[23:0] is the base frequency for the frequency synthesiser in increments of fXOSC/216. f carrier f XOSC FREQ[23 : 0] 216 0x0E: FREQ1 - Frequency Control Word, Middle Byte Bit Field Name Reset R/W Description 7:0 FREQ[15:8] 196 (0xC4) R/W Ref. FREQ2 register 0x0F: FREQ0 - Frequency Control Word, Low Byte Bit Field Name Reset R/W Description 7:0 FREQ[7:0] 236 (0xEC) R/W Ref. FREQ2 register 0x10: MDMCFG4 - Modem Configuration Bit Field Name Reset R/W 7:6 CHANBW_E[1:0] 2 (10) R/W 5:4 CHANBW_M[1:0] 0 (00) R/W Description Sets the decimation ratio for the delta-sigma ADC input stream and thus the channel bandwidth. f XOSC 8 (4 CHANBW _ M )·2 CHANBW _ E BWchannel The default values give 203 kHz channel filter bandwidth, assuming a 26.0 MHz crystal. 3:0 DRATE_E[3:0] 12 (1100) R/W The exponent of the user specified symbol rate 0x11: MDMCFG3 - Modem Configuration Bit Field Name Reset R/W Description 7:0 DRATE_M[7:0] 34 (0x22) R/W The mantissa of the user specified symbol rate. The symbol rate is configured using an unsigned, floating-point number with 9-bit mantissa and 4-bit exponent. The 9th bit is a hidden „1‟. The resulting data rate is: RDATA (256 DRATE _ M ) 2 DRATE _ E f XOSC 2 28 The default values give a data rate of 115.051 kBaud (closest setting to 115.2 kBaud), assuming a 26.0 MHz crystal. SWRS108 Page 53 of 68 CC113L 0x12: MDMCFG2 - Modem Configuration Bit Field Name Reset R/W Description 7 DEM_DCFILT_OFF 0 R/W Disable digital DC blocking filter before demodulator. 0 = Enable (better sensitivity) 1 = Disable (current optimized). Only for data rates ≤ 250 kBaud The recommended IF frequency changes when the DC blocking is disabled. Please use SmartRF Studio [4] to calculate correct register setting. 6:4 MOD_FORMAT[2:0] 0 (000) R/W The modulation format of the radio signal Setting Modulation format 0 (000) 2-FSK 1 (001) GFSK 2 (010) Reserved 3 (011) OOK 4 (100) 4-FSK 5 (101) Reserved 6 (110) Reserved 7 (111) Reserved 4-FSK modulation cannot be used together with Manchester encoding 3 MANCHESTER_EN 0 R/W Enables Manchester decoding. 0 = Disable 1 = Enable Manchester encoding cannot be used when using asynchronous serial mode or 4-FSK modulation 2:0 SYNC_MODE[2:0] 2 (010) R/W Combined sync-word qualifier mode. The values 0 and 4 disables preamble and sync word detection The values 1, 2, 5, and 6 enables 16-bit sync word detection. Only 15 of 16 bits need to match when using setting 1 or 5. The values 3 and 7 enables 32-bits sync word detection (only 30 of 32 bits need to match). Setting Sync-word qualifier mode 0 (000) No preamble/sync 1 (001) 15/16 sync word bits detected 2 (010) 16/16 sync word bits detected 3 (011) 30/32 sync word bits detected 4 (100) No preamble/sync, carrier-sense above threshold 5 (101) 15/16 + carrier-sense above threshold 6 (110) 16/16 + carrier-sense above threshold 7 (111) 30/32 + carrier-sense above threshold SWRS108 Page 54 of 68 CC113L 0x15: DEVIATN - Modem Deviation Setting Bit Field Name Reset DEVIATION_E[2:0] 4 (100) 7 6:4 3 2:0 DEVIATION_M[2:0] 7 (111) R/W Description R0 Not used. R/W Deviation exponent. R0 Not used. R/W 2-FSK/ GFSK/ Specifies the expected frequency deviation of incoming signal, must be approximately right for demodulation to be performed reliably and robustly. 4-FSK OOK This setting has no effect. 0x16: MCSM2 - Main Radio Control State Machine Configuration Bit Field Name Reset RX_TIME_RSSI 0 7 (0111) 7:5 4 3:0 R/W Description R0 Not used R/W Direct RX termination based on RSSI measurement (carrier sense). For OOK modulation, RX times out if there is no carrier sense in the first 8 symbol periods. R/W Use setting from SmartRF Studio [4] 0x17: MCSM1 - Main Radio Control State Machine Configuration Bit Field Name Reset R/W Description R0 Not used 3 (11) R/W Use setting from SmartRF Studio [4] 0 (00) R/W Select what should happen when a packet has been received. 7:6 5:4 3:2 1:0 RXOFF_MODE[1:0] 0 (00) R/W Setting Next state after finishing packet reception 0 (00) IDLE 1 (01) Reserved 2 (10) Reserved 3 (11) Stay in RX Use setting from SmartRF Studio [4] SWRS108 Page 55 of 68 CC113L 0x18: MCSM0 - Main Radio Control State Machine Configuration Bit Field Name Reset FS_AUTOCAL[1:0] 0 (00) 7:6 5:4 3:2 PO_TIMEOUT 1 (01) R/W Description R0 Not used R/W Automatically calibrate when going to to/from RX mode R/W Setting When to perform automatic calibration 0 (00) Never (manually calibrate using SCAL strobe) 1 (01) When going from IDLE to RX 2 (10) When going from RX back to IDLE automatically 3 (11) Every 4th time when going from RX to IDLE automatically Programs the number of times the six-bit ripple counter must expire after the XOSC has settled before CHP_RDYn goes low. 3 If XOSC is on (stable) during power-down, PO_TIMEOUT shall be set so that the regulated digital supply voltage has time to stabilize before CHP_RDYn goes low (PO_TIMEOUT=2 recommended). Typical start-up time for the voltage regulator is 50 μs. For robust operation it is recommended to use PO_TIMEOUT = 2 or 3 when XOSC is off during power-down. Setting Expire count Timeout after XOSC start 0 (00) 1 Approx. 2.3 - 2.4 μs 1 (01) 16 Approx. 37 - 39 μs 2 (10) 64 Approx. 149 - 155 μs 3 (11) 256 Approx. 597 - 620 μs Exact timeout depends on crystal frequency. 1 0 XOSC_FORCE_ON 0 R/W Use setting from SmartRF Studio [4] 0 R/W Force the XOSC to stay on in the SLEEP state. 3 Note that the XOSC_STABLE signal will be asserted at the same time as the CHIP_RDYn signal; i.e. the PO_TIMEOUT delays both signals and does not insert a delay between the signals. SWRS108 Page 56 of 68 CC113L 0x19: FOCCFG - Frequency Offset Compensation Configuration Bit Field Name Reset 5 FOC_BS_CS_GATE 1 4:3 FOC_PRE_K[1:0] 2 (10) 7:6 2 1:0 FOC_POST_K FOC_LIMIT[1:0] 1 2 (10) R/W Description R0 Not used R/W If set, the demodulator freezes the frequency offset compensation and clock recovery feedback loops until the CS signal goes high. R/W The frequency compensation loop gain to be used before a sync word is detected. R/W R/W Setting Freq. compensation loop gain before sync word 0 (00) K 1 (01) 2K 2 (10) 3K 3 (11) 4K The frequency compensation loop gain to be used after a sync word is detected. Setting Freq. compensation loop gain after sync word 0 Same as FOC_PRE_K 1 K/2 The saturation point for the frequency offset compensation algorithm: Setting Saturation point (max compensated offset) 0 (00) ±0 (no frequency offset compensation) 1 (01) ±BWCHAN/8 2 (10) ±BWCHAN/4 3 (11) ±BWCHAN/2 Frequency offset compensation is not supported for OOK. Always use FOC_LIMIT=0 with this modulation format. SWRS108 Page 57 of 68 CC113L 0x1A: BSCFG - Bit Synchronization Configuration Bit Field Name Reset R/W Description 7:6 BS_PRE_KI[1:0] 1 (01) R/W The clock recovery feedback loop integral gain to be used before a sync word is detected (used to correct offsets in data rate): 5:4 3 2 1:0 BS_PRE_KP[1:0] BS_POST_KI BS_POST_KP BS_LIMIT[1:0] 2 (10) 1 1 0 (00) R/W R/W R/W R/W Setting Clock recovery loop integral gain before sync word 0 (00) KI 1 (01) 2KI 2 (10) 3KI 3 (11) 4KI The clock recovery feedback loop proportional gain to be used before a sync word is detected. Setting Clock recovery loop proportional gain before sync word 0 (00) KP 1 (01) 2KP 2 (10) 3KP 3 (11) 4KP The clock recovery feedback loop integral gain to be used after a sync word is detected. Setting Clock recovery loop integral gain after sync word 0 Same as BS_PRE_KI 1 KI /2 The clock recovery feedback loop proportional gain to be used after a sync word is detected. Setting Clock recovery loop proportional gain after sync word 0 Same as BS_PRE_KP 1 KP The saturation point for the data rate offset compensation algorithm: Setting Data rate offset saturation (max data rate difference) 0 (00) ±0 (No data rate offset compensation performed) 1 (01) ±3.125 % data rate offset 2 (10) ±6.25 % data rate offset 3 (11) ±12.5 % data rate offset SWRS108 Page 58 of 68 CC113L 0x1B: AGCCTRL2 - AGC Control Bit Field Name Reset R/W Description 7:6 MAX_DVGA_GAIN[1:0] 0 (00) R/W Reduces the maximum allowable DVGA gain. 5:3 2:0 MAX_LNA_GAIN[2:0] MAGN_TARGET[2:0] 0 (000) 3 (011) R/W R/W Setting Allowable DVGA settings 0 (00) All gain settings can be used 1 (01) The highest gain setting cannot be used 2 (10) The 2 highest gain settings cannot be used 3 (11) The 3 highest gain settings cannot be used Sets the maximum allowable LNA + LNA 2 gain relative to the maximum possible gain. Setting Maximum allowable LNA + LNA 2 gain 0 (000) Maximum possible LNA + LNA 2 gain 1 (001) Approx. 2.6 dB below maximum possible gain 2 (010) Approx. 6.1 dB below maximum possible gain 3 (011) Approx. 7.4 dB below maximum possible gain 4 (100) Approx. 9.2 dB below maximum possible gain 5 (101) Approx. 11.5 dB below maximum possible gain 6 (110) Approx. 14.6 dB below maximum possible gain 7 (111) Approx. 17.1 dB below maximum possible gain These bits set the target value for the averaged amplitude from the digital channel filter (1 LSB = 0 dB). Setting Target amplitude from channel filter 0 (000) 24 dB 1 (001) 27 dB 2 (010) 30 dB 3 (011) 33 dB 4 (100) 36 dB 5 (101) 38 dB 6 (110) 40 dB 7 (111) 42 dB SWRS108 Page 59 of 68 CC113L 0x1C: AGCCTRL1 - AGC Control Bit Field Name Reset 6 AGC_LNA_PRIORITY 1 5:4 CARRIER_SENSE_REL_THR[1:0] 0 (00) 7 3:0 CARRIER_SENSE_ABS_THR[3:0] 0 (0000) R/W Description R0 Not used R/W Selects between two different strategies for LNA and LNA 2 gain adjustment. When 1, the LNA gain is decreased first. When 0, the LNA 2 gain is decreased to minimum before decreasing LNA gain. R/W Sets the relative change threshold for asserting carrier sense R/W Setting Carrier sense relative threshold 0 (00) Relative carrier sense threshold disabled 1 (01) 6 dB increase in RSSI value 2 (10) 10 dB increase in RSSI value 3 (11) 14 dB increase in RSSI value Sets the absolute RSSI threshold for asserting carrier sense. The 2-complement signed threshold is programmed in steps of 1 dB and is relative to the MAGN_TARGET setting. Setting Carrier sense absolute threshold (Equal to channel filter amplitude when AGC has not decreased gain) SWRS108 -8 (1000) Absolute carrier sense threshold disabled -7 (1001) 7 dB below MAGN_TARGET setting … … -1 (1111) 1 dB below MAGN_TARGET setting 0 (0000) At MAGN_TARGET setting 1 (0001) 1 dB above MAGN_TARGET setting … … 7 (0111) 7 dB above MAGN_TARGET setting Page 60 of 68 CC113L 0x1D: AGCCTRL0 - AGC Control Bit Field Name Reset R/W Description 7:6 HYST_LEVEL[1:0] 2 (10) R/W Sets the level of hysteresis on the magnitude deviation (internal AGC signal that determine gain changes). 5:4 3:2 1:0 WAIT_TIME[1:0] AGC_FREEZE[1:0] FILTER_LENGTH[1:0] 1 (01) 0 (00) 1 (01) R/W R/W R/W Setting Description 0 (00) No hysteresis, small symmetric dead zone, high gain 1 (01) Low hysteresis, small asymmetric dead zone, medium gain 2 (10) Medium hysteresis, medium asymmetric dead zone, medium gain 3 (11) Large hysteresis, large asymmetric dead zone, low gain Sets the number of channel filter samples from a gain adjustment has been made until the AGC algorithm starts accumulating new samples. Setting Channel filter samples 0 (00) 8 1 (01) 16 2 (10) 24 3 (11) 32 Control when the AGC gain should be frozen. Setting Function 0 (00) Normal operation. Always adjust gain when required. 1 (01) The gain setting is frozen when a sync word has been found. 2 (10) Manually freeze the analogue gain setting and continue to adjust the digital gain. 3 (11) Manually freezes both the analogue and the digital gain setting. Used for manually overriding the gain. 2-FSK and 4-FSK: Sets the averaging length for the amplitude from the channel filter. OOK: Sets the OOK decision boundary for OOK reception. Setting Channel filter samples OOK decision boundary 0 (00) 8 4 dB 1 (01) 16 8 dB 2 (10) 32 12 dB 3 (11) 64 16 dB 0x20: RESERVED Bit 7:3 Field Name Reset R/W Description 31 (11111) R/W Use setting from SmartRF Studio [4] R0 Not used R/W Use setting from SmartRF Studio [4] 2 1:0 0 (00) SWRS108 Page 61 of 68 CC113L 0x21: FREND1 - Front End RX Configuration Bit Field Name Reset R/W Description 7:6 LNA_CURRENT[1:0] 1 (01) R/W Adjusts front-end LNA PTAT current output 5:4 LNA2MIX_CURRENT[1:0] 1 (01) R/W Adjusts front-end PTAT outputs 3:2 LODIV_BUF_CURRENT_RX[1:0] 1 (01) R/W Adjusts current in RX LO buffer (LO input to mixer) 1:0 MIX_CURRENT[1:0] 2 (10) R/W Adjusts current in mixer 0x23: FSCAL3 - Frequency Synthesizer Calibration Bit Field Name Reset R/W Description 7:6 FSCAL3[7:6] 2 (10) R/W Frequency synthesizer calibration configuration. The value to write in this field before calibration is given by the SmartRF Studio software [4]. 5:4 CHP_CURR_CAL_EN[1:0] 2 (10) R/W Disable charge pump calibration stage when 0. 3:0 FSCAL3[3:0] 9 (1001) R/W Frequency synthesizer calibration result register. Digital bit vector defining the charge pump output current, on an exponential scale: I_OUT = I0·2FSCAL3[3:0]/4 Please see Section 25.2 for more details. 0x24: FSCAL2 - Frequency Synthesizer Calibration Bit Field Name Reset 7:6 R/W Description R0 Not used 5 VCO_CORE_H_EN 0 R/W Choose high (1) / low (0) VCO 4:0 FSCAL2[4:0] 10 (01010) R/W Frequency synthesizer calibration result register. VCO current calibration result and override value. Please see Section 25.2 for more details. 0x25: FSCAL1 - Frequency Synthesizer Calibration Bit Field Name Reset 7:6 5:0 FSCAL1[5:0] 32 (0x20) R/W Description R0 Not used R/W Frequency synthesizer calibration result register. Capacitor array setting for VCO coarse tuning. Please see Section 25.2 for more details. 0x26: FSCAL0 - Frequency Synthesizer Calibration Bit Field Name Reset FSCAL0[6:0] 13 (0x0D) 7 6:0 R/W Description R0 Not used R/W Frequency synthesizer calibration control. The value to use in this register is given by the SmartRF Studio software [4]. SWRS108 Page 62 of 68 CC113L 26.2 Configuration Register Details - Registers that Loose Programming in SLEEP State 0x29: RESERVED Bit Field Name 7:0 Reset R/W Description 89 (0x59) R/W Use setting from SmartRF Studio [4] 0x2A: RESERVED Bit Field Name 7:0 Reset R/W Description 127 (0x7F) R/W Use setting from SmartRF Studio [4] 0x2B: RESERVED Bit Field Name 7:0 Reset R/W Description 63 (0x3F) R/W Use setting from SmartRF Studio [4] 0x2C: TEST2 - Various Test Settings Bit Field Name Reset R/W Description 7:0 TEST2[7:0] 136 (0x88) R/W Use setting from SmartRF Studio [4] This register will be forced to 0x88 or 0x81 when it wakes up from SLEEP mode, depending on the configuration of FIFOTHR.ADC_RETENTION. Note that the value read from this register when waking up from SLEEP always is the reset value (0x88) regardless of the ADC_RETENTION setting. The inverting of some of the bits due to the ADC_RETENTION setting is only seen INTERNALLY in the analog part. 0x2D: TEST1 - Various Test Settings Bit Field Name Reset R/W Description 7:0 TEST1[7:0] 49 (0x31) R/W Use setting from SmartRF Studio [4] This register will be forced to 0x31 or 0x35 when it wakes up from SLEEP mode, depending on the configuration of FIFOTHR.ADC_RETENTION. Note that the value read from this register when waking up from SLEEP always is the reset value (0x31) regardless of the ADC_RETENTION setting. The inverting of some of the bits due to the ADC_RETENTION setting is only seen INTERNALLY in the analog part. 0x2E: TEST0 - Various Test Settings Bit Field Name Reset R/W Description 7:2 TEST0[7:2] 2 (000010) R/W Use setting from SmartRF Studio [4] 1 VCO_SEL_CAL_EN 1 R/W Enable VCO selection calibration stage when 1 0 TEST0[0] 1 R/W Use setting from SmartRF Studio [4] SWRS108 Page 63 of 68 CC113L 26.3 Status Register Details 0x30 (0xF0): PARTNUM - Chip ID Bit Field Name Reset R/W Description 7:0 PARTNUM[7:0] 0 (0x00) R Chip part number 0x31 (0xF1): VERSION - Chip ID Bit Field Name Reset R/W Description 7:0 VERSION[7:0] 8 (0x08) R Chip version number. 0x32 (0xF2): FREQEST - Frequency Offset Estimate from Demodulator Bit Field Name 7:0 FREQOFF_EST Reset R/W Description R The estimated frequency offset (2‟s complement) of the carrier. Resolution is FXTAL/214 (1.59 - 1.65 kHz); range is ±202 kHz to ±210 kHz, depending on XTAL frequency. Frequency offset compensation is only supported for 2-FSK, GFSK, and 4-FSK modulation. This register will read 0 when using OOK modulation. 0x33 (0xF3): CRC_REG - CRC OK Bit Field Name 7 CRC OK Reset 6:0 R/W Description R The last CRC comparison matched. Cleared when entering/restarting RX mode. R Reserved 0x34 (0xF4): RSSI - Received Signal Strength Indication Bit Field Name 7:0 RSSI Reset R/W Description R Received signal strength indicator SWRS108 Page 64 of 68 CC113L 0x35 (0xF5): MARCSTATE - Main Radio Control State Machine State Bit Field Name 7:5 4:0 MARC_STATE[4:0] Reset R/W Description R0 Not used R Main Radio Control FSM State Value State name State (Figure 21, page 35) 0 (0x00) SLEEP SLEEP 1 (0x01) IDLE IDLE 2 (0x02) XOFF XOFF 3 (0x03) VCOON_MC MANCAL 4 (0x04) REGON_MC MANCAL 5 (0x05) MANCAL MANCAL 6 (0x06) VCOON FS_WAKEUP 7 (0x07) REGON FS_WAKEUP 8 (0x08) STARTCAL CALIBRATE 9 (0x09) BWBOOST SETTLING 10 (0x0A) FS_LOCK SETTLING 11 (0x0B) IFADCON SETTLING 12 (0x0C) ENDCAL CALIBRATE 13 (0x0D) RX RX 14 (0x0E) RX_END RX 15 (0x0F) RX_RST RX 16 (0x10) Reserved 17 (0x11) RXFIFO_OVERFLOW 18 (0x12) 22 (0x16) Reserved RXFIFO_OVERFLOW Note: it is not possible to read back the SLEEP or XOFF state numbers because setting CSn low will make the chip enter the IDLE mode from the SLEEP or XOFF states. SWRS108 Page 65 of 68 CC113L 0x38 (0xF8): PKTSTATUS - Current GDOx Status and Packet Status Bit Field Name 7 6 Reset R/W Description CRC_OK R The last CRC comparison matched. Cleared when entering/restarting RX mode. CS R Carrier sense. Cleared when entering IDLE mode. 5 R Reserved 4 R Reserved 3 SFD R Start of Frame Delimiter. This bit is asserted when sync word has been received and de-asserted at the end of the packet. It will also de-assert when a packet is discarded due to address or maximum length filtering or the radio enters RXFIFO_OVERFLOW state. 2 GDO2 R Current GDO2 value. Note: the reading gives the non-inverted value irrespective of what IOCFG2.GDO2_INV is programmed to. It is not recommended to check for PLL lock by reading PKTSTATUS[2] with GDO2_CFG=0x0A. 1 0 GDO0 R0 Not used R Current GDO0 value. Note: the reading gives the non-inverted value irrespective of what IOCFG0.GDO0_INV is programmed to. It is not recommended to check for PLL lock by reading PKTSTATUS[0] with GDO0_CFG=0x0A. 0x3B (0xFB): RXBYTES - Overflow and Number of Bytes Bit Field Name Reset R/W 7 RXFIFO_OVERFLOW R 6:0 NUM_RXBYTES R Description Number of bytes in RX FIFO 27 Development Kit Ordering Information Orderable Evaluation Module Description Minimum Order Quantity CC11xLDK-868-915 CC11xL Development Kit, 868/915 MHz 1 CC11xLEMK-433 CC11xL Evaluation Module Kit, 433 MHz 1 Figure 26: Development Kit Ordering Information SWRS108 Page 66 of 68 CC113L 28 References [1] Characterization Design 315 - 433 MHz (Identical to the CC1101EM 315 - 433 MHz Reference Design (swrr046.zip)) [2] Characterization Design 868 - 915 MHz (Identical to the CC1101EM 868 - 915 MHz Reference Design (swrr045.zip)) [3] CC113L Errata Notes (swrz038.pdf) [4] SmartRF Studio (swrc176.zip) [5] DN010 Close-in Reception with CC1101 (swra147.pdf) [6] DN015 Permanent Frequency Offset Compensation (swra159.pdf) [7] DN505 RSSI Interpretation and Timing (swra114.pdf) [8] DN022 CC11xx OOK/ASK register settings (swra215.pdf) [9] DN005 CC11xx Sensitivity versus Frequency Offset and Crystal Accuracy (swra122.pdf) [10] CC113LEM 433 MHz Reference Design (swrrTBD.zip) [11] CC113LEM 868 - 915 MHz Reference Design (swrrTBD.zip) SWRS108 Page 67 of 68 CC113L 29 General Information 29.1 Document History Revision Date Description/Changes SWRS108 05.24.2011 Initial Release Table 34: Document History SWRS108 Page 68 of 68 PACKAGE OPTION ADDENDUM www.ti.com 11-Jul-2011 PACKAGING INFORMATION Orderable Device Status (1) Package Type Package Drawing Pins Package Qty Eco Plan (2) Lead/ Ball Finish MSL Peak Temp (3) CC113LRTKR ACTIVE VQFN RTK 20 3000 Green (RoHS & no Sb/Br) CU NIPDAU Level-3-260C-168 HR CC113LRTKT ACTIVE VQFN RTK 20 250 Green (RoHS & no Sb/Br) CU NIPDAU Level-3-260C-168 HR Samples (Requires Login) (1) The marketing status values are defined as follows: ACTIVE: Product device recommended for new designs. LIFEBUY: TI has announced that the device will be discontinued, and a lifetime-buy period is in effect. NRND: Not recommended for new designs. Device is in production to support existing customers, but TI does not recommend using this part in a new design. PREVIEW: Device has been announced but is not in production. Samples may or may not be available. OBSOLETE: TI has discontinued the production of the device. (2) Eco Plan - The planned eco-friendly classification: Pb-Free (RoHS), Pb-Free (RoHS Exempt), or Green (RoHS & no Sb/Br) - please check http://www.ti.com/productcontent for the latest availability information and additional product content details. TBD: The Pb-Free/Green conversion plan has not been defined. Pb-Free (RoHS): TI's terms "Lead-Free" or "Pb-Free" mean semiconductor products that are compatible with the current RoHS requirements for all 6 substances, including the requirement that lead not exceed 0.1% by weight in homogeneous materials. Where designed to be soldered at high temperatures, TI Pb-Free products are suitable for use in specified lead-free processes. Pb-Free (RoHS Exempt): This component has a RoHS exemption for either 1) lead-based flip-chip solder bumps used between the die and package, or 2) lead-based die adhesive used between the die and leadframe. The component is otherwise considered Pb-Free (RoHS compatible) as defined above. Green (RoHS & no Sb/Br): TI defines "Green" to mean Pb-Free (RoHS compatible), and free of Bromine (Br) and Antimony (Sb) based flame retardants (Br or Sb do not exceed 0.1% by weight in homogeneous material) (3) MSL, Peak Temp. -- The Moisture Sensitivity Level rating according to the JEDEC industry standard classifications, and peak solder temperature. Important Information and Disclaimer:The information provided on this page represents TI's knowledge and belief as of the date that it is provided. TI bases its knowledge and belief on information provided by third parties, and makes no representation or warranty as to the accuracy of such information. Efforts are underway to better integrate information from third parties. TI has taken and continues to take reasonable steps to provide representative and accurate information but may not have conducted destructive testing or chemical analysis on incoming materials and chemicals. TI and TI suppliers consider certain information to be proprietary, and thus CAS numbers and other limited information may not be available for release. In no event shall TI's liability arising out of such information exceed the total purchase price of the TI part(s) at issue in this document sold by TI to Customer on an annual basis. Addendum-Page 1 PACKAGE MATERIALS INFORMATION www.ti.com 8-Jul-2011 TAPE AND REEL INFORMATION *All dimensions are nominal Device Package Package Pins Type Drawing SPQ Reel Reel A0 Diameter Width (mm) (mm) W1 (mm) B0 (mm) K0 (mm) P1 (mm) W Pin1 (mm) Quadrant CC113LRTKR VQFN RTK 20 3000 330.0 12.4 4.3 4.3 1.5 8.0 12.0 Q2 CC113LRTKT VQFN RTK 20 250 330.0 12.4 4.3 4.3 1.5 8.0 12.0 Q2 Pack Materials-Page 1 PACKAGE MATERIALS INFORMATION www.ti.com 8-Jul-2011 *All dimensions are nominal Device Package Type Package Drawing Pins SPQ Length (mm) Width (mm) Height (mm) CC113LRTKR VQFN RTK 20 3000 340.5 333.0 20.6 CC113LRTKT VQFN RTK 20 250 340.5 333.0 20.6 Pack Materials-Page 2 IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete. All products are sold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment. TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI’s standard warranty. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where mandated by government requirements, testing of all parameters of each product is not necessarily performed. TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products and applications using TI components. To minimize the risks associated with customer products and applications, customers should provide adequate design and operating safeguards. TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask work right, or other TI intellectual property right relating to any combination, machine, or process in which TI products or services are used. Information published by TI regarding third-party products or services does not constitute a license from TI to use such products or services or a warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the third party, or a license from TI under the patents or other intellectual property of TI. Reproduction of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations, and notices. Reproduction of this information with alteration is an unfair and deceptive business practice. TI is not responsible or liable for such altered documentation. Information of third parties may be subject to additional restrictions. Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids all express and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice. TI is not responsible or liable for any such statements. TI products are not authorized for use in safety-critical applications (such as life support) where a failure of the TI product would reasonably be expected to cause severe personal injury or death, unless officers of the parties have executed an agreement specifically governing such use. Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications, and acknowledge and agree that they are solely responsible for all legal, regulatory and safety-related requirements concerning their products and any use of TI products in such safety-critical applications, notwithstanding any applications-related information or support that may be provided by TI. Further, Buyers must fully indemnify TI and its representatives against any damages arising out of the use of TI products in such safety-critical applications. TI products are neither designed nor intended for use in military/aerospace applications or environments unless the TI products are specifically designated by TI as military-grade or "enhanced plastic." Only products designated by TI as military-grade meet military specifications. Buyers acknowledge and agree that any such use of TI products which TI has not designated as military-grade is solely at the Buyer's risk, and that they are solely responsible for compliance with all legal and regulatory requirements in connection with such use. TI products are neither designed nor intended for use in automotive applications or environments unless the specific TI products are designated by TI as compliant with ISO/TS 16949 requirements. Buyers acknowledge and agree that, if they use any non-designated products in automotive applications, TI will not be responsible for any failure to meet such requirements. Following are URLs where you can obtain information on other Texas Instruments products and application solutions: Products Applications Audio www.ti.com/audio Communications and Telecom www.ti.com/communications Amplifiers amplifier.ti.com Computers and Peripherals www.ti.com/computers Data Converters dataconverter.ti.com Consumer Electronics www.ti.com/consumer-apps DLP® Products www.dlp.com Energy and Lighting www.ti.com/energy DSP dsp.ti.com Industrial www.ti.com/industrial Clocks and Timers www.ti.com/clocks Medical www.ti.com/medical Interface interface.ti.com Security www.ti.com/security Logic logic.ti.com Space, Avionics and Defense www.ti.com/space-avionics-defense Power Mgmt power.ti.com Transportation and Automotive www.ti.com/automotive Microcontrollers microcontroller.ti.com Video and Imaging www.ti.com/video RFID www.ti-rfid.com Wireless www.ti.com/wireless-apps RF/IF and ZigBee® Solutions www.ti.com/lprf TI E2E Community Home Page e2e.ti.com Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265 Copyright © 2011, Texas Instruments Incorporated