SWRA591 April   2019 CC1310 , CC1350

 

  1.   1
    1.     2
    2.     3
      1.      4
    3.     5
      1.      6
      2.      7
    4.     8
    5.     9
    6.     10
    7.     11
      1.      12
        1.       13
        2.       14
        3.       15
        4.       16
        5.       17
      2.      18
        1.       19
        2.       20
        3.       21
        4.       22
    8.     23

Setting Up WB-DSSS in Code Composer Studio™

In the Simplelink SDK, there are working examples for setting up CC13x0 for evaluation. A working example for WB-DSSS scheme can be built by importing standalone rfPacketTx and rfPacketRx examples (see Figure 9) from the SDK and replacing their smartrf_settings.c and smartrf_settings.h files with those exported from the SmartRF studio. These files contain API configuration and overrides for radio parameters that are used for each DSSS modulation scheme.

figure-09-swra591.gifFigure 9. CCS Project Import Showing rfPakdetRX and rfPacketTX Examples

In Figure 10, make sure the file names correspond to the ones in the rfPacketRX/TX examples to avoid compilation errors.

figure-10-swra591.gifFigure 10. Shows Code Export Feature of SmartRF Studio (the exported smartrf_settings.c/.h are used in CCS projects)

Figure 11 shows two projects imported into CCS IDE: one for transmit and the other for receive. The projects can be built and downloaded to two LaunchPads for testing.

figure-11-swra591.gifFigure 11. WB-DSSS Modes in SmartRF Studio

Various DSSS modes can be programmed by changing the value of address 0x400452AC in the uint32_t pOverrides[ ] array of the smartrf_settings.c file (see the following code). The valid values for the register are shown in Table 3.

Table 3. WB-DSSS Modes in SmartRF Studio

DSSS Code Hex Value Sym Rate Data Rate
1 K = 4 HW_REG_OVERRIDE(0x52C,0x0800) 480 kbps 240 kbps
2 K = 4 HW_REG_OVERRIDE(0x52C,0x0900) 480 kbps 120 kbps
4 K = 4 HW_REG_OVERRIDE(0x52C,0x0B03) 480 kbps 60 kbps
8 K = 4 HW_REG_OVERRIDE(0x52C,0x0F33) 480 kbps 30 kbps
// Example PA ramping of 5 µs and AGC reference level of 0x1EHW_REG_OVERRIDE (0x6088,0x1F1E), //Set spreading = 1, K = 4HW_REG_OVERRIDE (0x52AC,0x800), //TX: Configure PA ramping setting (0x08) for approximatelyl 5 µs PA ramp timeHW_REG_OVERRIDE (0x608C,0x3F13).