SWRA493A October   2015  – October 2026 CC1101 , CC110L , CC1120 , CC1121 , CC1125 , CC1190 , MSP430F5438A

 

  1.   1
  2.   CC112x-CC1190 Boost Software Examples
  3.   Trademarks
  4. 1Features and Benefits of UART-Based Test Suite
    1. 1.1  Continuous Unmodulated TX
    2. 1.2  Continuous Modulated TX
    3. 1.3  Static RX
    4. 1.4  TX Single Channel BER
    5. 1.5  RX Single Channel BER
    6. 1.6  TX Frequency Hopping BER
    7. 1.7  RX Frequency Hopping BER
    8. 1.8  RX Sniff Mode
    9. 1.9  SmartRF Selector
    10. 1.10 Radio Setup
    11. 1.11 Automatic Mode
  5. 2Hardware Requirements to Run the Software
  6. 3Configuring Hardware Options
  7. 4Port to Test Software to Custom Hardware
    1. 4.1 SPI Configuration for the Transceiver
    2. 4.2 Chip Select for the Transceiver
    3. 4.3 Reset Pin for the Transceiver
    4. 4.4 Interrupt Configuration for the Transceiver
    5. 4.5 Optional Control Pins for the Range Extender
    6. 4.6 Optional Pins for Creating a Button User Interface
    7. 4.7 Optional LED Pin Configuration
  8. 5References
  9. 6Revision History

Configuring Hardware Options

The main configuration file for the various development kits is called hal_spi_rf_xxx.c. For this release, three such board support package files were generated:

  • hal_spi_rf_exp5529.h
  • hal_spi_rf_exp430g2.h
  • hal_spi_rf_trxeb

Inside each of these files are three statements that define the specific devices used on the hardware. Here, the selections are the CC1101 or the CC112x series of transceivers and then, optionally, the range extender with each of the transceivers is used.

#define USE_CC1101
#define USE_CC112X
#define ENABLE_RANGE_EXTENDER

This next statement defines the crystal frequency used on the hardware. For each device, there is a range of applicable crystal frequencies to choose between (this statement is used to configure the software for the specific values chosen).

#define RF_XTAL 26000