This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

how to change CC2591 control pin definition??

Other Parts Discussed in Thread: CC2591

hi,

    I defined

 HAL_PA_LNA
CC2591_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