Part Number: CC1352P
Could someone please review the following custom RF switch implementation for the CC1352P. We have a slight adjustment to the default RF switch table which is normally mutually exclusive per path
| DIO28 | DIO29 | |
| 2.4GHZ PA | 1 | 1 |
| 2.4GHZ RX | 1 | 0 |
| OFF | 0 | 0 |
Here is how we would implement this by slightly modifying the rfDriverCallbackAntennaSwitching:
Here is the mods to the applicable section:
/* 2.4 GHz */
if (paType == RF_TxPowerTable_HighPA)
{
/* PA enable --> HIGH PA
* LNA enable --> 2.4 GHz
*/
/* Note: RFC_GPO3 is a work-around because the RFC_GPO1 (PA enable signal) is sometimes not
de-asserted on CC1352 Rev A. */
PINCC26XX_setMux(antennaPins, DIO_29, PINCC26XX_MUX_RFC_GPO3);
PINCC26XX_setMux(antennaPins, DIO_28, PINCC26XX_MUX_GPIO);
PINCC26XX_setOutputValue(DIO_28, 1);
} else {
/* RF core active --> 2.4 GHz */
PINCC26XX_setMux(antennaPins, DIO_28, PINCC26XX_MUX_GPIO);
PINCC26XX_setMux(antennaPins, DIO_29, PINCC26XX_MUX_GPIO);
PINCC26XX_setOutputValue(DIO_28, 1);
}