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.

协议栈使用PA

Other Parts Discussed in Thread: CC2590, CC2530, CC2531, CC2591, TIMAC, Z-STACK

使用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