Some customers want to add an external PA IC to make RSL10 support higher TX power, such as +17dB yet they may not know how to achieve it.
This topic provides some general guidelines in order to do so.
First we cannot use VDDPA to control the external PA’s enable and disable is it is not switch signal.
Instead, use a DIO on RSL10 to control the TX and RX enable pin to the external PA IC.
To do so, we need to control the below registers:
Config the DIO for the control of external PA’s TX/RX enable pin:
After BLE Initialize, use the following configuration:
BB_COEXIFCNTL2->RX_ANT_DELAY_BYTE = 0xf; BB_COEXIFCNTL2->TX_ANT_DELAY_BYTE = 0xf; NVIC_ClearPendingIRQ(BLE_COEX_IN_PROCESS_IRQn); NVIC_EnableIRQ(BLE_COEX_IN_PROCESS_IRQn); BBIF_COEX_INT_CFG->BLE_IN_PROCESS_EVENT_BYTE = BLE_IN_PROCESS_EVENT_TRANSITION_BYTE; BBIF_COEX_INT_CFG->RESERVED0 = (BLE_TX_EVENT_TRANSITION | BLE_RX_EVENT_TRANSITION);
- Monitor in the interrupt handler :
Apply the DIO change here and read the following bit to identify TX or RX activity.
BLE_IN_PROCESS_ALIAS -->Indicate if the RW-BLE core has an event in process, active high. BLE_RX_ALIAS -->Indicates if the RW-BLE core is busy and performs Rx activity, active high. BLE_TX_ALIAS -->Indicates if the RW-BLE core is busy and performs Tx activity, active high.
- Finally, use DIO0 to perform a TX and RX event.