Other Parts Discussed in Thread: CC2591, CC2590, CC2530
RT,协议栈类型ZStack-CC2530-2.3.0-1.4.0,2591引脚完全参照的是TI官方文档,只是在硬件层中,底板的两个LED灯分别定义了P1_1和P1_4,我参照TI官方的说明,修改了协议栈,但是2591似乎还是没有工作,请问这种情况下应该如何修改使PA工作呢?
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.
您需要在 hal_board_cfg.h 内使能,去掉X
/* ------------------------------------------------------------------------------------------------
* CC2590/CC2591 support
*
* Define HAL_PA_LNA_CC2590 if CC2530+CC2590EM is used
* Define HAL_PA_LNA if CC2530+CC2591EM is used
* Note that only one of them can be defined
* ------------------------------------------------------------------------------------------------
*/
#define xHAL_PA_LNA
#define xHAL_PA_LNA_CC2590
或者您可以修改
/* Set to TRUE enable LED usage, FALSE disable it */
#ifndef HAL_LED
#define HAL_LED TRUE
#endif
#if (!defined BLINK_LEDS) && (HAL_LED == TRUE)
#define BLINK_LEDS
#endif
我的问题已经解决,的确用TI的协议栈就可以开启PA,之前的问题是系统开启之后32MHz和32KHz的时钟没有同步,导致出错。现在通讯距离有很大提升,具体有待测量