• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Low Power RF & Wireless Connectivity » Low Power RF ZigBee® Software & IEEE 802.15.4 Forum » Help needed cc2530 + cc2591
Share
Low Power RF & Wireless Connectivity
  • Forums
  • Announcements
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS

Forums

Help needed cc2530 + cc2591

This question is not answered
Amitlobo
Posted by Amitlobo
on Apr 27 2012 04:18 AM
Prodigy70 points

Hi all,

I am trying to make CC2530 work with CC2591,but no success.Please can someone help me look into the problem and tell me what wrong I am doing.
 
My work details are
 
1> I am using Zsatck 2.5.0.
2> Software changes done are :Enabled HAL_PA_LNA switch,also changed my PAEN(OBSSEL2) & EN(OBSSEL3) according to hardware(P1_2 & P1_3),and using 0_7 as HGM  & LGM.The RFC_OBS_CTRLx register are default with the values given in the stack.
 
When I build and run the project,I get the device type as cordinator but dont see any beacon request packets(on packet sniffer running on separate module) sent by cordinator.
Please note that the same project runs well when without CC2591 support and reverting back the above mentioned software changes.
 
My hardware design team has not design the hardware according to the TI reference design,its a two layer board with some components missing.When asked about their design they said that they took help from a vendor company of TI.I have attached the sch here and please let me know the complications
that I might face with the hardware design.
 
 
Thanks for reading my mail.

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Chatto
    Posted by Chatto
    on Apr 27 2012 09:52 AM
    Genius10010 points

    Is it possible for you to send the schematic in a pdf form?

    ---------------------------------------------------------------------------------------------------------
    Please click the Verify Answer
     button on this post if it answers your question.
    ---------------------------------------------------------------------------------------------------------

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Amitlobo
    Posted by Amitlobo
    on Apr 29 2012 08:47 AM
    Prodigy70 points
    Sch-3.pdf

    7217.Sch-3.pdfPlease find that attached and its only schematic.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • YiKai Chen
    Posted by YiKai Chen
    on Apr 30 2012 04:59 AM
    Mastermind9520 points

    Hi,

    Suggest you to change you schematic to use P1_1 (PA_EN) and P1_4(LNA_EN) as described in TI swra308a. It will be easier for SW to use CC2590/CC2591 just by define HAL_PA_LNA_CC2590 or HAL_PA_LNA.

    Regards!

    YK Chen

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Brian Costabile
    Posted by Brian Costabile
    on Apr 30 2012 12:48 PM
    Intellectual260 points

    There was another very similar question asked that I replied to earlier

     

    http://e2e.ti.com/support/low_power_rf/f/158/t/183069.aspx

     

    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. Define HAL_PA_LNA_CC2591 and modify the OBS registers. As Dan found out, the OBS registers reset in low power mode so you need to reconfigure them when/if you exit low power mode. I don't believe the HGM control is used by the stack so you need to control that from your application.

    Try this modification in mac_radio_defs.c:

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

    /* P1_3 -> EN (LNA control) */
    RFC_OBS_CTRL1 = RFC_OBS_CTRL_LNAMIX_PD_INV;
    OBSSEL3 = 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

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Amitlobo
    Posted by Amitlobo
    on Apr 30 2012 23:00 PM
    Prodigy70 points

    I have done the above modifications,but have missed the reconfiguration part of the registers after sleep mode.

    Let me try this and then come back to you.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Amitlobo
    Posted by Amitlobo
    on May 01 2012 21:14 PM
    Prodigy70 points

    To make things easier,I decided not to use my code and usage RF studio instead.

    These are the settings I did on RF studio
    REGISTER VIEW SETTINGS.
    1.RFC_OBS_CTRL0=0x68
    2.RFC_OBS_CTRL1=0x6a
    3.OBSSEL2=FB
    4.OBSSEL3=FC
    Other settings are Frequency =2405MHz,Channel=0x0b,Tx power= tried 19 & 21dBm.
    Range extender=cc2591,selected high gain mode and used packet RX mode operation(u der expert mode)
    My test were after the start operation.
    Check whether PAEN low-found low on oscilloscope 
    Check whether EN high-found high on oscilloscope 
    Check 0_7 pin high-found high on oscilloscope 
    Then I started couple of other nodes that were configured in router mode to see if I get any packets on RF studio.But failed and wasn't  able to get any proper  packets detected instantly.
    After a wait of long time(almost 5mins)I got 3 packets with 114 CRC error,and doesn't mean anything related to the current session of the network.If  needed then I can post the packets.
    Then in stop mode operation,the pins PAEN and EN were found low which signifies power down mode.
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ilya Averin
    Posted by Ilya Averin
    on May 02 2012 00:38 AM
    Expert1600 points

    Hi Amitlobo,

    I think the problem is on the Tx side - you wrote the other (Tx?) nodes were configured as routers. Did you control them directly via RF Studio?

    Cheers,

    Ilya

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Amitlobo
    Posted by Amitlobo
    on May 02 2012 04:07 AM
    Prodigy70 points

    Hi Averin,

    The two routers that I used here are running flash burned router configured software,and are not controlled by RF studio.And these are the modules

    that have come with development kit.Also i have tested them and they are working fine with the configured software.

    The problem is on my company designed board,when used along with RF studio and run in continuous Receive mode.I don't get any packets sent by the routers

    By default I should get the packets but it doesn't seem though.

    Hope I have clarified 

    Thanks 

    Amit

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Ilya Averin
    Posted by Ilya Averin
    on May 02 2012 05:41 AM
    Expert1600 points

    Amit,

    Did you try to run RF Studio in Rx Packet mode?

    Also, Tx and Rx frequency channels must be the same - it might be useful to check how the preinstalled (router) software selects the channel.

    Another way to check your hardware is to measure the output power using spectrum analyzer and RF Studio in continuous Tx  mode.

    Regards,

    Ilya

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use