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.

CC2530: HAL_PA_LNA in Z-Stack3.0.1

Part Number: CC2530
Other Parts Discussed in Thread: CSD, CC2592, Z-STACK, CC2591, CC2590

Hello everyone,

I am upgrading my project from z-stack2.5.1.a to z-stack3.0.1.

My end device consist of CC2530 + RFX2401.

I am using P1.1(for RXEN) and P1.2(for TXEN).

I did set #define HAL_PA_LNA and In mac_radio_defs.c

if (paLnaChip == PA_LNA_SE2431L)
{
/* CPS or P0_7 maps closely to the HGM line */
HAL_PA_LNA_RX_HGM();

/* EN or CSD line is controlled via software so setting it high here to start the SE2431L frontend */
HAL_PA_LNA_RX_CSD_HIGH();

/* CTX or P1_1 maps closely to PAEN */
RFC_OBS_CTRL0 = RFC_OBS_CTRL_PA_PD_INV;
OBSSEL1 = OBSSEL_OBS_CTRL0;
}
else if(paLnaChip == PA_LNA_CC2592)
{
/* P1_1 -> PAEN */
RFC_OBS_CTRL0 = RFC_OBS_CTRL_PA_PD_INV;
OBSSEL1 = OBSSEL_OBS_CTRL0;

/* P1_0 -> EN (LNA control) */
RFC_OBS_CTRL1 = RFC_OBS_CTRL_LNAMIX_PD_INV;
OBSSEL0 = OBSSEL_OBS_CTRL1;
}
else
{
/* P1_1 -> PAEN */
RFC_OBS_CTRL0 = RFC_OBS_CTRL_PA_PD_INV;
OBSSEL1 = OBSSEL_OBS_CTRL0;

/* P1_2 -> EN (LNA control) */
RFC_OBS_CTRL1 = RFC_OBS_CTRL_LNAMIX_PD_INV;
OBSSEL2 = OBSSEL_OBS_CTRL1;
}

Then I have one issue.

I think that RF Amplifier don't work.

Because I captured packet of coordinator with packet sniffer , LQI of packet is 5 ~ 30.

I attached sniffer log file.

sniffer_log30.psd

Please help me.

Thanks in advance.

Piao