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.

Z-Stack changes for CC2592 + CC2530

Other Parts Discussed in Thread: CC2591, CC2592, Z-STACK, CC2530, CC2538, CC2590, CC2538-CC2592EMK, CC2530-CC2591EM-RD, CC2538-CC2592EM-RD

Hello,

   I was very happy to see that the CC2592 is RTM, and I look forward to using it instead of the @#$%# CC2591. When using the CC2530 with CC2591, in Z-Stack (v. 2.5.1) normally you #define HAL_PA_LNA and the correct TXPOWER table is loaded. Is that same table valid with the CC2530 + CC2592? I read the app note:

AN130 - Using CC2592 Front End With CC2538

But obviously that is for the CC2538, not the CC2592. Are any other changes required to the Z-Stack for using the CC2592?

Thanks,

Derek

  • Hello Derek9531,

    There should not be any special requirements for using the CC2592 with the CC2530.  On page 9 of the Datasheet, there is an example circuit provided.

    The only difference I can see is the Tx power level options available to the CC253x and CC254x devices versus the CC2538.  You would only be able to set it to the ones listed in the CC2530 datasheet.

    Thanks,

  • Hi Derek,

    the logic to control the CC2592 is the same as other FEM, so HAL_PA_LNA flag is the compilation flag that enables the logic and provides for the same functionality as for the CC2590/2591 FEM.

    As for the power tables, though nominal values could be inferred from the Tx power levels of the CC2530 device and CC2592 datasheet as greenja mentioned, they should however be characterized per each design for accurate numbers. This is our recommendation to customers.

    We measure and characterize those values as reference on the ref boards we design, in this case http://www.ti.com/tool/cc2538-cc2592emk.

    I can't comment too much on public forum in regards to what is on our roadmap for reference designs with CC2592 but as usual if you are interested in getting to know more about this, please get in touch with a local TI contact and they will be able to respond.

    Thanks,

    TheDarkSide 

  • Hi,

    When I set HAL_PA_LNA flag as you explain, Zstack automatically manage the control signals of the CC2592 via P1_0 and P1_1 from the CC2530? Or must I write a software routine to do it?

    Is there any Application Note describing the software considerations of the CC2530+CC2592 combination?

    Thanks for your attention!

    Flavio

  • Hi,

    when you set the HAL_PA_LNA flag Z-stack automatically manage the control signals of PA and LNA.

    However, i need to rectify my previous statement as Z-stack automatically maps the control pins to P1.1 and P1.4.

    I noticed that the CC2592 datasheet recommends using P1.0 as LNA_EN pin instead of P1.4.

    Next versions of Z-stack will have that configured properly for CC2592 connection with probably another compilation flag but if you want to re-use the same HAL_PA_LNA compil flag you just need to change one line of code

    Instead of 

    OBSSEL4       = OBSSEL_OBS_CTRL1;

    use 

    OBSSEL0       = OBSSEL_OBS_CTRL1;

    in macRadioTurnOnPower() function.

    Thanks,

    TheDarkSide

  • I have one doubt about using the CC2592 with CC2538.

    To use it properly I know that compile flag HAL_PA_LNA must be set. But after reading swra447 in table 11 appears the radio setting configuration recomended for the CC2538, atached in the image.

    But looking at the code inside the Home Automation 1.2.0 in ‘mac_radio_defs.c’ file I have found that

    RFC_OBS_CTRL0 is set to value 0x68UL (define RFC_OBS_CTRL_PA_PD_INV) and RFC_OBS_CTRL1 is set to value 0x6AUL (define RFC_OBS_CTRL_LNAMIX_PD_INV). Which one is the right value or configuration?

     To use the CC2592 with CC2538 the only thing that is needed is to define HAL_PA_LNA flag? (using same connection schema of the reference design) 

    Thanks in advance for your help!

  • Hello David,

    Both the values are correct. In the application note from the Table 11. 

    EN is driven by PC2, and CCTEST_OBBSEL2 is set to 0x80. Which means that PC2 will drive the RFC_OBS_CTRL0. Which has value of 0x6A. So the line controlling the EN in the application note uses 0x6A

    Same value is assigned to the PC2 in the file mac_radio_defs.c. 

    /* PC2 -> EN (LNA control) */
    RFC_OBS_CTRL1 = RFC_OBS_CTRL_LNAMIX_PD_INV; //0x6A
    OBSSEL2 = OBSSEL_OBS_CTRL1;

    Same logic then applies to the line controlling the PA_EN.

    Yes, you have to enabled the HAL_PA_LNA flag. And as TheDarkSide suggested above 

    " As for the power tables, though nominal values could be inferred from the Tx power levels of the CC2538 device and CC2592 datasheet as greenja mentioned, they should however be characterized per each design for accurate numbers. This is our recommendation to customers.

    We measure and characterize those values as reference on the ref boards we design, in this case http://www.ti.com/tool/cc2538-cc2592emk."

    Hope this helps. 

  • Hi once more,

    In order to design a PCB with CC2530 and CC2592 I would like to know if there is any reference design for the CC2530 & CC2592. Does the reference design of the CC2538 & CC2592 apply for this purpose? (RF connection between micro, amplifier and antenna)

    Thanks in advance for your help. 

  • For CC2530-CC2592, it is similar to CC2530-CC2591 and you can refer to http://www.ti.com/tool/CC2530-CC2591EM-RD.

    For CC2538-CC2592, yuo can refer to http://www.ti.com/tool/cc2538-cc2592em-rd

  • I have downloaded both reference designs.

    Looking to the datasheet of the CC2592 you can see an example for connecting the CC2592 device to a CC25xx device that is a bit different from the one suggested for hte CC2591 so I would like to know which reference design from those you have suggested is better to use to design the PCB with CC2530 and CC2592. Thanks once more.

  • You can refer to schematic on page 13 of CC2592.pdf

  • I have seen it, but I am looking for a reference design to see the rf pads and how to route them in the PCB. Is there anybody from Texas that can helps?

    For a CC2530+CC2592 PCB design which is the reference design that must be take in account? Thanks!

  • Hello David,

    Please refer to the CC2538 and CC2592 reference design for RF matching components and layout for your CC2530+CC2592 PCB design. The digital control signals from CC2530 to CC2592 needs to be as per the application circuit example on page 13 of CC2592 datasheet. 

    Regards,

  • Thanks SVS!

  • Hi, DarkSide

    can you tell me  to use cc2592 with cc2530, may  the PA 's  HGM pin be connected to P1_7 instead of  P0_7  since I have use P0_7 for my own peripheral ?

    how to define macRadioDefsTxPwr , macRadioDefsRssiAdj  tables for  cc2592 ?

    thanks

  • Hi dongpeng,

    If you use P1_7 instead of P0_7, you can change the following define to P1_7 in mac_radio_defs.h

    #define HAL_PA_LNA_RX_HGM()                           st( P0_7 = 1; )
    #define HAL_PA_LNA_RX_LGM()                           st( P0_7 = 0; )