我的2401RXEN 和TXEN接的是3.3V,请问只需要#define HAL_PA_LNA就可以了吗
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.
我的2401RXEN 和TXEN接的是3.3V,请问只需要#define HAL_PA_LNA就可以了吗
请问您现在是如何连线的?您可以参考以下代码:
/* P1_1 -> PAEN */
RFC_OBS_CTRL0 = RFC_OBS_CTRL_PA_PD_INV;
OBSSEL1 = OBSSEL_OBS_CTRL0;
/* P1_4 -> EN (LNA control) */
RFC_OBS_CTRL1 = RFC_OBS_CTRL_LNAMIX_PD_INV;
OBSSEL4 = OBSSEL_OBS_CTRL1;
另外因为RFX2401不是官方参考的PA,所以您需要设置macRadioDefsTxPwCC2591[]