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+CC2591: PAEN doesn't function (Z-Stack library)

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

Hi all,

 

I'm using my own design with a CC2530 and a CC2591 onto. I used the same pins than the reference design to interconnect both chips.

When I use the GenericApp example from Z-Stack and I compile it with the option "HAL_PA_LNA" and without the HAL_LED and HAL_LCD stuff, the HGM pin and EN pin are working fine, but the PAEN pin is always 0. That's still a little problem, because with PAEN always to 0, I can't send data packets to the coordinator (my own card is defined as End device).

When I manually set PAEN to 1, there is no problem (so it can't be an electrical problem). And when I set both pin EN and PAEN to 0, my packets are sent and received correctly, so the code for data transfers functions well and the card sends data packets.

It seems to be initialized correctly (when placing a breakpoint the code stops here):

    /* P1_1 -> PAEN */
    RFC_OBS_CTRL0 = RFC_OBS_CTRL_PA_PD_INV;
    OBSSEL1       = OBSSEL_OBS_CTRL0;

    /* P1_4 -> EN (LNA control) */
    RFC_OBS_CTRL1 = RFC_OBS_CTRL_LNAMIX_PD_INV;
    OBSSEL4       = OBSSEL_OBS_CTRL1;

with all values like suggested in the application note AN086.

Does somebody know how I could make function the PAEN pin? Maybe it is used by another module (Timer 1 or 4) but I didn't found any part of code using the pin P1_1 for another use than the interconnection to CC2591.

Maybe I could change the pin manually to 1, but where should I place this code?

 

Thanks in advance,

 

Tobias

  • Does anybody has an idea?

  • I am facing the same problem mentioned above. I'm using my own design with a CC2530 and a CC2591 and I used the same pins suggested in the reference design to interconnect both chips. I've defined "HAL_PA_LNA" and set HAL_LCD= FALSE. This device is configuration as the End Device.

    Using this setup, I am unable to communicate with the Evaluation board (RF05B) which acts as the coordinator.

    However, using Smart RF Programmer, I am able to send and receive the packets between these two devices. And the pins (PA_EN and EN) are working fine.