CC13xx Driver Library
rfc_CMD_RADIO_SETUP_s Struct Reference

Radio Setup Command for Pre-Defined Schemes. More...

#include <rf_common_cmd.h>

Data Fields

uint16_t commandNo
 The command ID number 0x0802. 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
 
uint8_t mode
 The main mode to use
0x00: BLE
0x01: IEEE 802.15.4
0x02: 2 Mbps GFSK
0x05: 5 Mbps coded 8-FSK
0xFF: Keep existing mode; update overrides only
Others: Reserved More...
 
uint8_t loDivider
 LO divider setting to use. Supported values: 0 (equivalent to 2), 2, 5, 6, 10, 12, 15, and 30.
Value of 0 or 2 only supported for CC1350. More...
 
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...
 

Detailed Description

Radio Setup Command for Pre-Defined Schemes.

Field Documentation

uint16_t rfc_CMD_RADIO_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

uint8_t rfc_CMD_RADIO_SETUP_s::bEnaCmd

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

uint16_t rfc_CMD_RADIO_SETUP_s::biasMode

0: Internal bias
1: External bias

uint16_t rfc_CMD_RADIO_SETUP_s::bNoFsPowerUp

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

uint16_t rfc_CMD_RADIO_SETUP_s::commandNo

The command ID number 0x0802.

struct { ... } rfc_CMD_RADIO_SETUP_s::condition
struct { ... } rfc_CMD_RADIO_SETUP_s::config

Configuration options.

uint16_t rfc_CMD_RADIO_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

uint8_t rfc_CMD_RADIO_SETUP_s::loDivider

LO divider setting to use. Supported values: 0 (equivalent to 2), 2, 5, 6, 10, 12, 15, and 30.
Value of 0 or 2 only supported for CC1350.

uint8_t rfc_CMD_RADIO_SETUP_s::mode

The main mode to use
0x00: BLE
0x01: IEEE 802.15.4
0x02: 2 Mbps GFSK
0x05: 5 Mbps coded 8-FSK
0xFF: Keep existing mode; update overrides only
Others: Reserved

uint8_t rfc_CMD_RADIO_SETUP_s::nSkip

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

uint8_t rfc_CMD_RADIO_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_RADIO_SETUP_s::pNextOp

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

uint32_t* rfc_CMD_RADIO_SETUP_s::pRegOverride

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

uint8_t rfc_CMD_RADIO_SETUP_s::rule

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

ratmr_t rfc_CMD_RADIO_SETUP_s::startTime

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

struct { ... } rfc_CMD_RADIO_SETUP_s::startTrigger

Identification of the trigger that starts the operation.

uint16_t rfc_CMD_RADIO_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.

uint8_t rfc_CMD_RADIO_SETUP_s::triggerNo

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

uint8_t rfc_CMD_RADIO_SETUP_s::triggerType

The type of trigger.

uint16_t rfc_CMD_RADIO_SETUP_s::txPower

Transmit power.