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 with cc2590 using 2.4.0 stack

Other Parts Discussed in Thread: CC2530, CC2590

I cannot get PAEN and EN signals out of the 2530 to properly handle the 2590, they are both high all the time. I can run xmit receive tests via RF studio successfully and all looks good, low error rates and good transmissions ranges. I am using P1_5 as the connection to EN on the 2590 and P1_2 as the connection to PAEN.  The following setting are used within are code and these values are also used within RF Studio: RFC_OBS_CTRL0 = 0x068; OBSSEL2 = 0xFB;  RFC_OBS_CTRL1 = 0x6A; OBSSEL5 = 0xFC;  I am also using the HAL_PA_LNA_2590 compiler option.  I can connect two devices but the power is very power and the connection range is not even 10 feet.  I verified that the PAEN and EN signals are both high(the not allowed section of the truth table for these signals).  I searched other postings on this topic and found about 1/2 a dozen but not a one that had any resolution, and so I type here.  I'd appreciate any comments any readers may have, Thanks.

  • Hi Dan,

    What is the module controlling PAEN and EN signal.

    It looks like the configuration of these pins is wrong, or the

    configuration is right but the output isn't toggled as it should be.

  • Igor, you are correct in that our h/w configuration is PAEN on P1_2 and EN on P1_5.  Its what worked out best for our h/w design.  I am told by TI personnel that this should work but does not, wanted to see if others were experiencing this.  Thanks for your comment.

  • There are 3 control signals on the CC2590 (PAEN, EN, and HGM). PAEN and EN must connect to the CC2530 to P1_0 - P1_5 because those are the only port pins where the hardware observation signals can be brought out to. The HGM control can be connected to any available port pin on the CC2530.

    By default the TI-MAC assumes you've connected PAEN to P1_1 and EN to PA1_4. The IO pin configuration for that is in mac_radio_defs.c. I believe this code snipit will configure the pins as you need:

     

        /* (Re-)Configure PA and LNA control signals to RF frontend chips.
        * Note that The register values are not retained during sleep.
        */
    #if defined( DAN_SPACEK_BUILD )
        /* P1_2 -> PAEN */
        RFC_OBS_CTRL0 = RFC_OBS_CTRL_PA_PD_INV;
        OBSSEL2       = OBSSEL_OBS_CTRL0;

        /* P1_5 -> EN (LNA control) */
        RFC_OBS_CTRL1 = RFC_OBS_CTRL_LNAMIX_PD_INV;
        OBSSEL5       = OBSSEL_OBS_CTRL1;
    #else
        /* 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;
    #endif

    Also make sure you've defined HAL_PA_LNA_CC2590 as a preprocessor define

     

     

  • I found that the issue was not restoring the 4 registers when returning from Sleep mode.  I had covered but not all of these situations.  The destruction of these register values during sleep mode is buried pretty well in the literature.

    Thanks to all,

    Dan

  • hello sir,

     i'm currently working on 2530 +2590 + the antenna. i would been grateful to u if could u please help me out wit the hardware design(application ckt) of 2530 wit 2590? and the best suited antenna.. in this set up i wish to increase the range.

    thanks 

  • TI has a good app note on connecting up the 2590 to the 2530.

    http://www.ti.com/lit/an/swra375/swra375.pdf