微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 无线和射频 > TI Zigbee设计交流 > 协议栈使用PA

协议栈使用PA

时间:10-02 整理:3721RD 点击:

使用PA,定义HAL_PA_LNA,除了会使用到P07还有哪些引脚?

#if defined (HAL_BOARD_CC2530EB_REV17) && !defined (HAL_PA_LNA) && !defined (HAL_PA_LNA_CC2590)
#define HAL_NUM_LEDS 3
#elif defined (HAL_BOARD_CC2530EB_REV13) || defined (HAL_PA_LNA) || defined (HAL_PA_LNA_CC2590)
#define HAL_NUM_LEDS 1
#else
#error Unknown Board Indentifier
#endif

为什么会有这个HAL_NUM_LEDS的限制?

#if !defined (HAL_BOARD_CC2530EB_REV17) && !defined (HAL_BOARD_CC2530EB_REV13)
#define HAL_BOARD_CC2530EB_REV17
#endif

#if defined (HAL_BOARD_CC2530EB_REV17) && !defined (HAL_PA_LNA) && !defined (HAL_PA_LNA_CC2590)
#define HAL_NUM_LEDS 3
#elif defined (HAL_BOARD_CC2530EB_REV13) || defined (HAL_PA_LNA) || defined (HAL_PA_LNA_CC2590)
#define HAL_NUM_LEDS 1
#else
#error Unknown Board Indentifier
#endif

看如上两个预编程,是不是要人工定义HAL_BOARD_CC2530EB_REV13?

HAL_BOARD_CC2530EB_REV13和HAL_BOARD_CC2530EB_REV17是指开发板的不同版本型号,

请参考

  • AN086 -- Using CC2591 Front End with CC2530 and CC2531 (Rev. A) 
    • AN078 -- TIMAC and Z-Stack Modifications for using CC2591 RF Front End with CC2

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top