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.
Hi,
I am using Z-Stack Home 1.2.2a.44539 and I following the wiki : http://processors.wiki.ti.com/index.php/Enabling_the_Support_of_CC259x_PA/LNA_with_Z-Stack-Home-Automation-1.2.1
e2e.ti.com/.../6758.Z_2D00_Stack-Monitor-and-Test-API.pdf
However, when I do connection between the coordination and the client, the distance for connection is so short (smaller than 5 cm).
Can you suggest me what is the problem here?
Best regards,
Kien.
Hello,
There are 3 pins that are used to control the PA/LNA:
Name | Signal Name | A2530 Pin | CC2530 Pin Name |
---|---|---|---|
EN | LNA On | 7 | P1_3 |
HGM | PA/LNA High Gain Mode | 12 | P0_7 |
PAEN | PA On | 9 | P1_1 |
The A2530 is the Anaren A2530 module which is based on the CC2530ZNP but with some bugs fixed by yours truly. :)
Here's where the fun begins: P1.3 was not properly configured in the stack for PA/LNA control. They may have fixed it, but you should check. I had to manually fix this for the Anaren module.
//OLD /* P1_4 -> EN (LNA control) */ // RFC_OBS_CTRL1 = RFC_OBS_CTRL_LNAMIX_PD_INV; // OBSSEL4 = OBSSEL_OBS_CTRL1; //NEW /* P1_3 -> EN (LNA control) */ RFC_OBS_CTRL1 = RFC_OBS_CTRL_LNAMIX_PD_INV; OBSSEL3 = OBSSEL_OBS_CTRL1;
Hi all,
If you use Z-stack Home 1.2.2a44539 for ZNP that hal_board_cfg.h must be modify.
Because of hal_board_cfg.h don't define HAL_PA_LNA_CC2592 and that will run wrong HAL_BOARD_INIT()
Please add below
and
That will mapping to right HAL_BOARD_INIT() to set PA/LNA HGM control P0_7 and setup RF frontend through HAL_BOARD_RF_FRONTEND_SETUP();
Thank you.
Best Regards,
Ethan Chen
Hi Kien,
It's great. Actually TI this version stack totally project have define for CC2592 beside of ZNP.
I can recommend TI to add this part with next version.
Thanks your verify.