CC2530+RFX2401C测试不通信,不能入网,但是不加PA却可以入网,PA的设定都是按照TI给的方式定义的,还是不通信,TXEN(P1_2),RXEN(P2_0),宏定义 HAL_PA_LNA;
RFC_OBS_CTRL0 = RFC_OBS_CTRL_PA_PD_INV;
OBSSEL2 = OBSSEL_OBS_CTRL0;
/* P1_4 -> EN (LNA control) */
/* RFC_OBS_CTRL1 = RFC_OBS_CTRL_LNAMIX_PD_INV;
OBSSEL4 = OBSSEL_OBS_CTRL1;*/
P2SEL &= ~0x01;
P2DIR |=0x01;
P2_0=1; |