SWCU192 November 2021 CC1312R7 , CC1352P7 , CC2652P7 , CC2652R7
Command ID number: 0x0010
CMD_SET_TX_POWER is an immediate command that takes the parameters listed in Table 26-48.
Byte Index | Field Name | Bits | Bit Field Name | Type | Description |
---|---|---|---|---|---|
0–1 | commandNo | W | The command ID number | ||
2–3 | txPower | W | New TX power setting. TI recommends using values from the SmartRF Studio. Bits 0-6: IB Value to write to the PA power control field at 25°C. See Equation 14 for details. Bits 6-7: GC Value to write to the gain control of the first stage of the PA. Bit 8: boost Driver strength into the PA. 0: Low driver strength 1: High driver strength Bits 9-15: tempCoeff Temperature coefficient for IB. 0: No temperature compensation. | ||
Equation 14. |
On reception, the radio CPU sets the transmit power for use the next time transmission begins. If a packet is being transmitted, the transmit power is not updated until transmission begins for the next packet.
Each time transmission of a packet begins, temperature compensation of the transmit power is done.
It is not allowed to use CMD_SET_TX_POWER if the 20 dBm PA was configured in the radio setup command; in this case, CMD_SET_TX20_POWER (see Section 26.3.3.2.17) should be used.
On completion, the radio CPU returns DONE in CMDSTA.