CC13xx Driver Library
rfc_CMD_PROP_RADIO_DIV_SETUP_s Struct Reference

Proprietary Mode Radio Setup Command for All Frequency Bands. More...

#include <rf_prop_cmd.h>

Data Fields

uint16_t commandNo
 The command ID number 0x3807. More...
 
uint16_t status
 An integer telling the status of the command. This value is updated by the radio CPU during operation and may be read by the system CPU at any time. More...
 
rfc_radioOp_tpNextOp
 Pointer to the next operation to run after this operation is done. More...
 
ratmr_t startTime
 Absolute or relative start time (depending on the value of startTrigger) More...
 
struct {
   uint8_t   triggerType:4
 The type of trigger. More...
 
   uint8_t   bEnaCmd:1
 0: No alternative trigger command
1: CMD_TRIGGER can be used as an alternative trigger More...
 
   uint8_t   triggerNo:2
 The trigger number of the CMD_TRIGGER command that triggers this action. More...
 
   uint8_t   pastTrig:1
 0: A trigger in the past is never triggered, or for start of commands, give an error
1: A trigger in the past is triggered as soon as possible More...
 
startTrigger
 Identification of the trigger that starts the operation. More...
 
struct {
   uint8_t   rule:4
 Condition for running next command: Rule for how to proceed. More...
 
   uint8_t   nSkip:4
 Number of skips + 1 if the rule involves skipping. 0: same, 1: next, 2: skip next, ... More...
 
condition
 
struct {
   uint16_t   modType:3
 0: FSK
1: GFSK
Others: Reserved More...
 
   uint16_t   deviation:13
 Deviation (250 Hz steps) More...
 
modulation
 
struct {
   uint32_t   preScale:4
 Prescaler value. More...
 
   uint32_t   __pad0__:4
 
   uint32_t   rateWord:21
 Rate word. More...
 
   uint32_t   decimMode:3
 0: Use automatic PDIF decimation
1: Force PDIF decimation to 0
3: Force PDIF decimation to 1
5: Force PDIF decimation to 2
Others: Reserved More...
 
symbolRate
 Symbol rate setting. More...
 
uint8_t rxBw
 Receiver bandwidth. More...
 
struct {
   uint8_t   nPreamBytes:6
 0: 1 preamble bit
1–16: Number of preamble bytes
18, 20, ..., 30: Number of preamble bytes
31: 4 preamble bits
32: 32 preamble bytes
Others: Reserved More...
 
   uint8_t   preamMode:2
 0: Send 0 as the first preamble bit
1: Send 1 as the first preamble bit
2: Send same first bit in preamble and sync word
3: Send different first bit in preamble and sync word More...
 
preamConf
 
struct {
   uint16_t   nSwBits:6
 Number of sync word bits (8–32) More...
 
   uint16_t   bBitReversal:1
 0: Use positive deviation for 1
1: Use positive deviation for 0 More...
 
   uint16_t   bMsbFirst:1
 0: Least significant bit transmitted first
1: Most significant bit transmitted first More...
 
   uint16_t   fecMode:4
 Select coding
0: Uncoded binary modulation
8: Long range mode
10: Manchester coded binary modulation
Others: Reserved More...
 
   uint16_t   __pad0__:1
 
   uint16_t   whitenMode:3
 0: No whitening
1: CC1101/CC2500 compatible whitening
2: PN9 whitening without byte reversal
3: Reserved
4: No whitener, 32-bit IEEE 802.15.4g compatible CRC
5: IEEE 802.15.4g compatible whitener and 32-bit CRC
6: No whitener, dynamically IEEE 802.15.4g compatible 16-bit or 32-bit CRC
7: Dynamically IEEE 802.15.4g compatible whitener and 16-bit or 32-bit CRC More...
 
formatConf
 
struct {
   uint16_t   frontEndMode:3
 0x00: Differential mode
0x01: Single-ended mode RFP
0x02: Single-ended mode RFN
0x05 Single-ended mode RFP with external frontend control on RF pins (RFN and RXTX)
0x06 Single-ended mode RFN with external frontend control on RF pins (RFP and RXTX)
Others: Reserved More...
 
   uint16_t   biasMode:1
 0: Internal bias
1: External bias More...
 
   uint16_t   analogCfgMode:6
 0x00: Write analog configuration.
Required first time after boot and when changing frequency band or front-end configuration
0x2D: Keep analog configuration.
May be used after standby or when changing mode with the same frequency band and front-end configuration
Others: Reserved More...
 
   uint16_t   bNoFsPowerUp:1
 0: Power up frequency synth
1: Do not power up frequency synth More...
 
config
 Configuration options. More...
 
uint16_t txPower
 Transmit power. More...
 
uint32_t * pRegOverride
 Pointer to a list of hardware and configuration registers to override. If NULL, no override is used. More...
 
uint16_t centerFreq
 Center frequency of the frequency band used, in MHz; used for calculating some internal TX and RX parameters. For a single channel RF system, this should be set equal to the RF frequency used. For a multi channel RF system (e.g. frequency hopping spread spectrum), this should be set equal to the center frequency of the frequency band used. More...
 
int16_t intFreq
 Intermediate frequency to use for RX, in MHz on 4.12 signed format. TX will use same intermediate frequency if supported, otherwise 0.
0x8000: Use default. More...
 
uint8_t loDivider
 LO frequency divider setting to use. Supported values: 2 (CC1350 only), 5, 6, 10, 12, 15, and 30. More...
 

Detailed Description

Proprietary Mode Radio Setup Command for All Frequency Bands.

Field Documentation

uint32_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::__pad0__
uint16_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::__pad0__
uint16_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::analogCfgMode

0x00: Write analog configuration.
Required first time after boot and when changing frequency band or front-end configuration
0x2D: Keep analog configuration.
May be used after standby or when changing mode with the same frequency band and front-end configuration
Others: Reserved

uint16_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::bBitReversal

0: Use positive deviation for 1
1: Use positive deviation for 0

uint8_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::bEnaCmd

0: No alternative trigger command
1: CMD_TRIGGER can be used as an alternative trigger

uint16_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::biasMode

0: Internal bias
1: External bias

uint16_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::bMsbFirst

0: Least significant bit transmitted first
1: Most significant bit transmitted first

uint16_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::bNoFsPowerUp

0: Power up frequency synth
1: Do not power up frequency synth

uint16_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::centerFreq

Center frequency of the frequency band used, in MHz; used for calculating some internal TX and RX parameters. For a single channel RF system, this should be set equal to the RF frequency used. For a multi channel RF system (e.g. frequency hopping spread spectrum), this should be set equal to the center frequency of the frequency band used.

uint16_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::commandNo

The command ID number 0x3807.

struct { ... } rfc_CMD_PROP_RADIO_DIV_SETUP_s::condition
struct { ... } rfc_CMD_PROP_RADIO_DIV_SETUP_s::config

Configuration options.

uint32_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::decimMode

0: Use automatic PDIF decimation
1: Force PDIF decimation to 0
3: Force PDIF decimation to 1
5: Force PDIF decimation to 2
Others: Reserved

uint16_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::deviation

Deviation (250 Hz steps)

uint16_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::fecMode

Select coding
0: Uncoded binary modulation
8: Long range mode
10: Manchester coded binary modulation
Others: Reserved

struct { ... } rfc_CMD_PROP_RADIO_DIV_SETUP_s::formatConf
uint16_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::frontEndMode

0x00: Differential mode
0x01: Single-ended mode RFP
0x02: Single-ended mode RFN
0x05 Single-ended mode RFP with external frontend control on RF pins (RFN and RXTX)
0x06 Single-ended mode RFN with external frontend control on RF pins (RFP and RXTX)
Others: Reserved

int16_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::intFreq

Intermediate frequency to use for RX, in MHz on 4.12 signed format. TX will use same intermediate frequency if supported, otherwise 0.
0x8000: Use default.

uint8_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::loDivider

LO frequency divider setting to use. Supported values: 2 (CC1350 only), 5, 6, 10, 12, 15, and 30.

uint16_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::modType

0: FSK
1: GFSK
Others: Reserved

struct { ... } rfc_CMD_PROP_RADIO_DIV_SETUP_s::modulation
uint8_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::nPreamBytes

0: 1 preamble bit
1–16: Number of preamble bytes
18, 20, ..., 30: Number of preamble bytes
31: 4 preamble bits
32: 32 preamble bytes
Others: Reserved

uint8_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::nSkip

Number of skips + 1 if the rule involves skipping. 0: same, 1: next, 2: skip next, ...

uint16_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::nSwBits

Number of sync word bits (8–32)

uint8_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::pastTrig

0: A trigger in the past is never triggered, or for start of commands, give an error
1: A trigger in the past is triggered as soon as possible

rfc_radioOp_t* rfc_CMD_PROP_RADIO_DIV_SETUP_s::pNextOp

Pointer to the next operation to run after this operation is done.

struct { ... } rfc_CMD_PROP_RADIO_DIV_SETUP_s::preamConf
uint8_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::preamMode

0: Send 0 as the first preamble bit
1: Send 1 as the first preamble bit
2: Send same first bit in preamble and sync word
3: Send different first bit in preamble and sync word

uint32_t* rfc_CMD_PROP_RADIO_DIV_SETUP_s::pRegOverride

Pointer to a list of hardware and configuration registers to override. If NULL, no override is used.

uint32_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::preScale

Prescaler value.

uint32_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::rateWord

Rate word.

uint8_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::rule

Condition for running next command: Rule for how to proceed.

uint8_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::rxBw

Receiver bandwidth.

ratmr_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::startTime

Absolute or relative start time (depending on the value of startTrigger)

struct { ... } rfc_CMD_PROP_RADIO_DIV_SETUP_s::startTrigger

Identification of the trigger that starts the operation.

uint16_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::status

An integer telling the status of the command. This value is updated by the radio CPU during operation and may be read by the system CPU at any time.

struct { ... } rfc_CMD_PROP_RADIO_DIV_SETUP_s::symbolRate

Symbol rate setting.

uint8_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::triggerNo

The trigger number of the CMD_TRIGGER command that triggers this action.

uint8_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::triggerType

The type of trigger.

uint16_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::txPower

Transmit power.

uint16_t rfc_CMD_PROP_RADIO_DIV_SETUP_s::whitenMode

0: No whitening
1: CC1101/CC2500 compatible whitening
2: PN9 whitening without byte reversal
3: Reserved
4: No whitener, 32-bit IEEE 802.15.4g compatible CRC
5: IEEE 802.15.4g compatible whitener and 32-bit CRC
6: No whitener, dynamically IEEE 802.15.4g compatible 16-bit or 32-bit CRC
7: Dynamically IEEE 802.15.4g compatible whitener and 16-bit or 32-bit CRC