CC26xx Driver Library
rfc_CMD_BLE5_RADIO_SETUP_s Struct Reference

Bluetooth 5 Radio Setup Command for all PHYs. More...

#include <rf_ble_cmd.h>

Data Fields

uint16_t commandNo
 The command ID number 0x1820. 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 {
   uint8_t   mainMode:2
 PHY to use for non-BLE commands:
0: 1 Mbps
1: 2 Mbps
2: Coded
3: Reserved More...
 
   uint8_t   coding:1
 Coding to use for TX if coded PHY is selected for non-BLE commands
0: S = 8 (125 kbps)
1: S = 2 (500 kbps) More...
 
defaultPhy
 
uint8_t loDivider
 LO divider setting to use. Supported values: 0 or 2. 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
 Default transmit power. More...
 
uint32_t * pRegOverrideCommon
 Pointer to a list of hardware and configuration registers to override during common initialization. If NULL, no override is used. More...
 
uint32_t * pRegOverride1Mbps
 Pointer to a list of hardware and configuration registers to override when selecting 1 Mbps PHY mode. If NULL, no override is used. More...
 
uint32_t * pRegOverride2Mbps
 Pointer to a list of hardware and configuration registers to override when selecting 2 Mbps PHY mode. If NULL, no override is used. More...
 
uint32_t * pRegOverrideCoded
 Pointer to a list of hardware and configuration registers to override when selecting coded PHY mode. If NULL, no override is used. More...
 

Detailed Description

Bluetooth 5 Radio Setup Command for all PHYs.

Field Documentation

uint16_t rfc_CMD_BLE5_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_BLE5_RADIO_SETUP_s::bEnaCmd

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

uint16_t rfc_CMD_BLE5_RADIO_SETUP_s::biasMode

0: Internal bias
1: External bias

uint16_t rfc_CMD_BLE5_RADIO_SETUP_s::bNoFsPowerUp

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

uint8_t rfc_CMD_BLE5_RADIO_SETUP_s::coding

Coding to use for TX if coded PHY is selected for non-BLE commands
0: S = 8 (125 kbps)
1: S = 2 (500 kbps)

uint16_t rfc_CMD_BLE5_RADIO_SETUP_s::commandNo

The command ID number 0x1820.

struct { ... } rfc_CMD_BLE5_RADIO_SETUP_s::condition
struct { ... } rfc_CMD_BLE5_RADIO_SETUP_s::config

Configuration options.

struct { ... } rfc_CMD_BLE5_RADIO_SETUP_s::defaultPhy
uint16_t rfc_CMD_BLE5_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_BLE5_RADIO_SETUP_s::loDivider

LO divider setting to use. Supported values: 0 or 2.

uint8_t rfc_CMD_BLE5_RADIO_SETUP_s::mainMode

PHY to use for non-BLE commands:
0: 1 Mbps
1: 2 Mbps
2: Coded
3: Reserved

uint8_t rfc_CMD_BLE5_RADIO_SETUP_s::nSkip

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

uint8_t rfc_CMD_BLE5_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_BLE5_RADIO_SETUP_s::pNextOp

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

uint32_t* rfc_CMD_BLE5_RADIO_SETUP_s::pRegOverride1Mbps

Pointer to a list of hardware and configuration registers to override when selecting 1 Mbps PHY mode. If NULL, no override is used.

uint32_t* rfc_CMD_BLE5_RADIO_SETUP_s::pRegOverride2Mbps

Pointer to a list of hardware and configuration registers to override when selecting 2 Mbps PHY mode. If NULL, no override is used.

uint32_t* rfc_CMD_BLE5_RADIO_SETUP_s::pRegOverrideCoded

Pointer to a list of hardware and configuration registers to override when selecting coded PHY mode. If NULL, no override is used.

uint32_t* rfc_CMD_BLE5_RADIO_SETUP_s::pRegOverrideCommon

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

uint8_t rfc_CMD_BLE5_RADIO_SETUP_s::rule

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

ratmr_t rfc_CMD_BLE5_RADIO_SETUP_s::startTime

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

struct { ... } rfc_CMD_BLE5_RADIO_SETUP_s::startTrigger

Identification of the trigger that starts the operation.

uint16_t rfc_CMD_BLE5_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_BLE5_RADIO_SETUP_s::triggerNo

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

uint8_t rfc_CMD_BLE5_RADIO_SETUP_s::triggerType

The type of trigger.

uint16_t rfc_CMD_BLE5_RADIO_SETUP_s::txPower

Default transmit power.