SWCU185G January 2018 – June 2024 CC1312PSIP , CC1312R , CC1352P , CC1352R , CC2642R , CC2642R-Q1 , CC2652P , CC2652PSIP , CC2652R , CC2652RB , CC2652RSIP , CC2662R-Q1
When running Bluetooth 5, the radio should be set up using the CMD_BLE5_RADIO_SETUP command. This command will set up the radio in a similar way as the CMD_RADIO_SETUP command, but with the possibility to switch between the different supported PHYs from command to command.
The parameter defaultPhy gives the PHY to use if the command is used with a non-Bluetooth low energy RX or TX command. For the Bluetooth low energy commands, the defaultPhy parameter is ignored. The Bluetooth low energy 5 commands have a selection of PHY in the command, and the legacy Bluetooth low energy commands will always use the 1-Mbps PHY if the radio is configured using the CMD_BLE5_RADIO_SETUP command.
The parameters config and txPower have the same meaning as for the CMD_RADIO_SETUP command.
The command has four pointers to override lists. These override lists are processed the same way as for the CMD_RADIO_SETUP command. The override list pRegOverrideCommon is processed only when the setup command is run, and should contain any override that applies to all the PHYs. The override lists pRegOverride1Mbps, pRegOverrideCoded, and pRegOverride2Mbps are processed when switching to a given PHY. The radio CPU will store these override pointers and read the override list at each switch, so these override lists must remain available in memory. Any of the override pointers may be NULL if no overrides are needed.
For running legacy Bluetooth low energy mode with 1-Mbps support only, CMD_RADIO_SETUP with mode 0 may be used as on the CC26x0 devices.