hi,
I defined
HAL_PA_LNACC2591_COMPRESSION_WORKAROUND
but the module still CAN NOT work with CC2591, as I changed HGM, EN, PAEN pins. by the way , the module can output 21dbm on anonther test code.
I found the HGM:
#define HAL_PA_LNA_RX_HGM() st( P0_7 = 1; ) #define HAL_PA_LNA_RX_LGM() st( P0_7 = 0; )
but where should I define the EN and PAEN ?
is that: ??
/* RF observable control register value to output PA signal */#define RFC_OBS_CTRL_PA_PD_INV 0x68
/* RF observable control register value to output LNA signal */#define RFC_OBS_CTRL_LNAMIX_PD_INV 0x6A